BLE_GAP_GetDeviceAddr
C
uint16_t BLE_GAP_GetDeviceAddr(BLE_GAP_Addr_T *p_addr);
Description
Retrieves the current Bluetooth device address.
Parameters
Parameter | Description |
---|---|
[out] p_addr | Pointer to the device address buffer. |
Return values
Return value | Description |
---|---|
MBA_RES_SUCCESS | Successfully retrieved the device address. |
MBA_RES_OOM | Internal memory allocation failure occurred. |