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 if’s and menus.)

Defaults

No defaults. Implicitly defaults to n.

Kconfig definition

At subsys/bluetooth/host/Kconfig:346

Included via Kconfig:10Kconfig.zephyr:35subsys/Kconfig:8subsys/bluetooth/Kconfig:155

Menu path: (top menu) → Bluetooth

config BT_SCAN_WITH_IDENTITY
    bool
    prompt "Perform active scanning using local identity address" if !BT_PRIVACY && (BT_CENTRAL || BT_OBSERVER) && BT_HCI_HOST && BT_HCI && BT
    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.

(Definitions include propagated dependencies, including from if’s and menus.)