CONFIG_BT_DIS_PNP_VER

Product Version

Product Version

Type: hex

Help

The Product Version field is a numeric expression identifying the device
release number in Binary-Coded Decimal. This is a vendor-assigned value,
which defines the version of the product identified by the Vendor ID and
Product ID fields. This field is intended to differentiate between
versions of products with identical Vendor IDs and Product IDs.
The value of the field value is 0xJJMN for version JJ.M.N
(JJ - major version number, M - minor version number,
N - sub-minor version number); e.g., version 2.1.3 is represented with
value 0x0213 and version 2.0.0 is represented with a value of 0x0200.
When upward-compatible changes are made to the device, it is recommended
that the minor version number be incremented. If incompatible changes are
made to the device, it is recommended that the major version number be
incremented. The sub-minor version is incremented for bug fixes.

Help

The Product Version field is a numeric expression identifying the device
release number in Binary-Coded Decimal. This is a vendor-assigned value,
which defines the version of the product identified by the Vendor ID and
Product ID fields. This field is intended to differentiate between
versions of products with identical Vendor IDs and Product IDs.
The value of the field value is 0xJJMN for version JJ.M.N
(JJ - major version number, M - minor version number,
N - sub-minor version number); e.g., version 2.1.3 is represented with
value 0x0213 and version 2.0.0 is represented with a value of 0x0200.
When upward-compatible changes are made to the device, it is recommended
that the minor version number be incremented. If incompatible changes are
made to the device, it is recommended that the major version number be
incremented. The sub-minor version is incremented for bug fixes.

Direct dependencies

(BT_DIS_PNP && BT_DIS && BT_CONN && BT_RPC_STACK) || (BT_DIS_PNP && BT_DIS && BT_CONN && BT_HCI && BT)

(Includes any dependencies from ifs and menus.)

Defaults

  • 1

  • 1

Kconfig definitions

At <Zephyr>/subsys/bluetooth/services/Kconfig.dis:80

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:194<Zephyr>/subsys/bluetooth/services/Kconfig:9

Menu path: (Top) → Modules → nrf (/home/runner/work/sdk-nrf/sdk-nrf/ncs/nrf) → Nordic nRF Connect → Bluetooth Low Energy → BLE over nRF RPC → GATT Services → Enable GATT Device Information service → Enable PnP_ID characteristic

config BT_DIS_PNP_VER
    hex "Product Version"
    range 0 0xFFFF
    default 1
    depends on BT_DIS_PNP && BT_DIS && BT_CONN && BT_RPC_STACK
    help
      The Product Version field is a numeric expression identifying the device
      release number in Binary-Coded Decimal. This is a vendor-assigned value,
      which defines the version of the product identified by the Vendor ID and
      Product ID fields. This field is intended to differentiate between
      versions of products with identical Vendor IDs and Product IDs.
      The value of the field value is 0xJJMN for version JJ.M.N
      (JJ - major version number, M - minor version number,
      N - sub-minor version number); e.g., version 2.1.3 is represented with
      value 0x0213 and version 2.0.0 is represented with a value of 0x0200.
      When upward-compatible changes are made to the device, it is recommended
      that the minor version number be incremented. If incompatible changes are
      made to the device, it is recommended that the major version number be
      incremented. The sub-minor version is incremented for bug fixes.

At <Zephyr>/subsys/bluetooth/services/Kconfig.dis:80

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:44<Zephyr>/subsys/Kconfig:9<Zephyr>/subsys/bluetooth/Kconfig:122<Zephyr>/subsys/bluetooth/services/Kconfig:9

Menu path: (Top) → Sub Systems and OS Services → Bluetooth → GATT Services → Enable GATT Device Information service → Enable PnP_ID characteristic

config BT_DIS_PNP_VER
    hex "Product Version"
    range 0 0xFFFF
    default 1
    depends on BT_DIS_PNP && BT_DIS && BT_CONN && BT_HCI && BT
    help
      The Product Version field is a numeric expression identifying the device
      release number in Binary-Coded Decimal. This is a vendor-assigned value,
      which defines the version of the product identified by the Vendor ID and
      Product ID fields. This field is intended to differentiate between
      versions of products with identical Vendor IDs and Product IDs.
      The value of the field value is 0xJJMN for version JJ.M.N
      (JJ - major version number, M - minor version number,
      N - sub-minor version number); e.g., version 2.1.3 is represented with
      value 0x0213 and version 2.0.0 is represented with a value of 0x0200.
      When upward-compatible changes are made to the device, it is recommended
      that the minor version number be incremented. If incompatible changes are
      made to the device, it is recommended that the major version number be
      incremented. The sub-minor version is incremented for bug fixes.

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