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
  • Hi, 

    Modifying the string during runtime is not supported since it is set during build as I suggested previously, but I'm not sure I understand what you're aiming to do now.

    In the image you posted, you clearly see that you've included settings.h and are calling the function that is unreferenced. Where did you get this part from? Is it from another sample, is it present in the NCS v2.6.1 sample that you're using or elsewhere?

    Kind regards,
    Andreas

Children
Related