<?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>LwM2M Custom Opaque Object Error</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/95674/lwm2m-custom-opaque-object-error</link><description>Hi, 
 I am following the tutorials on SDK documentation to create a new object type for communications between my LwM2M server and nrf9160. My object is a byte array, with only one instsance, and is defined as below: 
 
 /* 
 * Copyright (c) 2022 Nordic</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 25 Jan 2023 09:06:41 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/95674/lwm2m-custom-opaque-object-error" /><item><title>RE: LwM2M Custom Opaque Object Error</title><link>https://devzone.nordicsemi.com/thread/406402?ContentTypeID=1</link><pubDate>Wed, 25 Jan 2023 09:06:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c23dd318-faeb-4581-b274-ce6e10d8333f</guid><dc:creator>ibiglari</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thanks for your suggestion. I was processing all the data inside the callback. Once I commented the processing code, the error message disappeared. I will move the processing code to its own thread.&lt;/p&gt;
&lt;p&gt;Kind Regards,&lt;br /&gt;Iman&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LwM2M Custom Opaque Object Error</title><link>https://devzone.nordicsemi.com/thread/406400?ContentTypeID=1</link><pubDate>Wed, 25 Jan 2023 08:57:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b649de2b-05f8-40aa-83bf-adcc7ed727ac</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;Are you processing the whole data inside the callback?&amp;nbsp;&lt;br /&gt;It might be that the context timed out. You could try to postpone processing into a system worker queue once the last packet has been received.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LwM2M Custom Opaque Object Error</title><link>https://devzone.nordicsemi.com/thread/405709?ContentTypeID=1</link><pubDate>Thu, 19 Jan 2023 14:27:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bfeaa0b6-f2ca-46c9-8bcb-4397aeff4d64</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;I have asked internally. I&amp;#39;ll get back to you when I get new information, probably during next week.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LwM2M Custom Opaque Object Error</title><link>https://devzone.nordicsemi.com/thread/405640?ContentTypeID=1</link><pubDate>Thu, 19 Jan 2023 11:12:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:935960f9-8f90-4fa7-be09-667a8f5e091e</guid><dc:creator>ibiglari</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Just to clarify, I am trying to understand why that error is being triggered. Unfortunately it is not documented. I understand that it is very likely that either my server, or the modifications I have made to Asset Tracker source code are the root cause of this error. Perhaps a member of your LwM2M team could shed a light on what can cause this error to be triggered?&lt;/p&gt;
&lt;p&gt;Kind Regards,&lt;br /&gt;Iman&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LwM2M Custom Opaque Object Error</title><link>https://devzone.nordicsemi.com/thread/405000?ContentTypeID=1</link><pubDate>Mon, 16 Jan 2023 11:17:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2959e281-6a91-4aec-90bb-8d5e55cc41f3</guid><dc:creator>ibiglari</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t think there is a need to make the ticket private. The project I am working on is a fork of Asset Tracker v2, trying to proxy SUPL data through my own LwM2M server.&lt;/p&gt;
&lt;p&gt;The issue is, I am not sure how to simulate SUPL data via a public Leshan server. My own server sends SUPL data in response to LwM2M object 33625. The project is attached and you need to use `aeroluminate.conf` Kconfig fragment.&lt;/p&gt;
&lt;p&gt;I have also attached a log file which shows when the error happens. Line 479 of the log file shows the error message. If you look at the source code, the error occurs after the final call to my callback method.&lt;/p&gt;
&lt;p&gt;If you want to test the code, I&amp;#39;d need to add your device&amp;#39;s IMEI to my server. In that case you might want to convert the ticket to private so that the IMEI is not public.&lt;/p&gt;
&lt;p&gt;Kind Regards,&lt;br /&gt;Iman&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/tty.log"&gt;devzone.nordicsemi.com/.../tty.log&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/7853.asset_5F00_tracker_5F00_v2.7z"&gt;devzone.nordicsemi.com/.../7853.asset_5F00_tracker_5F00_v2.7z&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LwM2M Custom Opaque Object Error</title><link>https://devzone.nordicsemi.com/thread/404998?ContentTypeID=1</link><pubDate>Mon, 16 Jan 2023 11:02:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:599fbfb1-b6c1-4b45-ba76-57609a677277</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user="ibiglari"]I have added this object to asset tracker project. Let me try and clean it up a little bit and I will attach it to the ticket.[/quote]
&lt;p&gt;Thank you. Please let me know when you attach the project.&lt;br /&gt;&lt;br /&gt;Do you need this case to be private?&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LwM2M Custom Opaque Object Error</title><link>https://devzone.nordicsemi.com/thread/404871?ContentTypeID=1</link><pubDate>Fri, 13 Jan 2023 20:11:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:82d59424-742e-41fb-8ce7-eed797c8b7d6</guid><dc:creator>ibiglari</dc:creator><description>&lt;p&gt;Hi Dejan,&lt;/p&gt;
&lt;p&gt;I have added this object to asset tracker project. Let me try and clean it up a little bit and I will attach it to the ticket.&lt;/p&gt;
&lt;p&gt;Kind Regards,&lt;br /&gt;Iman&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LwM2M Custom Opaque Object Error</title><link>https://devzone.nordicsemi.com/thread/404865?ContentTypeID=1</link><pubDate>Fri, 13 Jan 2023 17:57:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:595eb7f5-15a5-456d-acbf-46ac87885416</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;I have tried adding your code to the lwm2m_client but I could not see the object being created on the server.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Could you provide your project so I could try to reproduce your issue? If you have some sensitive information that you would not like to share publicly, please let me know and I&amp;#39;ll make the case private.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>