Configuring Icarus Board flashed Through NRF9160dk as a LWM2M Client in coite iot device Management Server.

Hello Community,

I am tirelessly working on connecintg my icarus development board to LWM2M server, However there are no good examples to follow and do it with ease, there are two samples one is with LWM2M for Nrf9160dk board however that sample is not made for actinius board since it uses many gpios of nrf9160dk board. And one more example in zephr/sample/net/lwm2m works only with ipv4 and ipv6.

I need Real help from you guys with any github repo for the sample that works for actinus_icarus board or some help regarding how can i proceed furthur, this would really help me i ahve already wasted 2 weeks editing the samples to make it work for the icarus board nothing is working for me at the movement, so please help!!

best regards,

tejas

Parents
  • Hi Jonathan,

    I will get Errors in my putty terminal like the image is not confirmed, and the LTE connection doesnt happen.

    I am using NRFw1.3.1 newest version of nordic software.

    I have not tested Co-AP Client till now may be i can proceed with that,

    Thank you

  • I would recommend that you test some other applications on the Icarus to se if you get he same Image not confirmed error when building for the Icarus. If that is the case then I am guessing there is a config that is not sett correctly. Like the static config : Partition Manager — nRF Connect SDK 1.9.99 documentation (nordicsemi.com) 

    We do have the two samples here if these are what you are referring to: 
    https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/nrf9160/lwm2m_client/README.html# 

    https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/nrf9160/lwm2m_carrier/README.html# 

    Regards,
    Jonathan

  • Hi jonathan , i tried other applications and it works perfectly fine with that, i have edited the code and built and flshed, i am getting the following error in my putty terminal, if u can help please suggest what is this error mean,

    for the same lwm2m sample in nrf/samples/nrf9160/lwm2m

    <err> net_lwm2m_rd_client: Cannot init LWM2M engine (-2)

    [03:51:05.028,076] <err> app_lwm2m_client: LwM2M engine reported a network error.

    [03:51:05.028,167] <inf> app_lwm2m_client: LwM2M restart requested. The sample will try to re-establish network connection.

    [03:51:05.028,167] <inf> net_lwm2m_rd_client: Stop LWM2M Client: urn:imei:352656100464844

    [03:51:06.506,896] <inf> app_lwm2m_client: Connecting to LTE network.

    [03:51:06.506,896] <inf> app_lwm2m_client: This may take several minutes.

    [03:51:09.456,481] <inf> app_lwm2m_client: Connected to LTE network

    [03:51:09.456,604] <inf> net_lwm2m_rd_client: Start LWM2M Client: urn:imei:352656100464844

    [03:51:10.029,327] <inf> net_lwm2m_rd_client: Bootstrap started with endpoint 'urn:imei:352656100464844' with client lifetime 0

    [03:51:11.307,525] <inf> lwm2m_neighbour_cell: Updating information for 1 neighbouring cells

    [03:51:40.034,698] <err> net_lwm2m_engine: Unable to resolve address

    [03:51:40.034,729] <err> net_lwm2m_rd_client: Cannot init LWM2M engine (-2)

    [03:51:41.035,003] <inf> net_lwm2m_rd_client: Bootstrap started with endpoint 'urn:imei:352656100464844' with client lifetime 0

    [03:52:11.040,618] <err> net_lwm2m_engine: Unable to resolve address

    [03:52:11.040,649] <err> net_lwm2m_rd_client: Cannot init LWM2M engine (-2)

    [03:52:12.541,076] <inf> net_lwm2m_rd_client: Bootstrap started with endpoint 'urn:imei:352656100464844' with client lifetime 0

    [03:52:42.545,867] <err> net_lwm2m_engine: Unable to resolve address

    [03:52:42.545,898] <err> net_lwm2m_rd_client: Cannot init LWM2M engine (-2)

    [03:52:45.046,600] <inf> net_lwm2m_rd_client: Bootstrap started with endpoint 'urn:imei:352656100464844' with client lifetime 0

    [03:53:15.049,285] <err> net_lwm2m_engine: Unable to resolve address

    [03:53:15.049,316] <err> net_lwm2m_rd_client: Cannot init LWM2M engine (-2)

Reply
  • Hi jonathan , i tried other applications and it works perfectly fine with that, i have edited the code and built and flshed, i am getting the following error in my putty terminal, if u can help please suggest what is this error mean,

    for the same lwm2m sample in nrf/samples/nrf9160/lwm2m

    <err> net_lwm2m_rd_client: Cannot init LWM2M engine (-2)

    [03:51:05.028,076] <err> app_lwm2m_client: LwM2M engine reported a network error.

    [03:51:05.028,167] <inf> app_lwm2m_client: LwM2M restart requested. The sample will try to re-establish network connection.

    [03:51:05.028,167] <inf> net_lwm2m_rd_client: Stop LWM2M Client: urn:imei:352656100464844

    [03:51:06.506,896] <inf> app_lwm2m_client: Connecting to LTE network.

    [03:51:06.506,896] <inf> app_lwm2m_client: This may take several minutes.

    [03:51:09.456,481] <inf> app_lwm2m_client: Connected to LTE network

    [03:51:09.456,604] <inf> net_lwm2m_rd_client: Start LWM2M Client: urn:imei:352656100464844

    [03:51:10.029,327] <inf> net_lwm2m_rd_client: Bootstrap started with endpoint 'urn:imei:352656100464844' with client lifetime 0

    [03:51:11.307,525] <inf> lwm2m_neighbour_cell: Updating information for 1 neighbouring cells

    [03:51:40.034,698] <err> net_lwm2m_engine: Unable to resolve address

    [03:51:40.034,729] <err> net_lwm2m_rd_client: Cannot init LWM2M engine (-2)

    [03:51:41.035,003] <inf> net_lwm2m_rd_client: Bootstrap started with endpoint 'urn:imei:352656100464844' with client lifetime 0

    [03:52:11.040,618] <err> net_lwm2m_engine: Unable to resolve address

    [03:52:11.040,649] <err> net_lwm2m_rd_client: Cannot init LWM2M engine (-2)

    [03:52:12.541,076] <inf> net_lwm2m_rd_client: Bootstrap started with endpoint 'urn:imei:352656100464844' with client lifetime 0

    [03:52:42.545,867] <err> net_lwm2m_engine: Unable to resolve address

    [03:52:42.545,898] <err> net_lwm2m_rd_client: Cannot init LWM2M engine (-2)

    [03:52:45.046,600] <inf> net_lwm2m_rd_client: Bootstrap started with endpoint 'urn:imei:352656100464844' with client lifetime 0

    [03:53:15.049,285] <err> net_lwm2m_engine: Unable to resolve address

    [03:53:15.049,316] <err> net_lwm2m_rd_client: Cannot init LWM2M engine (-2)

Children
Related