- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
The random addresses generated by bt_set_static_random_bd_addr are not random enough. When doing my production tests (7boards at a time), I always have duplicates (within just 7 boards).
Any suggestion?
If not, is it legit to *distribute* devices programmed with the address generated by the SDK : "20736A1****"? Or in this case do I need to register a Comapny ID to the BT council? (I want to avoid this)
Kind regards,
Arthur
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I dug into this one a little bit and I found that our random number generator is a HW block introducing actual entropy into the API. Not pseudo-random as I had said before.
Additionally, I found that you may prevent possible duplicate numbers by postponing your call to the random generator (set random addr) to as late a time as possible in your firmware. Issues could present if the HW RNG doesn't have enough time to warm up.
Jacob