IB_GetBdAddr Function
C
bool IB_GetBdAddr(uint8_t * p_bdAddr);
Description
This routine will get Bluetooth Device Address from IB. If there exists BDADDR IB, then it returns BDADDR stored in IB by p_Addr pointer and returns true (1). Otherwise, it returns false (0).
Note: this API is to provide Bluetooth Device Address from IB and used as initial value of Bluetooth Device Address in BLE stack. BLE application should use BLE_GAP_GetDeviceAddr API to get current Bluetooth Device Address.
Parameters
Param | Description |
---|---|
uint8_t "p_Addr" | the pointer to the memory stores BDADDR |
Returns
A boolean value, True means valid BDADDR IB