<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>What is the difference between lwm2m_client and lwm2m_carrier?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/54084/what-is-the-difference-between-lwm2m_client-and-lwm2m_carrier</link><description>Hi, 
 In nRF Connect SDK there are two LWM2M samples: lwm2m_client and lwm2m_carrier. What is the difference? 
 /Bjorn</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 07 Nov 2019 14:01:05 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/54084/what-is-the-difference-between-lwm2m_client-and-lwm2m_carrier" /><item><title>RE: What is the difference between lwm2m_client and lwm2m_carrier?</title><link>https://devzone.nordicsemi.com/thread/219081?ContentTypeID=1</link><pubDate>Thu, 07 Nov 2019 14:01:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1542efd2-1330-43a2-ae91-8d9cfaadb8fa</guid><dc:creator>Heidi</dc:creator><description>&lt;p&gt;Yes, I understand that the names of the examples can be a bit confusing.&lt;/p&gt;
&lt;p&gt;LwM2M is just a protocol. Zephyr has a LwM2M library that is utilized in the lwm2m_client sample. There is no LwM2M client library.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;But the NCS team wrote an&amp;nbsp;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.&lt;/p&gt;
&lt;p&gt;They are just two different samples showing how you can use the LwM2M protocol for two different use-cases.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;So in short:&lt;/p&gt;
&lt;p&gt;-The lwm2m_carrier shows the use of the LwM2Mprotocol to register to a Verizon network.&lt;/p&gt;
&lt;p&gt;-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.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Heidi&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What is the difference between lwm2m_client and lwm2m_carrier?</title><link>https://devzone.nordicsemi.com/thread/218846?ContentTypeID=1</link><pubDate>Wed, 06 Nov 2019 13:32:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fd1bc291-4e78-4295-bbf1-8fb96b2bfac7</guid><dc:creator>Bjorn191023</dc:creator><description>&lt;p&gt;Hi Heidi,&lt;/p&gt;
&lt;p&gt;Thanks for your response.&lt;/p&gt;
&lt;p&gt;Then I wonder what is the LWM2M carrier library as opposed to the LWM2M client library? It is not clear to me!&lt;/p&gt;
&lt;p&gt;BR / Bjorn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What is the difference between lwm2m_client and lwm2m_carrier?</title><link>https://devzone.nordicsemi.com/thread/218844?ContentTypeID=1</link><pubDate>Wed, 06 Nov 2019 13:29:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:04245ef2-3909-4850-89dd-341ad561e3ff</guid><dc:creator>Heidi</dc:creator><description>&lt;p&gt;Hi!&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;The LWM2M client example demonstrated how to use the &lt;a href="https://www.omaspecworks.org/what-is-oma-specworks/iot/lightweight-m2m-lwm2m/"&gt;LWM2M &lt;/a&gt;protocol to connect the nRF9160 DK to any LWM2M server (for example the &lt;a href="https://github.com/eclipse/leshan/blob/master/README.md"&gt;Leshan Demo Server&lt;/a&gt;).&lt;/p&gt;
&lt;p&gt;While the LWM2M carrier example is simply a demonstration of how to utilize the LWM2M carrier library (found in ncs/nrf/lib/lwm2m_carrier).&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Heidi&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>