<?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>nRF9160 lwm2m registeration, how to add option(others)?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/74573/nrf9160-lwm2m-registeration-how-to-add-option-others</link><description>SDK: NCS 1.4.0 
 board: nRF9160-DK 
 sample: lwm2m_client 
 Question: 
 I am testing SERCOMM module and nRF9160-DK, but there is difference in registration procedure . 
 When bootstrap completed, i receive some data from server. In registration procedure</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 30 Apr 2021 09:34:20 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/74573/nrf9160-lwm2m-registeration-how-to-add-option-others" /><item><title>RE: nRF9160 lwm2m registeration, how to add option(others)?</title><link>https://devzone.nordicsemi.com/thread/307622?ContentTypeID=1</link><pubDate>Fri, 30 Apr 2021 09:34:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2a429604-4d97-4bb6-8441-7500865af6de</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;OK, thanks for clarifying. Is there a reason for you using NCS v1.4.0? In your last ticket you were using NCS v1.5.0. Several improvements have been introduced to v1.5.0, &lt;a href="https://github.com/nrfconnect/sdk-zephyr/commit/4851611d559b95aea81ac1f06d702e34c9b429f4"&gt;among other a CoAP bug (fix long options encoding)&lt;/a&gt;, and v1.5.0 is tested with modem fw 1.2.3.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Our expert replies:&lt;br /&gt;&lt;br /&gt;&lt;em&gt;It&amp;#39;s not that the Zephyr implementation is lacking these options, it&amp;#39;s the other library (from Sercomm) that adds some custom options to the registration message (not covered by the standard). Currently Zephyr does not allow to add custom options to the registration message. If the customer really wants to do that, he&amp;#39;d need to modify the lwm2m library and usecoap_packet_append_option(). One caveat the function has, is that you need to add options in an ascending order (in terms of option ID) so perhaps these are out of order.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Øyvind&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 lwm2m registeration, how to add option(others)?</title><link>https://devzone.nordicsemi.com/thread/307571?ContentTypeID=1</link><pubDate>Thu, 29 Apr 2021 22:48:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d82e97dd-9833-46e6-9a38-977e267a205f</guid><dc:creator>NCOIRD</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I am using &lt;strong&gt;NCS 1.4.0&lt;/strong&gt;. Also, modem firmware is 1.2.3.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 lwm2m registeration, how to add option(others)?</title><link>https://devzone.nordicsemi.com/thread/307453?ContentTypeID=1</link><pubDate>Thu, 29 Apr 2021 11:39:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9d7fcec1-aa34-42d5-9829-83b98e5d9c4b</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;first of all, I need to verify: Are you using NCS 1.4.0 or 1.5.0?&amp;nbsp;&lt;br /&gt;&lt;br /&gt;I will need to forward this to our LwM2M / CoAP expert.&lt;br /&gt;&lt;br /&gt;Kind regards,&lt;br /&gt;Øyvind&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>