Hi, How to get the local Bluetooth MAC address of nrf5340?
Hi, How to get the local Bluetooth MAC address of nrf5340?
Hi,
The default static bluetooth address is stored in the DEVICEADDR registers in FICR. You can read directly from there, or use bt_read_static_addr().
Thanks!This is the correct answer.
Another option:
#include <bluetooth/addr.h>
#include <bluetooth/bluetooth.h>
bt_addr_le_t addr;
size_t id_count = 1;
bt_id_get(&addr, &id_count);
I have a problem related to this question