Generic Advertising Configuration FlagsAdvertiser#

Macros#


#define | SL_BT_ADVERTISER_USE_NONRESOLVABLE_ADDRESS 0x4

#define | SL_BT_ADVERTISER_USE_DEVICE_IDENTITY_IN_PRIVACY 0x10

Detailed Description#

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 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 the 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.

◆ SL_BT_ADVERTISER_USE_DEVICE_IDENTITY_IN_PRIVACY#

#define SL_BT_ADVERTISER_USE_DEVICE_IDENTITY_IN_PRIVACY 0x10#

Use the device identity address when the 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 the 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.