<?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>Specify exact BLE advert packet bits in SW</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/118715/specify-exact-ble-advert-packet-bits-in-sw</link><description>Hi, 
 I have been trying to use the radio_test example application to try and accomplish my goal but no success so far. My goal is to be able to compose an advertisement packet (Preamble + Access Code + PDU + CRC) pre-whitened and have it transmitted</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 11 Feb 2025 12:55:04 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/118715/specify-exact-ble-advert-packet-bits-in-sw" /><item><title>RE: Specify exact BLE advert packet bits in SW</title><link>https://devzone.nordicsemi.com/thread/522439?ContentTypeID=1</link><pubDate>Tue, 11 Feb 2025 12:55:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:354b68cf-7bfb-4d5c-b05c-7e3447f5c9c7</guid><dc:creator>ytesfai</dc:creator><description>&lt;p&gt;Hi &lt;a href="https://devzone.nordicsemi.com/members/emil-lenngren"&gt;Emil Lenngren&lt;/a&gt;&amp;nbsp;, yes I agree - unfortunately I didn&amp;#39;t include all the combinations I tried but I tried both with whitened access address (more in desperation) and with just PDU+CRC whitened. I also tried no pre-whitening and had the radio perform whitening.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Specify exact BLE advert packet bits in SW</title><link>https://devzone.nordicsemi.com/thread/522437?ContentTypeID=1</link><pubDate>Tue, 11 Feb 2025 12:46:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d3532ca6-8860-4c1f-a22e-55b32b13c8a0</guid><dc:creator>Emil Lenngren</dc:creator><description>&lt;p&gt;You wrote &amp;quot;&lt;span&gt;Whitened Adv Access Address (Whitened&amp;nbsp;0x8E89BED6)&amp;quot;, but the access address is not part of the data that is whitened. Only the PDU+CRC is whitened. The whitening is performed after the CRC has been both calculated and appended to the PDU.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Specify exact BLE advert packet bits in SW</title><link>https://devzone.nordicsemi.com/thread/522432?ContentTypeID=1</link><pubDate>Tue, 11 Feb 2025 12:35:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:447d3cdd-00e0-412c-93e7-06d4a66d0506</guid><dc:creator>ytesfai</dc:creator><description>&lt;p&gt;Hi again,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I&amp;#39;m still stuck on this issue. I&amp;#39;ve tried various permutations of actual Base and Prefix registers to specify the access address, as well as header+PDU+CRC including inserting CRC from my code vs having the radio chip compute and insert the CRC block. I&amp;#39;ve also tried both pre-whitening the PDU+CRC in my application vs having the radio do the whitening and I still cannot receive the packet transmitted to be received by a BT sniffer. I suspect that I have:&lt;/p&gt;
&lt;p&gt;- Bit ordering error&lt;br /&gt;- Endianness issue&lt;br /&gt;- Configuration issue&lt;br /&gt;- Something else?&lt;/p&gt;
&lt;p&gt;I received an email on 2/7 with the message that an Engineer has been assigned to look into this. Is this still the case? Any updates?&lt;/p&gt;
&lt;p&gt;Thanks&lt;br /&gt;Yohannes&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Specify exact BLE advert packet bits in SW</title><link>https://devzone.nordicsemi.com/thread/521838?ContentTypeID=1</link><pubDate>Fri, 07 Feb 2025 01:08:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d6be4124-37ad-4bd9-a981-66e3ca4aac11</guid><dc:creator>ytesfai</dc:creator><description>&lt;p&gt;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/members/emil-lenngren"&gt;Emil Lenngren&lt;/a&gt;,&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/members/hmolesworth"&gt;hmolesworth&lt;/a&gt;&amp;nbsp; thanks so much for the quick responses. I get now how to disable CRC as well as disable whitening in the radio and do both those in SW. So the composed packet I have now is:&lt;/p&gt;
&lt;p&gt;[PREAMBLE (0xAA), Whitened Adv Access Address (Whitened&amp;nbsp;0x8E89BED6), Whitened PDU, Whitened CRC]&lt;/p&gt;
&lt;p&gt;Then configure radio:&lt;/p&gt;
&lt;p&gt;-&amp;nbsp;RADIO_CRCCNF_LEN_Disabled (disable CRC)&lt;/p&gt;
&lt;p&gt;- Set whiteen in nrf_radio_packet_conf_t to false (disable whitening)&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I will try this and report back, but in the meantime any guidance you can provide from your experience would be great.&lt;/p&gt;
&lt;p&gt;Thanks&lt;br /&gt;Yohannes&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Specify exact BLE advert packet bits in SW</title><link>https://devzone.nordicsemi.com/thread/521828?ContentTypeID=1</link><pubDate>Thu, 06 Feb 2025 22:29:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5347e26c-e3f4-4632-9fac-a9434dd58462</guid><dc:creator>hmolesworth</dc:creator><description>&lt;p&gt;You might find this discussion useful in addition to Emil&amp;#39;s comments; I show a manually-constructed packet which is derived from multiple previous posts&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/117777/radio-2-4ghz-length-field-again/517099"&gt;radio-2-4ghz-length-field&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Specify exact BLE advert packet bits in SW</title><link>https://devzone.nordicsemi.com/thread/521826?ContentTypeID=1</link><pubDate>Thu, 06 Feb 2025 22:24:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cf96f9db-305f-419f-9361-eb96821692ea</guid><dc:creator>Emil Lenngren</dc:creator><description>&lt;p&gt;If you read the specification at&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ps_nrf52832/page/radio.html"&gt;docs.nordicsemi.com/.../radio.html&lt;/a&gt;, you can see that it is possible to disable the crc and whitening in the corresponding configuration registers, but it&amp;#39;s not possible to remove the preamble or access address. I think you need to set STATLEN to 3 if you want to send or receive the CRC raw.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>