<?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>Thread CoAP Observe not configuring properly.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/91226/thread-coap-observe-not-configuring-properly</link><description>I&amp;#39;m working with the OpenThread CoAP protocol in the nRF Connect SDK 2.0.0. I started with the samples: 
 \ncs\v2.0.0\nrf\samples\openthread\coap_client 
 \ncs\v2.0.0\nrf\samples\openthread\coap_server 
 I&amp;#39;ve added an Observable resource on the server</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 15 Nov 2022 20:42:57 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/91226/thread-coap-observe-not-configuring-properly" /><item><title>RE: Thread CoAP Observe not configuring properly.</title><link>https://devzone.nordicsemi.com/thread/395878?ContentTypeID=1</link><pubDate>Tue, 15 Nov 2022 20:42:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fb1d466f-4c17-4790-b476-2903f5da9a97</guid><dc:creator>Mary</dc:creator><description>&lt;p&gt;I found the answer myself.&amp;nbsp; The CoAP CLI implements the Observe option.&amp;nbsp; For an implementation guideline, look at&lt;/p&gt;
&lt;p&gt;&amp;lt;SDK&amp;gt;/modules/lib/openthread/src/cli/cli_coap.cpp&lt;/p&gt;
&lt;p&gt;See also:&lt;/p&gt;
&lt;p&gt;&lt;a id="" href="https://github.com/openthread/openthread/blob/main/src/cli/README_COAP.md"&gt;https://github.com/openthread/openthread/blob/main/src/cli/README_COAP.md&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Mary&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Thread CoAP Observe not configuring properly.</title><link>https://devzone.nordicsemi.com/thread/395002?ContentTypeID=1</link><pubDate>Wed, 09 Nov 2022 20:01:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:24d834ab-341a-4dd0-a731-6745a4745b43</guid><dc:creator>Mary</dc:creator><description>&lt;p&gt;What do you need to do on the server side to make a resource observable?&lt;/p&gt;
&lt;p&gt;How do you update the resource?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Thread CoAP Observe not configuring properly.</title><link>https://devzone.nordicsemi.com/thread/383387?ContentTypeID=1</link><pubDate>Fri, 26 Aug 2022 06:43:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:419db19c-6731-45b8-91b1-95f41694743f</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;What you have found is indeed a bug. Our developers inform me that it has been fixed in OpenThread upstream by &lt;a href="https://github.com/openthread/openthread/pull/7979/files"&gt;https://github.com/openthread/openthread/pull/7979/files&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;This will hopefully be included in our next version of the nRF Connect SDK, but for now you will have to use your workaround for the Observe functionality.&lt;/p&gt;
&lt;p&gt;Thank you for reporting this!&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Sigurd Hellesvik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Thread CoAP Observe not configuring properly.</title><link>https://devzone.nordicsemi.com/thread/383305?ContentTypeID=1</link><pubDate>Thu, 25 Aug 2022 13:34:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:48fd436f-2adf-46fc-a156-425e55bc3da2</guid><dc:creator>wkpolara</dc:creator><description>&lt;p&gt;Sigurd,&lt;/p&gt;
&lt;p&gt;Thank you very much for following up on this promptly.&amp;nbsp; Hopefully a resolution can be found, and I look forward to hearing your Thread developers response.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Thread CoAP Observe not configuring properly.</title><link>https://devzone.nordicsemi.com/thread/383241?ContentTypeID=1</link><pubDate>Thu, 25 Aug 2022 11:11:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ff93ae4b-4722-4068-adea-34289302210a</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I have been able to reproduce your issue.&lt;br /&gt;To figure this out, I have queried our Thread developers.&lt;/p&gt;
&lt;p&gt;I will let you know when I know more about this.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Sigurd Hellesvik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Thread CoAP Observe not configuring properly.</title><link>https://devzone.nordicsemi.com/thread/382950?ContentTypeID=1</link><pubDate>Tue, 23 Aug 2022 14:58:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c1c150a1-fc3a-413b-997d-1d7d36ff9d89</guid><dc:creator>wkpolara</dc:creator><description>&lt;p&gt;We are using VS Code.&amp;nbsp; I checked the Kconfig for the configuration.&amp;nbsp; It appears that both the OBSERVE configuration and its dependencies are set:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:106px;max-width:538px;" alt=" " height="106" src="https://devzone.nordicsemi.com/resized-image/__size/1076x212/__key/communityserver-discussions-components-files/4/pastedimage1661266053130v1.png" width="538" /&gt;&lt;/p&gt;
&lt;p&gt;I also checked the &lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;\build\zephyr\.config&lt;/span&gt; file and verified that all 3 were set to &amp;#39;y&amp;#39;.&amp;nbsp; (Attaching as &amp;#39;dotconfig.txt&amp;#39;)&lt;/p&gt;
&lt;p&gt;I checked the build log, &lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;\build\.ninja_log&lt;/span&gt;, and didn&amp;#39;t find anything related to &amp;quot;observe&amp;quot; (Attaching as &amp;#39;dotninja_log.txt&amp;#39;)&lt;/p&gt;
&lt;p&gt;This is still a mystery why the OpenThread CoAP library #define for Observe isn&amp;#39;t getting set during the build...&lt;/p&gt;
&lt;p&gt;Are you able to configure a build&amp;nbsp;of one of the OT CoAP samples so&amp;nbsp;OPENTHREAD_CONFIG_COAP_OBSERVE_API_ENABLE is set?&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/dotconfig.txt"&gt;devzone.nordicsemi.com/.../dotconfig.txt&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/dotninja_5F00_log.txt"&gt;devzone.nordicsemi.com/.../dotninja_5F00_log.txt&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Thread CoAP Observe not configuring properly.</title><link>https://devzone.nordicsemi.com/thread/382894?ContentTypeID=1</link><pubDate>Tue, 23 Aug 2022 11:03:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a115afce-a2dd-48b9-85f1-e2f5be4c5971</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I recommend using the Insert-&amp;gt;Code functionality. It will make it a lot easier to read your questions.&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1661252436178v1.png" alt=" " /&gt;&lt;/p&gt;
[quote user=""]It appears that either&amp;nbsp;CONFIG_OPENTHREAD_COAP_OBSERVE=y is insufficient, or something else overrides it...[/quote]
&lt;p&gt;Lets start to check if something overrides this.&lt;br /&gt;If a Kconfig option is overridden, it is usually a warning about it in the build log. Can you see any such warning?&lt;/p&gt;
&lt;p&gt;Do you use VS Code?&lt;br /&gt;If so, you can use the Kconfig action and search for OPENTHREAD_COAP_OBSERVE to see what this configuration is set to in the finished build.&lt;br /&gt;Here you can also see which options the Kconfigs are dependent on, which is useful.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1661252551607v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Sigurd Hellesvik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>