Using random address from 'blecm_set_static_random_bd_addr'

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

cross mob
hachc_2137126
Level 5
Level 5
10 likes given 5 likes given First like received

Hi,

  This is the question following Changing BD_ADDR from the application

  Regarding to victorz's description here

You shall not change device bdaddr on every reboot.

  I don't see the same expression from the BT spec as below, which is cited from section 10.8.1 of Part C. of Volume 3.

A device may choose to initialize its static address to a new value after each

power cycle. A device shall not change its static address value once initialized

until the device is power cycled.

Note: If the static address of a device is changed then the address stored in

peer devices will not be valid and the ability to reconnect using the old address

will be lost.

  So, if we need to change the BD address in every reboot, then what would be the limit of write cycle to EEPROM that storing the BD_ADDRESS, in case that we need to write it to '0xFFFFFFFFFFFF' before calling 'blecm_set_static_random_bd_addr'?

0 Likes
1 Solution
BoonT_56
Employee
Employee
500 likes received 250 likes received 100 likes received

I believe modern eeproms can support a few million write events. refer  to the manufacturer's datasheet for confirmation. and changing bdaddr within the application/api is strongly discouraged.

View solution in original post

0 Likes
6 Replies