nRF Connect SDK API 2.8.99
Loading...
Searching...
No Matches

◆ software_version

const char* lwm2m_carrier_config_t::software_version

This configuration allows you to add a string to the Software Version resource in the OMA LwM2M Device object (/3/0/19). The string is added to the LwM2M Carrier library version and separated with a new line '\n'. This allows the application to indicate its version to the server independently of the LwM2M carrier library version.

Null-terminated string of max 32 characters.

  • By default the software_version contains only the LwM2M carrier library version, for example: "LwM2M_carrier_1.2.3".
  • For LWM2M_CARRIER_SOFTBANK, ':' is used to separate the two strings in software_version. and the LwM2M carrier library, for example "LwM2M_carrier_1.2.3:<my_app_version>"
Note
using lwm2m_carrier.c this option can be set in kconfig by setting CONFIG_LWM2M_CARRIER_SOFTWARE_VERSION.