BLE_SMP_RejectPairingRequest
C
uint16_t BLE_SMP_RejectPairingRequest(uint16_t connHandle);Description
Reject the pairing request.
Note
This API should be called to reject 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 reject parameter. | 
| MBA_RES_INVALID_PARA | The parameter is invalid. | 
