- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'd like to implement using white list in Wiced_Smart_SDK2.1.0.
I use 2 boards, 1 is hello_sensor and the other is hello_client.
But connection looks like being done not related with bd_addr even though I put the blecm functions.
I already read the discussions
1. 20732 mac filtering possible?
2. Adding and Removing Entries from Whitelist
I modified hello_client like following
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
BLECM_SELECT ADDR list_addr[4];
UINT8 targetaddr[6] = {0x20, 0x73, 0x6A, 0x1C, 0x8C, 0xCA}; // hello_sensor bd_addr is 20736a1c9cca
void hello_client_create(void)
{
.......................
..........................
blecm_enableAddressSelection();
BT_MEMCPY(list_addr[0].addr, targetaddr,6);
list_addr[0].type = 0;
blecm_SelectAddress(list_addr, 1);
}
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
whatever I write the value in targetaddr in hello_client while the board address of hello_sensor does not change, connection is always successful.
What should I do or change in my code?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Unfortunately, the White List feature is not working correctly on the 2073XS and he do not have an ETA for when it will be fixed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Unfortunately, the White List feature is not working correctly on the 2073XS and he do not have an ETA for when it will be fixed.