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
Parameter | Description |
---|---|
[in] connHandle | Connection handle associated with this connection. |
Return values
Return value | Description |
---|---|
MBA_RES_SUCCESS | Security request rejected successfully. |
MBA_RES_INVALID_PARA | The parameter is invalid. |