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.

Parameters

ParameterDescription
[in] connHandleConnection handle associated with this connection.

Return values

Return valueDescription
MBA_RES_SUCCESSPairing response issued with rejection.
MBA_RES_INVALID_PARAThe parameter is invalid.