1.2.2.1.4.4.2 BLE_SMP_AcceptPairingRequest

C

uint16_t BLE_SMP_AcceptPairingRequest(uint16_t connHandle);

Description

Accept the pairing request.

Events generated

This API is called during pairing procedure, please see the events generated of BLE_SMP_InitiatePairing.

Parameters

ParameterDescription
[in] connHandleConnection handle associated with this connection.

Return values

Return valueDescription
MBA_RES_SUCCESSSuccessfully issue pairing response with accept parameter.
MBA_RES_INVALID_PARAThe parameter is invalid.