1.2.2.1.4.4.15 BLE_SMP_RejectSecRequest

C

uint16_t BLE_SMP_RejectSecRequest(uint16_t connHandle);

Description

Reject the security request issued by peer device.

Note

This API should be called to reject security request when receiving BLE_SMP_EVT_SECURITY_REQUEST. This API is only valid if device is central role.

Parameters

ParameterDescription
[in] connHandleConnection handle associated with this connection.

Return values

Return valueDescription
MBA_RES_SUCCESSSuccessfully reject security request issued by peer device.
MBA_RES_INVALID_PARAThe parameter is invalid.