Announcements
IMPORTANT: Cypress Developer Community is transitioning on October 20th. To learn more and be prepared for this change, check out our latest announcement.
cancel
Showing results for 
Search instead for 
Did you mean: 

WICED Studio Bluetooth

jksong
New Contributor

Hello.

I'm using WICED-Studio-6.2.1 for CYW20706.

Is there API for get random generated mac address??

I already called 'wiced_bt_dev_read_local_addr()' after 'wiced_bt_stack_init()'
but it showed me just local address that defined in 'CYW920706WCDEVAL_SFLASG.btp' like 20:70:6A:20:XX:XX

How can I get mac address that showed on BLE scanner APP (Like nRF Connect)
I want to get that address and print on my terminal.

 

0 Likes
1 Solution
DheerajPK_41
Moderator
Moderator

Hi,

Please try to user BT_DEVICE_ADDRESS?=random in the make target string.

 

Also, please refer below link to generate random address from the application and save it into nvram.

https://community.cypress.com/t5/ModusToolbox-Blog/How-to-generate-BD-address-randomly-and-save-in-f...

 

Thanks,

-Dheeraj.P.K

View solution in original post

0 Likes
1 Reply
DheerajPK_41
Moderator
Moderator

Hi,

Please try to user BT_DEVICE_ADDRESS?=random in the make target string.

 

Also, please refer below link to generate random address from the application and save it into nvram.

https://community.cypress.com/t5/ModusToolbox-Blog/How-to-generate-BD-address-randomly-and-save-in-f...

 

Thanks,

-Dheeraj.P.K

View solution in original post

0 Likes