BLE_DM_GetPairedDevice
C
uint16_t BLE_DM_GetPairedDevice(uint8_t devId, BLE_DM_PairedDevInfo_T *p_pairedDevInfo);Description
Retrieves information for a single paired device by device ID.
Parameters
| Parameter | Description |
|---|---|
| [in] devId | The device ID within the range of 0 to (Maximum paired devices - 1). |
| [out] p_pairedDevInfo | Pointer to the BLE_DM_PairedDevInfo_T structure to store the paired device information. |
Return values
| Return value | Description |
|---|---|
| MBA_RES_SUCCESS | Successfully retrieved paired device information. |
| MBA_RES_INVALID_PARA | The device ID is out of range or exceeds the number of paired devices. |
| MBA_RES_FAIL | Retrieval operation failed. |
