CYW20706 ble address type

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
adam
Level 4
Level 4
5 solutions authored 25 replies posted 50 sign-ins

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 );

0 Likes
1 Solution
AnjanaM_61
Moderator
Moderator
Moderator
10 questions asked 5 comments on KBA First comment on KBA

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

 

View solution in original post

0 Likes
3 Replies
AnjanaM_61
Moderator
Moderator
Moderator
10 questions asked 5 comments on KBA First comment on KBA

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

 

0 Likes

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.

AnjanaM_61
Moderator
Moderator
Moderator
10 questions asked 5 comments on KBA First comment on KBA

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

0 Likes