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,
This link is the same as my need.
Because VERSION_MAJOR ang VERSION_MINOR are numerical , setting it directly in Kconfig will get the result of v"space"."space"
So now I plan to use ""to modify the config during runtime"" to change the Firmware Revision String.
But I can't use this API.
Hi again,
Thank you for clarifying! This configuration is set during build time. Where did you see that you can change this during run time?
Regarding the build error you're showing it seems to me that the function is not declared before you call it.
Kind regards,
Hi,
I first tried to use "modify it as a string before building" and found that the displayed results were not as expected.
So I go with the "to modify the config during runtime" approach, which I think has been declared.
Can you tell me where I made a mistake?
From the picture I can't state if you've declared it or not unfortunately. The only thing I can see is that settings_runtime_set() is a function you've written, (or rather, I assume so). If this is the case, the error is that Sunion::AppTask::StartApp() function does not know that this function exists before you're calling settings_runtime_set().
You need to declare it before you call it. See https://www.tutorialspoint.com/cplusplus/cpp_functions.htm
Kind regards,
Andreas
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?