CONFIG_BT_GATT_AUTO_SEC_REQ

Automatic security re-establishment request as a peripheral

Automatic security re-establishment request as a peripheral

Type: bool

Help

This option requests security re-establishment automatically whenever
a reconnection to a GATT client is established and
there are notifiable or indicatable characteristics for which security
is required. This configuration option only applies to the peripheral
role, which sends a Security Request for this purpose.
When disabled, it is the application's responsibility to call
bt_conn_set_security() to re-establish security prior to sending any
notifications or indications on the characteristics that require
security (unless the central does that first).
This option has been introduced to avoid interoperability issues with
commercially available central devices that react negatively to
receiving a Security Request immediately after reconnection.

Help

This option requests security re-establishment automatically whenever
a reconnection to a GATT client is established and
there are notifiable or indicatable characteristics for which security
is required. This configuration option only applies to the peripheral
role, which sends a Security Request for this purpose.
When disabled, it is the application's responsibility to call
bt_conn_set_security() to re-establish security prior to sending any
notifications or indications on the characteristics that require
security (unless the central does that first).
This option has been introduced to avoid interoperability issues with
commercially available central devices that react negatively to
receiving a Security Request immediately after reconnection.

Direct dependencies

(BT_SMP && BT_CONN && BT_HCI_HOST && BT_RPC_STACK) || (BT_SMP && BT_CONN && BT_HCI_HOST && BT_HCI && BT)

(Includes any dependencies from ifs and menus.)

Defaults

  • y

  • y

Kconfig definitions

At <Zephyr>/subsys/bluetooth/host/Kconfig.gatt:59

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:33<Zephyr>/modules/Kconfig:6<nRF>/doc/_build/kconfig/Kconfig.modules:2<nRF>/Kconfig.nrf:92<nRF>/subsys/Kconfig:10<nRF>/subsys/bluetooth/Kconfig:38<nRF>/subsys/bluetooth/rpc/Kconfig:196<Zephyr>/subsys/bluetooth/host/Kconfig:443

Menu path: (Top) → Modules → nrf (/home/runner/work/sdk-nrf/sdk-nrf/ncs/nrf) → Nordic nRF Connect → Bluetooth Low Energy → BLE over nRF RPC → ATT and GATT Options

config BT_GATT_AUTO_SEC_REQ
    bool "Automatic security re-establishment request as a peripheral"
    default y
    depends on BT_SMP && BT_CONN && BT_HCI_HOST && BT_RPC_STACK
    help
      This option requests security re-establishment automatically whenever
      a reconnection to a GATT client is established and
      there are notifiable or indicatable characteristics for which security
      is required. This configuration option only applies to the peripheral
      role, which sends a Security Request for this purpose.
      When disabled, it is the application's responsibility to call
      bt_conn_set_security() to re-establish security prior to sending any
      notifications or indications on the characteristics that require
      security (unless the central does that first).
      This option has been introduced to avoid interoperability issues with
      commercially available central devices that react negatively to
      receiving a Security Request immediately after reconnection.

At <Zephyr>/subsys/bluetooth/host/Kconfig.gatt:59

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:44<Zephyr>/subsys/Kconfig:9<Zephyr>/subsys/bluetooth/Kconfig:180<Zephyr>/subsys/bluetooth/host/Kconfig:443

Menu path: (Top) → Sub Systems and OS Services → Bluetooth → ATT and GATT Options

config BT_GATT_AUTO_SEC_REQ
    bool "Automatic security re-establishment request as a peripheral"
    default y
    depends on BT_SMP && BT_CONN && BT_HCI_HOST && BT_HCI && BT
    help
      This option requests security re-establishment automatically whenever
      a reconnection to a GATT client is established and
      there are notifiable or indicatable characteristics for which security
      is required. This configuration option only applies to the peripheral
      role, which sends a Security Request for this purpose.
      When disabled, it is the application's responsibility to call
      bt_conn_set_security() to re-establish security prior to sending any
      notifications or indications on the characteristics that require
      security (unless the central does that first).
      This option has been introduced to avoid interoperability issues with
      commercially available central devices that react negatively to
      receiving a Security Request immediately after reconnection.

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