9 years, 1 month ago.

BLEDevice - retreiving Bluetooth MAC address

I'm trying to retrieve the MAC address of the Bluetooth chip. I know that the following method is defined under BLEDevice.h:

ble_error_t setAddress(Gap::addr_type_t type, const Gap::address_t address);

Does anyone know how to use this method to store the MAC address into a string?

Be the first to answer this question.