1.1.2.1.1.4.13 BLE_GAP_EncInfoReqNegativeReply
C
uint16_t BLE_GAP_EncInfoReqNegativeReply(uint16_t connHandle);
Description
Reply to an LE encrypt information request event if local device cannot provide the information.
This API is called to reply BLE_GAP_EVT_ENC_INFO_REQUEST event.
Note
This API shall be called only if device is peripheral role.
Events generated
BLE_GAP_EVT_ENCRYPT_STATUS Generated when encrypted status update.
Parameters
Parameter | Description |
---|---|
[in] connHandle | Connection handle associated with this connection. |
Return values
Return value | Description |
---|---|
MBA_RES_SUCCESS | Successfully issue a negative reply of LE encrypt information request event. |
MBA_RES_OOM | Internal memory allocation failure. |
MBA_RES_INVALID_PARA | Invalid parameters. |