Hi,
This string is defined by "CONFIG_BT_DIS_FW_REV_STR". Is there any API that can modify it?
Hi,
This string is defined by "CONFIG_BT_DIS_FW_REV_STR". Is there any API that can modify it?
Hi,
Try to set
VERSION_MAJOR = 1
VERSION_MINOR =23
Kind regards,
Andreas
Hi,
It's format is not what I expected because its default format is "0.0.0+0".
The format I want is "0.00"(VERSION_MAJOR.VERSION_MINOR).
So I hope to modify the BLE information through API.
Hi,
My project does not contain this file(C:\ncs\v2.6.1\zephyr\subsys\settings\src\settings_runtime.c)
How do I modify "CMakeLists.txt" to include this file?
Hi,
I have configured "CONFIG_SETTINGS_RUNTIME" and executed
Can you give me some suggestions?
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
Hi,
I want to get result like this:
The "V1.0.2" will be displayed on "Firmware Revision String".
No matter use "tmodify the config during runtime" or "modify it as a string before building" , only I need is to fulfill this function.
VERSION_MAJOR = 1 VERSION_MINOR = 0 PATCHLEVEL = 2 VERSION_TWEAK = 0 EXTRAVERSION =
Hi,
Any other format that what is described in https://docs.nordicsemi.com/bundle/ncs-2.6.1/page/zephyr/build/version/index.html seems to not be possible due to how the header is defined. You can always modify it you're not able to get it to show "1.0.2" with these options.
Apologies for not being able to help you further than this.
Kind regards,
Andreas
Hi,
Any other format that what is described in https://docs.nordicsemi.com/bundle/ncs-2.6.1/page/zephyr/build/version/index.html seems to not be possible due to how the header is defined. You can always modify it you're not able to get it to show "1.0.2" with these options.
Apologies for not being able to help you further than this.
Kind regards,
Andreas
Hi,
Thank you for your reply. I understand.