BLE_GAP_GetDeviceAddr

C

uint16_t BLE_GAP_GetDeviceAddr(BLE_GAP_Addr_T *p_addr);

Description

Retrieves the current Bluetooth device address.

Parameters

ParameterDescription
[out] p_addrPointer to the device address buffer.

Return values

Return valueDescription
MBA_RES_SUCCESSSuccessfully retrieved the device address.
MBA_RES_OOMInternal memory allocation failure occurred.