BLE_DM_GetPairedDevice
C
uint16_t BLE_DM_GetPairedDevice(uint8_t devId, BLE_DM_PairedDevInfo_T *p_pairedDevInfo);Description
Get the single paired device information via device ID.
Parameters
| Parameter | Description | 
|---|---|
| [in] devId | The device ID. Should be in the range of 0 ~ (BLE_DM_MAX_PAIRED_DEVICE_NUM - 1). | 
| [out] p_pairedDevInfo | Pointer to BLE_DM_PairedDevInfo_T structure buffer. | 
Return values
| Return value | Description | 
|---|---|
| MBA_RES_SUCCESS | Successfully get single paired devices information. | 
| MBA_RES_INVALID_PARA | DevId exceeds the maximum range or the number of paired devices. | 
| MBA_RES_FAIL | The get operation failure. | 
