nrfxlib API 0.1.0
Loading...
Searching...
No Matches

◆ sdc_hci_cmd_le_conn_cte_response_enable()

uint8_t sdc_hci_cmd_le_conn_cte_response_enable ( const sdc_hci_cmd_le_conn_cte_response_enable_t p_params,
sdc_hci_cmd_le_conn_cte_response_enable_return_t p_return 
)

#include <softdevice_controller/include/sdc_hci_cmd_le.h>

LE Connection CTE Response Enable.

The description below is extracted from Core_v5.4, Vol 4, Part E, Section 7.8.86

The HCI_LE_Connection_CTE_Response_Enable command is used to request the Controller to respond to LL_CTE_REQ PDUs with LL_CTE_RSP PDUs on the specified connection.

If the Host issues this command before issuing the HCI_LE_Set_Connection_- CTE_Transmit_Parameters command at least once on the connection, the Controller shall return the error code Command Disallowed (0x0C).

If the Host issues this command when the transmitter PHY for the connection is not a PHY that allows Constant Tone Extensions, the Controller shall return the error code Command Disallowed (0x0C).

If the transmitter PHY for the connection changes to a PHY that does not allow Constant Tone Extensions, then the Controller shall automatically disable Constant Tone Extension responses.

Event(s) generated (unless masked away): When the HCI_LE_Connection_CTE_Response_Enable 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.