Generic Advertising Configuration Flags#

This enum defines configuration flags common for legacy and extended advertisings.

Macro Definition Documentation#

SL_BT_ADVERTISER_USE_NONRESOLVABLE_ADDRESS#

#define SL_BT_ADVERTISER_USE_NONRESOLVABLE_ADDRESS
Value:
0x4

Use a non-resolvable private address managed by the stack. The advertising must be non-connectable when using this configuration. The stack generates a non-resolvable private address for the advertising set and the stack will update the address periodically in privacy mode. By default this flag is not set, i.e., the advertising address uses the device identity address. This configuration has no effect if the advertising address has been set with the sl_bt_advertiser_set_random_address command.


Definition at line 2071 of file /mnt/raid/workspaces/ws.pY3F1RWXq/overlay/gsdk/protocol/bluetooth/build_release/bt_api/sw/bgapi/inc/sl_bt_api.h

SL_BT_ADVERTISER_USE_DEVICE_IDENTITY_IN_PRIVACY#

#define SL_BT_ADVERTISER_USE_DEVICE_IDENTITY_IN_PRIVACY
Value:
0x10

Use the device identity address when privacy mode is enabled. By default, this flag is not set, i.e., the advertising address uses a resolvable private address managed by the stack in privacy mode. This configuration has no effect if the SL_BT_ADVERTISER_USE_NONRESOLVABLE_ADDRESS flag is set or the advertising address has been set with the sl_bt_advertiser_set_random_address command.


Definition at line 2079 of file /mnt/raid/workspaces/ws.pY3F1RWXq/overlay/gsdk/protocol/bluetooth/build_release/bt_api/sw/bgapi/inc/sl_bt_api.h

SL_BT_ADVERTISER_USE_FILTER_FOR_SCAN_REQUESTS#

#define SL_BT_ADVERTISER_USE_FILTER_FOR_SCAN_REQUESTS
Value:
0x20

Use the Filter Accept List to filter scan requests received while performing scannable advertising with this advertising set. By default, this flag is not set and scan requests from all devices are processed. If the application sets this flag, scan requests are processed only from those devices that the application has added to the Filter Accept List.

This configuration is supported only when the application has included the Bluetooth component bluetooth_feature_accept_list.


Definition at line 2093 of file /mnt/raid/workspaces/ws.pY3F1RWXq/overlay/gsdk/protocol/bluetooth/build_release/bt_api/sw/bgapi/inc/sl_bt_api.h

SL_BT_ADVERTISER_USE_FILTER_FOR_CONNECTION_REQUESTS#

#define SL_BT_ADVERTISER_USE_FILTER_FOR_CONNECTION_REQUESTS
Value:
0x40

Use the Filter Accept List to filter connection requests received while performing connectable advertising with this advertising set. By default, this flag is not set and connection requests from all devices are processed. If the application sets this flag, connection requests are processed only from those devices that the application has added to the Filter Accept List.

This configuration is supported only when the application has included the Bluetooth component bluetooth_feature_accept_list.


Definition at line 2107 of file /mnt/raid/workspaces/ws.pY3F1RWXq/overlay/gsdk/protocol/bluetooth/build_release/bt_api/sw/bgapi/inc/sl_bt_api.h