BLE_SMP_RejectSecRequest

C

uint16_t BLE_SMP_RejectSecRequest(uint16_t connHandle);

Description

Rejects a security request from the peer device.

Note

This function should be invoked in response to the BLE_SMP_EVT_SECURITY_REQUEST event when the local device, operating in the central role, decides not to establish a secure connection.

Parameters

ParameterDescription
[in] connHandleConnection handle associated with this connection.

Return values

Return valueDescription
MBA_RES_SUCCESSSecurity request rejected successfully.
MBA_RES_INVALID_PARAThe parameter is invalid.