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