1.1.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
Parameter | Description |
---|---|
[in] connHandle | Connection handle associated with this connection. |
Return values
Return value | Description |
---|---|
MBA_RES_SUCCESS | Successfully reject security request issued by peer device. |
MBA_RES_INVALID_PARA | The parameter is invalid. |