How to modify the Firmware Revision String

Hi,

This string is defined by "CONFIG_BT_DIS_FW_REV_STR". Is there any API that can modify it?

Currently version management is done through VERSION files, but its display format is "1.2.3+4".
I want to change "CONFIG_BT_DIS_FW_REV_STR" to "1.23".
Is there any suggestion?
Parents Reply
  • Hmm, By omitting PATCHLEVELVERSION_TWEAK, and EXTRAVERSION fields, you should observe the version format "major_version.minor_version".

    But note that some uses of version number (for instance MCUboot or OTA updates), the version might be repsented internally as "1.23.0+0" due to how MCUboot expects the versioning to be formatted. However, for display purposes and in many API calls, it will appear as "1.23".

    Kind regards,
    Andreas

Children
Related