nrfxlib API 0.1.0
Loading...
Searching...
No Matches

◆ sdc_hci_cmd_vs_compat_mode_window_offset_set()

uint8_t sdc_hci_cmd_vs_compat_mode_window_offset_set ( const sdc_hci_cmd_vs_compat_mode_window_offset_set_t p_params)

#include <softdevice_controller/include/sdc_hci_vs.h>

Set Compatibility mode for window offset.

This compatibility mode enables interoperability with devices that do not support a value of 0 for the WinOffset parameter in the Link Layer CONNECT_IND packet. This applies to a limited set of legacy peripheral devices from a limited set of vendors. Enabling this compatibility mode will only have an effect if the local device will act as a central device and initiate a connection to a peripheral device. In that case it may lead to the connection creation taking up to one connection interval longer to complete for all connections.

The configured value is retained after issuing an HCI Reset command.

By default this mode is disabled.

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.