1.2.2.1.4.4.2 BLE_SMP_AcceptPairingRequest
C
uint16_t BLE_SMP_AcceptPairingRequest(uint16_t connHandle);
Description
Accept the pairing request.
Note
This API should be called to continue pairing procedure when receiving BLE_SMP_EVT_PAIRING_REQUEST.
Events generated
This API is called during pairing procedure, please see the events generated of BLE_SMP_InitiatePairing.
Parameters
Parameter | Description |
---|---|
[in] connHandle | Connection handle associated with this connection. |
Return values
Return value | Description |
---|---|
MBA_RES_SUCCESS | Successfully issue pairing response with accept parameter. |
MBA_RES_INVALID_PARA | The parameter is invalid. |