![]() |
nrfxlib API 3.3.99
|
| uint8_t sdc_hci_cmd_le_set_default_rate_params | ( | const sdc_hci_cmd_le_set_default_rate_params_t * | p_params | ) |
#include <softdevice_controller/include/sdc_hci_cmd_le.h>
LE Set Default Rate Parameters.
The description below is extracted from Core_v6.3, Vol 4, Part E, Section 7.8.155
This command is used by the Host to set the initial values of the acceptable parameters for the Connection Rate Request procedure for all future ACL connections where the Controller is Central. The command does not affect any existing connection.
The parameters have the same meanings as those in the HCI_LE_Connection_Rate_Request command (see Section 7.8.154).
Errors:
See Section 4.5.2 for a list of error types and descriptions.
Type Condition Error Code
MC Subrate_Max × (Max_Latency + 1) is greater than 500. Invalid HCI Command
Parameters (0x12)
MC Connection_Interval_Max × Subrate_Max × (Max_Latency + 1) is Invalid HCI Command
greater than or equal to Supervision_Timeout × 40. Parameters (0x12)
MC Connection_Interval_Max is less than Connection_Interval_Min. Invalid HCI Command
Parameters (0x12)
MC Subrate_Max is less than Subrate_Min. Invalid HCI Command
Parameters (0x12)
MC Continuation_Number is greater than or equal to Subrate_Max. Invalid HCI Command
Parameters (0x12)
MC Max_CE_Length is less than Min_CE_Length Invalid HCI Command
Parameters (0x12)
Event(s) generated (unless masked away):
When the Controller receives the HCI_LE_Set_Default_Rate_Parameters command, the Controller shall send the HCI_Command_Complete event to the Host.
| [in] | p_params | Input parameters. |
| 0 | if success. |