BLE_SMP_AcceptPairingRequest
C
uint16_t BLE_SMP_AcceptPairingRequest(uint16_t connHandle);Description
Accepts a pairing request.
Note
This function should be called to proceed with the pairing process when the BLE_SMP_EVT_PAIRING_REQUEST event is received.
Events generated
Refer to the events generated by BLE_SMP_InitiatePairing for the pairing procedure context.
Parameters
| Parameter | Description |
|---|---|
| [in] connHandle | Connection handle associated with this connection. |
Return values
| Return value | Description |
|---|---|
| MBA_RES_SUCCESS | Pairing response issued with acceptance. |
| MBA_RES_INVALID_PARA | The parameter is invalid. |
