nrfxlib API 2.8.99
Loading...
Searching...
No Matches

◆ sdc_hci_cmd_le_long_term_key_request_reply()

uint8_t sdc_hci_cmd_le_long_term_key_request_reply ( const sdc_hci_cmd_le_long_term_key_request_reply_t * p_params,
sdc_hci_cmd_le_long_term_key_request_reply_return_t * p_return )

#include <softdevice_controller/include/sdc_hci_cmd_le.h>

LE Long Term Key Request Reply.

The description below is extracted from Core_v6.0, Vol 4, Part E, Section 7.8.25

The HCI_LE_Long_Term_Key_Request_Reply command is used to reply to an HCI_LE_Long_Term_Key_Request event from the Controller, and specifies the Long_Term_Key parameter that shall be used for this Connection_Handle. The Long_Term_Key is used as defined in [Vol 6] Part B, Section 5.1.3.

This command shall only be used when the local device’s role is Peripheral.

Event(s) generated (unless masked away): When the HCI_LE_Long_Term_Key_Request_Reply command has completed, an HCI_Command_Complete event shall be generated.

Parameters
[in]p_paramsInput parameters.
[out]p_returnExtra return parameters.
Return values
0if success.
Returns
Returns value between 0x01-0xFF in case of error. See Vol 2, Part D, Error for a list of error codes and descriptions.