nrfxlib API 2.7.99
Loading...
Searching...
No Matches

◆ sdc_hci_cmd_le_cs_set_channel_classification()

uint8_t sdc_hci_cmd_le_cs_set_channel_classification ( const sdc_hci_cmd_le_cs_set_channel_classification_t p_params)

#include <softdevice_controller/include/sdc_hci_cmd_le.h>

LE CS Set Channel Classification.

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

The HCI_LE_CS_Set_Channel_Classification command is used by a Host to update the channel classification based on its local information. This channel classification persists until overwritten with a subsequent HCI_LE_CS_Set_CS_Channel_Classification command or until the Controller is reset. The Controller may combine the channel classification information provided by the Host along with local channel classification information to send an updated CS channel map to the remote Controller.

If this command is used, then the Host should send updates within 10 seconds of knowing that the CS channel classification has changed.

If the host issues this command less than 1 second after the previous time it issued this command, then the Controller shall return the error code Command Disallowed (0x0C).

If the Channel_Classification parameter enables channels that are reserved for future use or enables fewer than 15 channels, then the Controller shall return the error code Invalid HCI Command Parameters (0x12).

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

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.