CONFIG_BT_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_DIS_PNP && BT_DIS && BT_CONN && BT_HCI && BT

(Includes any dependencies from ifs and menus.)

Default

  • 1

Kconfig definition

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

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:42<Zephyr>/subsys/Kconfig:9<Zephyr>/subsys/bluetooth/Kconfig:175<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.)