nrfxlib API 3.3.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.3, Vol 4, Part E, Section 7.8.139

This 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_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.

Errors:

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

Type   Condition                                                         Error code
MC     It is less than 1 second since the previous time this command     Command Disallowed
       was executed.                                                     (0x0C)
MC     Channel_Classification enables channels that are reserved for     Invalid HCI Command
       future use or enables fewer than 15 channels.                     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.