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
  • Thanks a lot for your feedback, Deepak!

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

    I’m a little confused here. Are you building the sample for different targets? Because you should see:

    # CONFIG_LWM2M_CONNMON_OBJECT_VERSION_1_0 is not set
    CONFIG_LWM2M_CONNMON_OBJECT_VERSION_1_2=y

    in .config for the nrf9160dk_nrf9160_ns build as well.

    Deepak Aagri said:
    Could please help me to update LAC value on leshan server.

    But anyway, LAC value update is not implemented yet from our side. As the parameter description states, this is only experimental for the moment.

    However, you can add the update yourself if you like. To do so, you can add the following line to the end of modem_data_update():

    lwm2m_engine_set_u16("4/0/12", modem_param.network.area_code.value);

    Regards,

    Markus

Reply
  • Thanks a lot for your feedback, Deepak!

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

    I’m a little confused here. Are you building the sample for different targets? Because you should see:

    # CONFIG_LWM2M_CONNMON_OBJECT_VERSION_1_0 is not set
    CONFIG_LWM2M_CONNMON_OBJECT_VERSION_1_2=y

    in .config for the nrf9160dk_nrf9160_ns build as well.

    Deepak Aagri said:
    Could please help me to update LAC value on leshan server.

    But anyway, LAC value update is not implemented yet from our side. As the parameter description states, this is only experimental for the moment.

    However, you can add the update yourself if you like. To do so, you can add the following line to the end of modem_data_update():

    lwm2m_engine_set_u16("4/0/12", modem_param.network.area_code.value);

    Regards,

    Markus

Children
No Data
Related