<?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>Coap observe client and server using NCS</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/89395/coap-observe-client-and-server-using-ncs</link><description>I have implemented the example Coap Client and Coap Server using NCS 1.9.1 on two nRF52840DKs I would like to use the observer/observed approach to update clients when a resource changes on the server. Is this supported? 
 I see there are such examples</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 28 Jun 2022 14:10:27 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/89395/coap-observe-client-and-server-using-ncs" /><item><title>RE: Coap observe client and server using NCS</title><link>https://devzone.nordicsemi.com/thread/374576?ContentTypeID=1</link><pubDate>Tue, 28 Jun 2022 14:10:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c1e3ece1-bce5-4067-911d-3e491fe9656f</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.9.1/zephyr/reference/networking/coap.html"&gt;Zephyr CoAP library&lt;/a&gt; implements support for&amp;nbsp;&lt;a href="https://tools.ietf.org/html/rfc7641"&gt;RFC7641: Observing Resources in the Constrained Application Protocol (CoAP)&lt;/a&gt;, which I believe is what you are looking for? Have a look at &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.9.1/zephyr/reference/networking/coap.html#c.coap_observer_init"&gt;coap_observer_init&lt;/a&gt;&lt;span&gt;() and below functions.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I&amp;#39;m not aware of any examples that shows the usage of this API.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;br /&gt;Jørgen&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>