<?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>ble_evt_t.header.evt_len</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/7313/ble_evt_t-header-evt_len</link><description>The documentation for ble_evt_hdr_t says that the evt_len field is 
 
 Length in octets excluding this header. 
 
 However as far as I can tell it&amp;#39;s actually the length in octets including the header. 
 Here&amp;#39;s the code I&amp;#39;m using to pull events from</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 29 May 2015 13:34:28 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/7313/ble_evt_t-header-evt_len" /><item><title>RE: ble_evt_t.header.evt_len</title><link>https://devzone.nordicsemi.com/thread/25869?ContentTypeID=1</link><pubDate>Fri, 29 May 2015 13:34:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d19bc3df-04a0-4404-9fc6-1c2d1553f126</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;Thanks - appreciated.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ble_evt_t.header.evt_len</title><link>https://devzone.nordicsemi.com/thread/25868?ContentTypeID=1</link><pubDate>Fri, 29 May 2015 13:28:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cdff8bf2-6955-4783-9c55-244f95c7513e</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@RK: I tried here and confirm this. In our code I found len = offsetof(ble_evt_t, &lt;em&gt;the event&lt;/em&gt; ) + sizeof(&lt;em&gt;the event&lt;/em&gt;) and  p_ble_evt-&amp;gt;header.evt_len = len;&lt;/p&gt;
&lt;p&gt;I will report this internally for the correction in the documentation.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>