nrfxlib API 2.8.99
|
uint8_t sdc_hci_cmd_le_set_default_subrate | ( | const sdc_hci_cmd_le_set_default_subrate_t * | p_params | ) |
#include <softdevice_controller/include/sdc_hci_cmd_le.h>
LE Set Default Subrate.
The description below is extracted from Core_v6.0, Vol 4, Part E, Section 7.8.123
The HCI_LE_Set_Default_Subrate command is used by the Host to set the initial values for the acceptable parameters for subrating requests, as defined by the HCI_LE Subrate_Request command (see Section 7.8.124), for all future ACL connections where the Controller is the Central. This command does not affect any existing connection.
The parameters have the same meanings as those in the HCI_LE_Subrate_Request command.
If the Host issues this command with Subrate_Max × (Max_Latency + 1) greater than 500, then the Controller shall return the error code Invalid HCI Command Parameters (0x12).
If the Host issues this command with Subrate_Max less than Subrate_Min, then the Controller shall return the error code Invalid HCI Command Parameters (0x12).
If the Host issues this command with Continuation_Number greater than or equal to Subrate_Max, then the Controller shall return the error code Invalid HCI Command Parameters (0x12).
Event(s) generated (unless masked away): When the Controller receives the HCI_LE_Set_Default_Subrate command, the Controller sends the HCI_Command_Complete event to the Host.
[in] | p_params | Input parameters. |
0 | if success. |