BLE_GAP_SetDeviceAddr

C

uint16_t BLE_GAP_SetDeviceAddr(BLE_GAP_Addr_T *p_addr);

Description

Sets the Bluetooth device address (identity address).

Parameters

ParameterDescription
[in] p_addrPointer to the device address buffer.

Return values

Return valueDescription
MBA_RES_SUCCESSSuccessfully sets the device address.
MBA_RES_FAILFailed to set device address due to invalid address type or other conditions.
MBA_RES_OOMInternal memory allocation failure occurred.