nrfxlib API 2.8.99
|
uint8_t sdc_hci_cmd_vs_periodic_adv_event_length_set | ( | const sdc_hci_cmd_vs_periodic_adv_event_length_set_t * | p_params | ) |
#include <softdevice_controller/include/sdc_hci_vs.h>
Set event length for periodic advertisers.
Set the allocated event length for new periodic advertisers. The SoftDevice Controller will ensure that the anchor points of periodic advertising events are spaced event_length_us apart. If the advertiser requires less time to transmit all the data, the distance to the next scheduling activity will still be equal to the configured event length. If the advertiser requires more time to transmit all the data, scheduling conflicts may occur.
This API must be called before configuring a periodic advertiser for the event length to be applied.
The default event length is 7500 us.
The configured value is retained after issuing an HCI Reset command.
Event(s) generated (unless masked away): When the command has completed, an HCI_Command_Complete event shall be generated.
[in] | p_params | Input parameters. |
0 | if success. |