This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

What is the difference between lwm2m_client and lwm2m_carrier?

Hi,

In nRF Connect SDK there are two LWM2M samples: lwm2m_client and lwm2m_carrier. What is the difference?

/Bjorn

Parents Reply
  • Yes, I understand that the names of the examples can be a bit confusing.

    LwM2M is just a protocol. Zephyr has a LwM2M library that is utilized in the lwm2m_client sample. There is no LwM2M client library. 

    But the NCS team wrote an LwM2M carrier library that can be used if you want to connect to a network using the LwM2M protocol. The lwm2m_carrier sample is just a demonstration of how this can be done, using this specific library.

    They are just two different samples showing how you can use the LwM2M protocol for two different use-cases.


    So in short:

    -The lwm2m_carrier shows the use of the LwM2Mprotocol to register to a Verizon network.

    -The lwm2m_client shows the use of the LwM2M protocol, as an application layer protocol, something like the asset_tracker example but over LwM2M instead of MQTT and connecting to a LwM2M server instead of nRF Cloud. 

    Best regards,

    Heidi

Children
No Data
Related