nrfxlib API 0.1.0
|
uint8_t sdc_hci_cmd_vs_event_length_set | ( | const sdc_hci_cmd_vs_event_length_set_t * | p_params | ) |
#include <softdevice_controller/include/sdc_hci_vs.h>
Set event length for ACL connections.
Set the event length for new ACL connections. The event length is the time available for transmission and reception in a single connection event.
The maximum data length capabilities will be set based upon this value.
This API must be called before issuing a command to create a connection, or before starting a connectable advertiser.
The default event length is 7500 us.
The event length may be set to a value that is shorter than the time needed for a single packet pair on a given PHY. In that case the controller will reserve time for receiving 27 bytes and transmitting the number of bytes configured with sdc_hci_cmd_vs_min_val_of_max_acl_tx_payload_set().
See also sdc_hci_cmd_vs_conn_event_extend(). See also sdc_hci_cmd_vs_central_acl_event_spacing_set().
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. |