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

◆ sdc_hci_cmd_vs_cig_reserved_time_set()

uint8_t sdc_hci_cmd_vs_cig_reserved_time_set ( const sdc_hci_cmd_vs_cig_reserved_time_set_t p_params)

#include <softdevice_controller/include/sdc_hci_vs.h>

Set the default CIG reserved time.

This vendor specific command changes the time reserved each ISO interval for other roles. This applies to all CIGs created after calling this command. For example, if the reserved time is set to 2.5 ms and the ISO interval is 10 ms, the controller may select CIG parameters such that 2.5 ms is reserved for an ACL connection and the remaining 7.5 ms is used for the CIG. Note, when multiple CIGs are used the user needs to ensure that the initial CIG reserves time for the remaining CIGs.

The default value is 1300 us, but can be set to between 0 us and 4,000,000 us. The configured value is retained after issuing an HCI Reset command.

If the value is set such that it cannot be satisfied for a given set of CIG parameters, the actual reserved time may be smaller than the requested value.

Event(s) generated (unless masked away): When the 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.