<?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>Sending and Receiving CoAP Thread data</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/95056/sending-and-receiving-coap-thread-data</link><description>Hi, i wonder how could i send data from a coap_server to a coap_client with thread, for example a temperature data: what are the main functions to declare and use to do so? 
 Thansk</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 17 Jan 2023 15:12:21 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/95056/sending-and-receiving-coap-thread-data" /><item><title>RE: Sending and Receiving CoAP Thread data</title><link>https://devzone.nordicsemi.com/thread/405304?ContentTypeID=1</link><pubDate>Tue, 17 Jan 2023 15:12:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a41fc86a-0e8b-46af-a45e-4bc1273421bf</guid><dc:creator>SwRa</dc:creator><description>&lt;p&gt;Hi Simon,&lt;/p&gt;
&lt;p&gt;One way of doing this is by following this path:&amp;nbsp;&lt;span&gt;Thread device--POST--&amp;gt;CoAP Server--GET--&amp;gt;Mobile CoAP Client App&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;If the thread device can POST to a CoAP server, then everything is exactly same as solution mentioned in&amp;nbsp;&lt;/span&gt;&lt;a title="https://academy.nordicsemi.com/topic/lesson-8-nrf91-simple-tracker-solution/" href="https://academy.nordicsemi.com/topic/lesson-8-nrf91-simple-tracker-solution/" rel="noopener noreferrer" target="_blank"&gt;nRF91 simple tracker solution – Nordic Developer Academy (nordicsemi.com)&lt;/a&gt;&lt;span&gt;. There is CoAP client that can run on mobile phone.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Here is a reference for thread device POST/GET CoAP server:&amp;nbsp;&lt;a title="https://devzone.nordicsemi.com/f/nordic-q-a/94519/openthread-coap-client-to-a-public-server-over-internet" href="https://devzone.nordicsemi.com/f/nordic-q-a/94519/openthread-coap-client-to-a-public-server-over-internet" rel="noopener noreferrer" target="_blank"&gt;(+) OpenThread COAP Client to a public server over Internet - Nordic Q&amp;amp;A - Nordic DevZone - Nordic DevZone (nordicsemi.com)&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Hope this helps.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best Regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Swathy&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending and Receiving CoAP Thread data</title><link>https://devzone.nordicsemi.com/thread/404421?ContentTypeID=1</link><pubDate>Wed, 11 Jan 2023 21:08:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d1efc87d-63aa-480a-97a8-8beea1d798f1</guid><dc:creator>simon8</dc:creator><description>&lt;p&gt;Fine, but i just don&amp;#39;t understand the mechanism....If i know the IP of my thread device how could i send a GET request for example, from my smartphone to get temperature data from that device? How phone and&amp;nbsp; thread device will understand each other?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending and Receiving CoAP Thread data</title><link>https://devzone.nordicsemi.com/thread/403617?ContentTypeID=1</link><pubDate>Fri, 06 Jan 2023 14:42:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bc4c0eec-5e88-4927-a61a-5b900459bbdb</guid><dc:creator>SwRa</dc:creator><description>&lt;p&gt;Hi Simon,&lt;/p&gt;
&lt;p&gt;&lt;span&gt;It is possible to do this.. Thread supports IPv6. Therefore, as long as both the phone and Thread device have IPv6 connectivity there is no problem to send packets between them through the border router.&amp;nbsp;If the phone only have IPv4, then the border router need to implement NAT64 or similar. Hope this clears your doubt..&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best Regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Swathy&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending and Receiving CoAP Thread data</title><link>https://devzone.nordicsemi.com/thread/403414?ContentTypeID=1</link><pubDate>Thu, 05 Jan 2023 13:40:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:90adba51-a7e8-4e8c-93c7-c752ac7eceda</guid><dc:creator>simon8</dc:creator><description>&lt;p&gt;I&amp;#39;m wondering how could i send data from my personal thread network to a device, like a smartphone, through the border router as well.&lt;/p&gt;
&lt;p&gt;Is there a way?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending and Receiving CoAP Thread data</title><link>https://devzone.nordicsemi.com/thread/402839?ContentTypeID=1</link><pubDate>Mon, 02 Jan 2023 14:18:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d14c4b86-3649-4fc8-9c76-2d817fdd5848</guid><dc:creator>SwRa</dc:creator><description>&lt;p&gt;Hi Simon,&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I have checked with experts regarding this.. If you want to send data from server to client application over CoAP, you will need to implement client on server side and server on client side. Or&amp;nbsp;you can send packages through UDP, which would be less setup/configuration.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best Regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Swathy&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending and Receiving CoAP Thread data</title><link>https://devzone.nordicsemi.com/thread/402309?ContentTypeID=1</link><pubDate>Tue, 27 Dec 2022 14:29:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4f18eea1-7d45-44ef-9543-f8716f0922de</guid><dc:creator>simon8</dc:creator><description>&lt;p&gt;Yes no problem&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending and Receiving CoAP Thread data</title><link>https://devzone.nordicsemi.com/thread/402192?ContentTypeID=1</link><pubDate>Tue, 27 Dec 2022 06:48:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e4716164-2172-4620-9741-0cabd421a366</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;Due to&amp;nbsp;&lt;span&gt;Christmas holidays, we are a bit thinly staffed and we hope that you can wait until next week for our thread experts to return and answer your query. Thanks a lot for your patience.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>