Hi, How to get the local Bluetooth MAC address of nrf5340?
Hi, How to get the local Bluetooth MAC address of nrf5340?
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);
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);