<?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>Is it possible to see raw extended advertising packets?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/78641/is-it-possible-to-see-raw-extended-advertising-packets</link><description>Hi, 
 I&amp;#39;m a beginner trying to understand BLE extended advertising. I have modified the peripheral/ble_app_beacon example to broadcast extended advertising packets with PHY=Coded. I&amp;#39;m receiving the packets using the pc-ble-driver with a modified &amp;quot;heart_rate_collector</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 20 Aug 2021 09:57:24 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/78641/is-it-possible-to-see-raw-extended-advertising-packets" /><item><title>RE: Is it possible to see raw extended advertising packets?</title><link>https://devzone.nordicsemi.com/thread/325897?ContentTypeID=1</link><pubDate>Fri, 20 Aug 2021 09:57:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b5d73f2e-7eb2-4060-9c38-1a19ee7404a7</guid><dc:creator>Damia</dc:creator><description>&lt;p&gt;OK thank you a lot!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is it possible to see raw extended advertising packets?</title><link>https://devzone.nordicsemi.com/thread/325460?ContentTypeID=1</link><pubDate>Wed, 18 Aug 2021 10:57:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c7da640f-98eb-4327-b2e6-9c94ee018110</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi again&lt;/p&gt;
&lt;p&gt;I see, I didn&amp;#39;t realize you were using the pc-ble-driver. It doesn&amp;#39;t matter though, it seems. I dove into the firmware, and it seems you won&amp;#39;t be able to get the raw data from Coded PHY advertisements, as it is the SoftDevice who&amp;#39;s handling FEC decoding, and you won&amp;#39;t be able to get raw data from there. The only way would be to use a Sniffer to tap into the connection and pick up the raw data. Unfortunately, the &lt;a href="https://infocenter.nordicsemi.com/topic/ug_sniffer_ble/UG/sniffer_ble/intro.html"&gt;nRF Sniffer&lt;/a&gt; does not support sniffing the secondary advertising channels, so you will need a more expensive option like an &lt;a href="https://www.ellisys.com/support/download.php"&gt;Ellisys device&lt;/a&gt; or similar.&lt;/p&gt;
&lt;p&gt;The other option would be to use the radio peripheral directly, without the SoftDevice, but that is quite a bit of work, and would be up to you I&amp;#39;m afraid.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is it possible to see raw extended advertising packets?</title><link>https://devzone.nordicsemi.com/thread/325313?ContentTypeID=1</link><pubDate>Tue, 17 Aug 2021 13:04:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:176b5ec2-ef22-4ff3-869d-9982c49fb136</guid><dc:creator>Damia</dc:creator><description>&lt;div&gt;
&lt;div&gt;&lt;span&gt;NRF_LOG_MSGPOOL_ELEMENT_SIZE, _COUNT and NRF_LOG_RAW_HEXDUMP_INFO(...) are not defined&amp;nbsp;in the&amp;nbsp;pc-ble-driver I am currently using. Do you recommend me to program an nrf52840 with NRF_LOG_RAW_HEXDUMP_INFO() and log the raw packets to the pc&amp;nbsp;somehow? Is it possible to use a nrf52840 dongle for this or I have to buy a DK?&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is it possible to see raw extended advertising packets?</title><link>https://devzone.nordicsemi.com/thread/325307?ContentTypeID=1</link><pubDate>Tue, 17 Aug 2021 12:39:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:23d9f897-f07d-4fba-bb36-b8cf0310f108</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;If you&amp;#39;re new to the Coded PHY, I would strongly suggest checking out &lt;a href="https://www.novelbits.io/long-range-bluetooth-coded-phy/"&gt;this blog post explaining Coded PHY&lt;/a&gt;, what it is, how it&amp;#39;s used, and the packet format in detail. What have you set the NRF_LOG_MSGPOOL_ELEMENT_SIZE and _COUNT to in your config header file(s)? This has been an issue previously when trying to log raw extended advertising data:&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/40367/unable-to-hexdump-complete-extended-advertisement-data"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/40367/unable-to-hexdump-complete-extended-advertisement-data&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>