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 <Zephyr>/subsys/bluetooth/host/Kconfig:553

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:34<Zephyr>/subsys/Kconfig:9<Zephyr>/subsys/bluetooth/Kconfig:239

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