This is the documentation for the latest (main) development branch of Zephyr. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.

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. By not scanning with the
identity address the scanner will receive directed advertise reports
for for the local identity. If this use case is required, 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:497

Included via Kconfig:8Kconfig.zephyr:42subsys/Kconfig:9subsys/bluetooth/Kconfig:313

Menu path: (Top) → Sub Systems and OS Services → 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. By not scanning with the
      identity address the scanner will receive directed advertise reports
      for for the local identity. If this use case is required, then enable
      this option.

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