Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
9 years, 9 months 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?