The latest development version of this page may be more current than this released 1.14.1 version.
CONFIG_BT_GATT_DIS_PNP_VER

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.

Direct dependencies

BT_GATT_DIS_PNP && BT_GATT_DIS && BT_CONN && BT_HCI && BT

(Includes any dependencies from if’s and menus.)

Defaults

Kconfig definition

At subsys/bluetooth/services/Kconfig.dis:67

Included via Kconfig:10Kconfig.zephyr:39subsys/Kconfig:8subsys/bluetooth/Kconfig:104subsys/bluetooth/services/Kconfig:12

Menu path: (top menu) → Bluetooth → GATT Services → Enable GATT Device Information service

config BT_GATT_DIS_PNP_VER
    hex
    prompt "Product Version" if BT_GATT_DIS_PNP && BT_GATT_DIS && BT_CONN && BT_HCI && BT
    range 0 0xFFFF if BT_GATT_DIS_PNP && BT_GATT_DIS && BT_CONN && BT_HCI && BT
    default 1 if BT_GATT_DIS_PNP && BT_GATT_DIS && BT_CONN && BT_HCI && BT
    depends on BT_GATT_DIS_PNP && BT_GATT_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.

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