<?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: Failed to send CoAP messages (PUT method)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/77680/nrf9160-failed-to-send-coap-messages-put-method</link><description>Hello, 
 we are currently developing a customer product based on the nRF9160 SIP. 
 The requirement is to send the battery voltage periodically over the CoAP protocol (PUT method) to an already existing CoAP server which has a server address like: 
 coap</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 01 Nov 2021 10:03:36 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/77680/nrf9160-failed-to-send-coap-messages-put-method" /><item><title>RE: nRF9160: Failed to send CoAP messages (PUT method)</title><link>https://devzone.nordicsemi.com/thread/336817?ContentTypeID=1</link><pubDate>Mon, 01 Nov 2021 10:03:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2534903e-27b2-4d13-a80a-9551b041d149</guid><dc:creator>Achim Kraus</dc:creator><description>&lt;p&gt;Just to mention:&lt;/p&gt;
&lt;p&gt;Californium runs also on cloud VMs (droplets) or cloud-k8s deployments. It requires mainly java to be installed ahead (see&amp;nbsp;&lt;a href="https://github.com/eclipse/californium/wiki/Californium-as-old-style-unix-systemd-service"&gt;https://github.com/eclipse/californium/wiki/Californium-as-old-style-unix-systemd-service&lt;/a&gt; ). Sometimes the missing UDP support for some network components (e.g. load-balancers) requires some work-around, but UDP is getting better and better supported.&lt;/p&gt;
&lt;p&gt;Californium support blockwise (RFC7959) also for long time. A simple file-server using that is also available in the demo-apps, &lt;a href="https://github.com/eclipse/californium/tree/master/demo-apps/cf-simplefile-server"&gt;https://github.com/eclipse/californium/tree/master/demo-apps/cf-simplefile-server&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160: Failed to send CoAP messages (PUT method)</title><link>https://devzone.nordicsemi.com/thread/336745?ContentTypeID=1</link><pubDate>Sat, 30 Oct 2021 06:46:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b08867cc-68fb-456a-9621-9314f9eddd7d</guid><dc:creator>tkeilbach</dc:creator><description>&lt;p&gt;Hi Cedric,&lt;/p&gt;
&lt;p&gt;for californium server I just use Nordics coap sample without changing anything to test if my custom board is working. For my more complex test&amp;nbsp;(blockwise transfer) I did not used the californium server. I&amp;nbsp;had built a custom made coap server (libcoap) which ran on Digital Ocean Droplet at the time.&lt;/p&gt;
&lt;p&gt;This gave me the possibility to snif and validate every single byte which the coap server receives form the coap client (by using &amp;quot;tcp dump&amp;quot; to record the data stream at the coap server port and analyze it afterwards with wireshark).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160: Failed to send CoAP messages (PUT method)</title><link>https://devzone.nordicsemi.com/thread/336706?ContentTypeID=1</link><pubDate>Fri, 29 Oct 2021 14:00:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:412728a4-0603-44a7-b698-232f053dd9e7</guid><dc:creator>ced27</dc:creator><description>&lt;p&gt;Hallo &lt;a href="https://devzone.nordicsemi.com/members/tkeilbach"&gt;tkeilbach&lt;/a&gt;,&lt;/p&gt;
&lt;p&gt;Can you please tell me how you manage to send CoAP messages to californium server?&lt;/p&gt;
&lt;p&gt;BR,&lt;/p&gt;
&lt;p&gt;Cedric&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160: Failed to send CoAP messages (PUT method)</title><link>https://devzone.nordicsemi.com/thread/320938?ContentTypeID=1</link><pubDate>Tue, 20 Jul 2021 13:53:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1a1ac614-dda8-4af4-91e9-e09138051a7e</guid><dc:creator>tkeilbach</dc:creator><description>&lt;p&gt;Topic solved:&lt;br /&gt;&lt;br /&gt;Problem or missunderstand is the&amp;nbsp;&lt;strong&gt;coap_packet_append_option()&lt;/strong&gt; function. This function can not handle a complete string block like &amp;quot;mqtt/batterytest&amp;quot;.&lt;br /&gt;If the string is splitted into two function calls where you first put &amp;quot;mqtt&amp;quot; and then &amp;quot;batterytest&amp;quot; to the function, it works.&lt;br /&gt;Same for the uri_query.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160: Failed to send CoAP messages (PUT method)</title><link>https://devzone.nordicsemi.com/thread/320861?ContentTypeID=1</link><pubDate>Tue, 20 Jul 2021 10:33:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ad16db4f-e842-40b0-bd42-2efcc993975a</guid><dc:creator>tkeilbach</dc:creator><description>&lt;p&gt;Just an update: The original coap-client example works as expacted (server &amp;quot;&lt;span&gt;californium.eclipseprojects.io&amp;quot; with resource &amp;quot;obs&amp;quot;).&lt;br /&gt;So any problems regarding the sim card, mobile connection, signal strange, traffic limits etc can be excluded!&lt;/span&gt;&lt;/p&gt;
&lt;div style="left:679px;position:absolute;top:-20px;" id="gtx-trans"&gt;
&lt;div class="gtx-trans-icon"&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>