- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
As Bluetooth specification, there are 4 type of address.
According to before question and my testing, I already known how to set 3 type of address, but non-resolvable private address.
Is there any any possible to set advertising address with non-resolvable private address?
1. for public address
wiced_bt_ble_enable_privacy ( WICED_FALSE );
wiced_bt_start_advertisements( BTM_BLE_ADVERT_UNDIRECTED_HIGH, BLE_ADDR_PUBLIC, NULL );
2. for random static address
wiced_bt_ble_enable_privacy ( WICED_FALSE );
uint8_t address[6] = {0, 0,0, 0,0 ,0};
wiced_bt_set_local_bdaddr( address , BLE_ADDR_RANDOM); top two bits will be force write
wiced_bt_start_advertisements( BTM_BLE_ADVERT_UNDIRECTED_HIGH, BLE_ADDR_RANDOM, NULL );
3. for non-resolvable private address /*****I don't know how*****/
4. for resolvable private address
wiced_bt_ble_enable_privacy ( WICED_TRUE );
wiced_bt_start_advertisements( BTM_BLE_ADVERT_UNDIRECTED_HIGH, BLE_ADDR_RANDOM, NULL );
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @adam
The set address API will enforce to set a static random address if BLE_ADDR_RANDOM is passed.
Can you please let me know what is the use case for using Non-resolvable private address in your application?
Thanks,
Anjana
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @adam
The set address API will enforce to set a static random address if BLE_ADDR_RANDOM is passed.
Can you please let me know what is the use case for using Non-resolvable private address in your application?
Thanks,
Anjana
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @AnjanaM_61 ,
Actually, I don't use Non-resolvable private address in my case now.
I only curious about how to set it, maybe I will use Non-resolvable private address in the future.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello @adam
Currently we don't have this option. We have requested software team internally to add a new API for the same.
Regards,
Anjana