nrfxlib API 3.3.99
Loading...
Searching...
No Matches

◆ sdc_hci_cmd_le_cs_remove_config()

uint8_t sdc_hci_cmd_le_cs_remove_config ( const sdc_hci_cmd_le_cs_remove_config_t * p_params)

#include <softdevice_controller/include/sdc_hci_cmd_le.h>

LE CS Remove Config.

The description below is extracted from Core_v6.3, Vol 4, Part E, Section 7.8.138

This command is used to remove a CS configuration identified by Config_ID from the local Controller for the connection identified by the Connection_Handle parameter. When the Host issues this command, the local Controller shall initiate a Channel Sounding Configuration procedure to remove the CS configuration from both the local and remote device. The Controller shall also delete any CS procedure related parameters set using the HCI_LE_CS_Set_Procedure_Parameters command for the CS configuration identified by Config_ID.

Errors:

See Section 4.5.2 for a list of error types and descriptions.

Type   Condition                                         Error code
MC     Config_ID does not identify a CS configuration.   Invalid HCI Command Parameters (0x12)
MC     One or more CS procedures have been enabled.      Command Disallowed (0x0C)
MC     Connection_Handle does not identify an ACL.       Unknown Connection Identifier (0x02)

Event(s) generated (unless masked away):

When the Controller receives the HCI_LE_CS_Remove_Config command, the Controller shall send the HCI_Command_Status event to the Host. When the Controller has completed the Channel Sounding Configuration procedure to disable the configuration, the Controller shall generate an LE_CS_Config_Complete event.

Parameters
[in]p_paramsInput 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.