CONFIG_BT_SCAN_WITH_IDENTITY

Perform active scanning using local identity address

Type: bool

Help

Enable this if you want to perform active scanning using the local identity address as the scanner address. By default the stack will always use a non-resolvable private address (NRPA) in order to avoid disclosing local identity information. However, if the use case requires disclosing it then enable this option.

Direct dependencies

!BT_PRIVACY && (BT_CENTRAL || BT_OBSERVER) && BT_HCI_HOST && BT_HCI && BT

(Includes any dependencies from ifs and menus.)

Defaults

No defaults. Implicitly defaults to n.

Kconfig definition

At subsys/bluetooth/host/Kconfig:471

Included via Kconfig:8Kconfig.zephyr:44subsys/Kconfig:6subsys/bluetooth/Kconfig:160

Menu path: (Top) → Bluetooth

config BT_SCAN_WITH_IDENTITY
    bool "Perform active scanning using local identity address"
    depends on !BT_PRIVACY && (BT_CENTRAL || BT_OBSERVER) && BT_HCI_HOST && BT_HCI && BT
    help
      Enable this if you want to perform active scanning using the local
      identity address as the scanner address. By default the stack will
      always use a non-resolvable private address (NRPA) in order to avoid
      disclosing local identity information. However, if the use case
      requires disclosing it then enable this option.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)