This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

bluetooth address : built-in or random ?

Hi I have read various things about this so I would like to confirm What is the best way to set the bluetooth address of my device ? Is it built in by nordic ? Or is it a randomly generated address ? Or should I set different addresses myself on the production line ? Thanks Thomas

  • You can read about the different address types in this thread: devzone.nordicsemi.com/.../

    Under production of the nRF51, a randomly generated address is stored in the FICR->DEVICEADDR registers (Random Static Address). They are unique for each device (due to the 2^26 different combinations). You cannot change this register.

    You can choose to use this address stored in FICR in production, or you can set your own randomly generated address (Random Static Address) with the sd_ble_gap_address_set() function (needs to be called every time the SD is initialized).

    You can also choose to register an address with the IEEE Registration Authority, and you will now have a Public Address. Then, you would also need to set this address along with the address type specification using sd_ble_gap_address_set() every time the SD is initialized

Related