1.1.2.1.1.4.14 BLE_GAP_EncInfoReqReply

C

uint16_t BLE_GAP_EncInfoReqReply(uint16_t connHandle, uint8_t *p_ltk);

Description

Reply to an LE encrypt information request event. 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.

Parameters

ParameterDescription
[in] connHandleConnection handle associated with this connection.
[in] p_ltkPointer to 128 bit long term key (ltk).

Return values

Return valueDescription
MBA_RES_SUCCESSSuccessfully issue a reply of LE encrypt information request event.
MBA_RES_OOMInternal memory allocation failure.
MBA_RES_INVALID_PARAInvalid parameters.
MBA_RES_COMMAND_DISALLOWEDCommand disallowed.