Arm Mbed OS support forum

Print BLE Public Address

Hi, i want to print BLE Public Address and here is my code

ble::own_address_type_t addr_type;
ble::address_t address;
BLE::Instance().gap().getAddress(addr_type, address);
printf("DEVICE MAC ADDRESS: ");
print_address(address);

but mac address always changing after reboot,I already disable ble privacy, how can i print the Public Mac Address ?

thank you