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

ParameterDescription
[in] connHandleConnection handle associated with this connection.

Return values

Return valueDescription
MBA_RES_SUCCESSSuccessfully issues a negative response to the LE encryption information request event.
MBA_RES_OOMInternal memory allocation failure occurred.
MBA_RES_INVALID_PARAThe parameters provided are invalid.