This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

#if defined(CONFIG_LWM2M_CONNMON_OBJECT_VERSION_1_2) doesn't support in lwm2m client project?

Hello,

We are using lwm2m client project SDK version v1.9.0.  We need to enable  #define CONNMON_LAC 12 to get LAC value but i am facing problem to enable #if defined(CONFIG_LWM2M_CONNMON_OBJECT_VERSION_1_2). could you please provide the document to update firmware version to enable require object.

I follow the this link  https://www.nordicsemi.com/Products/nRF9160/Download#infotabs and update the mfw_nrf9160_1.3.1.zip using programmer. this zip file contain three hex file i put all together in "File memory layout" and "Erase & write".

Result is still same. Could you please explain me the right way to enable #if defined(CONFIG_LWM2M_CONNMON_OBJECT_VERSION_1_2)

Thanks

Best Regards

Deepak Aagri

Parents
  • Hello,

    I include the CONFIG_LWM2M_CONNMON_OBJECT_VERSION_1_2=y in prj.conf file. After compilation .config file (build\zephyr)  reflect the changes below

    # CONFIG_LWM2M_CONNMON_OBJECT_VERSION_1_0 is not set
    CONFIG_LWM2M_CONNMON_OBJECT_VERSION_1_2=y

    LAC start appearing in object list, as show in below picture:

    But it is showing Zero there is no value available. In next step i found  .config file \build_nrf9160dk_nrf9160_ns\zephyr

    CONFIG_LWM2M_CONNMON_OBJECT_VERSION_1_0=y
    # CONFIG_LWM2M_CONNMON_OBJECT_VERSION_1_2 is not set

    i replace with the below mentioned changes manually::

    # CONFIG_LWM2M_CONNMON_OBJECT_VERSION_1_0=y
    CONFIG_LWM2M_CONNMON_OBJECT_VERSION_1_2=y  

    But still LAC value is zero. using nrfCloud i can see LAC (Area Code) it showing different..

    Could please help me to update LAC value on leshan server.

    Best Regards

    Deepak Aagri

Reply
  • Hello,

    I include the CONFIG_LWM2M_CONNMON_OBJECT_VERSION_1_2=y in prj.conf file. After compilation .config file (build\zephyr)  reflect the changes below

    # CONFIG_LWM2M_CONNMON_OBJECT_VERSION_1_0 is not set
    CONFIG_LWM2M_CONNMON_OBJECT_VERSION_1_2=y

    LAC start appearing in object list, as show in below picture:

    But it is showing Zero there is no value available. In next step i found  .config file \build_nrf9160dk_nrf9160_ns\zephyr

    CONFIG_LWM2M_CONNMON_OBJECT_VERSION_1_0=y
    # CONFIG_LWM2M_CONNMON_OBJECT_VERSION_1_2 is not set

    i replace with the below mentioned changes manually::

    # CONFIG_LWM2M_CONNMON_OBJECT_VERSION_1_0=y
    CONFIG_LWM2M_CONNMON_OBJECT_VERSION_1_2=y  

    But still LAC value is zero. using nrfCloud i can see LAC (Area Code) it showing different..

    Could please help me to update LAC value on leshan server.

    Best Regards

    Deepak Aagri

Children
No Data
Related