BLE_GAP_EncInfoReqNegativeReply
C
uint16_t BLE_GAP_EncInfoReqNegativeReply(uint16_t connHandle);
Description
Responds negatively to an LE encryption information request event.
Note
This API should only be called in response to a BLE_GAP_EVT_ENC_INFO_REQUEST event and only if the device is in the peripheral role.
Events generated
BLE_GAP_EVT_ENCRYPT_STATUS is generated when encrypted status is updated.
Parameters
Parameter | Description |
---|---|
[in] connHandle | Connection handle associated with this connection. |
Return values
Return value | Description |
---|---|
MBA_RES_SUCCESS | Successfully issues a negative response to the LE encryption information request event. |
MBA_RES_OOM | Internal memory allocation failure occurred. |
MBA_RES_INVALID_PARA | The parameters provided are invalid. |