<?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>Esimate CoAP over BLE power consumption</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/24496/esimate-coap-over-ble-power-consumption</link><description>Hi, I want to estimate easily, without measure it, the power consumption of sending an array of 256 float32_t elements (4 bytes each) through CoAP NON protocol using the nRF52 DK&amp;#39;s BLE to a Raspberry Pi. I have found this very useful tool.
My idea is</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 29 Jan 2019 11:29:40 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/24496/esimate-coap-over-ble-power-consumption" /><item><title>RE: Esimate CoAP over BLE power consumption</title><link>https://devzone.nordicsemi.com/thread/168427?ContentTypeID=1</link><pubDate>Tue, 29 Jan 2019 11:29:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d41e0a46-ebc1-4c30-9a8a-2b3f7035f36a</guid><dc:creator>Olivia</dc:creator><description>&lt;p&gt;Hi Stian,&lt;br /&gt;What is this &amp;quot;End&amp;quot;&amp;nbsp;of 2 Bytes? I thought of the BLE CRCbut I unerstood that would take 3 bytes...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Esimate CoAP over BLE power consumption</title><link>https://devzone.nordicsemi.com/thread/96445?ContentTypeID=1</link><pubDate>Wed, 20 Sep 2017 01:14:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:587e0d61-b8cb-49c2-b3a2-a80b79705ce1</guid><dc:creator>marcmar</dc:creator><description>&lt;p&gt;Thanks for the information. It&amp;#39;s like gold for me! , Has the payload a theoretical limit (in bytes)? I&amp;#39;m interested to send more byte trought CoAP over BLE in the range of 1-4 kylobytes. Thank you in advance&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Esimate CoAP over BLE power consumption</title><link>https://devzone.nordicsemi.com/thread/96444?ContentTypeID=1</link><pubDate>Mon, 21 Aug 2017 14:28:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:445cedbf-a316-4e8a-8908-7b366fb9efee</guid><dc:creator>Stian R&amp;#248;ed Hafskjold</dc:creator><description>&lt;p&gt;Hi, your estimation seems reasonable, you just have to add the header data.&lt;/p&gt;
&lt;p&gt;First you have the L2CAP header. Then the 6LoWPAN and UDP header. I tried to illustrate this here:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;L2CAP Header:
  Length          2 B
  CID             2 B
  SDU length      2 B
  L2CAP payload:
    6LowPAN IPHC  2 B
    Source addr   16 B
    Dest addr     16 B
    UDP header    1 B
      Src port    2 B
      Dst port    2 B
      Checksum    2 B
      Payload:
        Coap head 6 B
        Payload   Your data
        End       2 B
    
Sum               55 B
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;So the headers alone will require 2 additional packets.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>