BLE_SMP_RejectPairingRequest
C
uint16_t BLE_SMP_RejectPairingRequest(uint16_t connHandle);
Description
Rejects a pairing request.
Note
This function should be called to terminate 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 rejection. |
MBA_RES_INVALID_PARA | The parameter is invalid. |