<?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>radio length field, and actual number of received bytes</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/78778/radio-length-field-and-actual-number-of-received-bytes</link><description>Hi all 
 I am developing a proprietary radio protocol application using the nRF52805. I am not using a softdevice. Instead, this is all done by accessing the radio registers directly. This is not a BLE application. 
 Briefly, the application involves</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 20 Aug 2021 14:51:13 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/78778/radio-length-field-and-actual-number-of-received-bytes" /><item><title>RE: radio length field, and actual number of received bytes</title><link>https://devzone.nordicsemi.com/thread/326005?ContentTypeID=1</link><pubDate>Fri, 20 Aug 2021 14:51:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a4e0ae9d-210b-4a4f-a463-c6d2dde98fa6</guid><dc:creator>Rob Garner</dc:creator><description>&lt;p&gt;Hi run_ar&lt;/p&gt;
&lt;p&gt;Thank you for the quick reply. Yes, I do enable CRC checking. I also enable address filtering as well as Device Address filtering. Also, thanks for clarifying how the length field is handled during reception. I consider the question answered.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Rob&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: radio length field, and actual number of received bytes</title><link>https://devzone.nordicsemi.com/thread/325937?ContentTypeID=1</link><pubDate>Fri, 20 Aug 2021 11:25:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:326b0341-8380-42f8-bc51-491588e6da64</guid><dc:creator>run_ar</dc:creator><description>&lt;p&gt;1. No it doesn&amp;#39;t update the field. IT echoes the value sent by the peripheral.&lt;/p&gt;
&lt;p&gt;2. No, you need to check the length of the packet that is copied to ram, for details see &lt;span&gt;&lt;a title="Packet configuration" href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52832.ps.v1.1/radio.html?cp=4_2_0_22_1#concept_hz4_cjl_4r"&gt;Packet configuration&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Did you enable CRC checking? this will help tell your application if the packet is truncated or has error (to help detect the short packets you describe). You also need to make sure your logic handles buffer overflows, that could happen if the length field of the packet is corrupted on air.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>