<?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>TEsting the periodic advertising example with nrf52840 dongle sniffer</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/123867/testing-the-periodic-advertising-example-with-nrf52840-dongle-sniffer</link><description>Hi all, 
 Im testing the &amp;quot;periodic_advertising_example&amp;quot; but in wireshark (nrf52840 dongle) I can just receive the AUX_ADV_IND packet below. I can I see the periodic advertising data ? 
 
 
 Thanks.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 27 Aug 2025 10:01:04 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/123867/testing-the-periodic-advertising-example-with-nrf52840-dongle-sniffer" /><item><title>RE: TEsting the periodic advertising example with nrf52840 dongle sniffer</title><link>https://devzone.nordicsemi.com/thread/546873?ContentTypeID=1</link><pubDate>Wed, 27 Aug 2025 10:01:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1985f54d-3026-47b0-b530-49a6bbed2722</guid><dc:creator>NCKGTW</dc:creator><description>&lt;p&gt;thanks a lot, is working now.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: TEsting the periodic advertising example with nrf52840 dongle sniffer</title><link>https://devzone.nordicsemi.com/thread/546811?ContentTypeID=1</link><pubDate>Tue, 26 Aug 2025 18:35:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ebf7c226-929f-42f7-bb51-634395185088</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Please enable the Interface Toolbar for nRF Sniffer via View -&amp;gt;&amp;nbsp;&lt;span&gt;&amp;nbsp;Interface Toolbar -&amp;gt;&amp;nbsp;nRF Sniffer for Bluetooth LE&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1756233123725v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Follow up on your device from the Interface Toolbar.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1756233241258v2.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: TEsting the periodic advertising example with nrf52840 dongle sniffer</title><link>https://devzone.nordicsemi.com/thread/546721?ContentTypeID=1</link><pubDate>Tue, 26 Aug 2025 08:15:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1536c184-db9f-4c32-8f89-8707a0ac436f</guid><dc:creator>NCKGTW</dc:creator><description>&lt;p&gt;Hi Amanda ,&lt;/p&gt;
&lt;p&gt;I already changed the line&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;err = bt_le_ext_adv_create(BT_LE_EXT_ADV_NCONN, NULL, &amp;amp;adv);&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;to&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;err = bt_le_ext_adv_create(BT_LE_EXT_ADV_NCONN_IDENTITY, NULL, &amp;amp;adv);&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;but I cant see any periodic_av train (&lt;span&gt;AUX_SYNC_IND packet).&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;How can the dongle subscribe for this events ?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;strong&gt;You say :&lt;/strong&gt;&lt;em&gt; &amp;quot;When you select a device in Wireshark, you&amp;#39;re essentially synchronizing with its periodic advertising train. The sniffer follows the periodic advertising and subscribes to the subevent, which is why you&amp;#39;re seeing the AUX_SYNC_IND&amp;quot;&lt;/em&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;em&gt;&lt;/em&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;How can I seect the device in wireshark so that it subscribe to the periodic events?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;What I can see are just 3 packet related to the device but not seems to be the peridoic data!&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1756196105568v3.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;em&gt;&lt;/em&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;em&gt;Thanks&amp;nbsp;&lt;/em&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;em&gt;&lt;/em&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;em&gt;&lt;/em&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: TEsting the periodic advertising example with nrf52840 dongle sniffer</title><link>https://devzone.nordicsemi.com/thread/546670?ContentTypeID=1</link><pubDate>Mon, 25 Aug 2025 19:46:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cc840866-1dbc-4529-a84d-8dea82384a41</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Check &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/116443/periodic-advertising-data/510965"&gt;this post&lt;/a&gt;.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: TEsting the periodic advertising example with nrf52840 dongle sniffer</title><link>https://devzone.nordicsemi.com/thread/546511?ContentTypeID=1</link><pubDate>Fri, 22 Aug 2025 20:02:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:12bb2bf6-6a96-48b0-b9b3-b2cff2e04d64</guid><dc:creator>NCKGTW</dc:creator><description>&lt;p&gt;Hi Amanda,&lt;/p&gt;
&lt;p&gt;thanks fro replying me.&lt;/p&gt;
&lt;p&gt;What I cant see in the sniffer are the &amp;quot;peridic advertising data&amp;quot; ; I mean reading the example code in the while (true) there is the following call:&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;em&gt;err = bt_le_per_adv_set_data(adv, per_adv_ad, ARRAY_SIZE(per_adv_ad));&lt;/em&gt;&lt;/div&gt;
&lt;div&gt;&lt;em&gt;&lt;/em&gt;&lt;/div&gt;
&lt;div&gt;so I expected to find also the data inside the :&lt;/div&gt;
&lt;div&gt;&lt;em&gt;&lt;/em&gt;&lt;/div&gt;
&lt;div&gt;&lt;em&gt;&lt;/em&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;&lt;strong&gt;&amp;quot;per_adv_ad&amp;quot;&lt;/strong&gt; payload and in particular the &lt;strong&gt;&amp;quot;mfg_data[]&amp;quot;&lt;/strong&gt;&amp;nbsp;buffer content:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;strong&gt;&lt;em&gt;static const struct bt_data per_adv_ad[] = {&lt;br /&gt; BT_DATA(BT_DATA_MANUFACTURER_DATA, mfg_data, 3),&lt;br /&gt;};&lt;/em&gt;&lt;/strong&gt;&lt;/div&gt;
&lt;div&gt;&lt;strong&gt;&lt;em&gt;&lt;/em&gt;&lt;/strong&gt;&lt;/div&gt;
&lt;div&gt;How can also read the periodic advertising data ?&lt;/div&gt;
&lt;div&gt;is the nrf52840 dongle able to read it?&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;Thanks again.&lt;/div&gt;
&lt;div&gt;Nicola&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;&lt;em&gt;&lt;/em&gt;&lt;/div&gt;
&lt;div&gt;&lt;em&gt;&lt;/em&gt;&lt;/div&gt;
&lt;div&gt;&lt;em&gt;&lt;/em&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: TEsting the periodic advertising example with nrf52840 dongle sniffer</title><link>https://devzone.nordicsemi.com/thread/546510?ContentTypeID=1</link><pubDate>Fri, 22 Aug 2025 19:48:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:82ef925e-e95f-45bc-959b-6345dd41ee1b</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The &lt;span&gt;advertising data is a&lt;/span&gt;s you see in the sniffer log.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1755892069837v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/nrfconnect/sdk-zephyr/blob/v4.0.99-ncs1/samples/bluetooth/periodic_adv/src/main.c#L15-L17"&gt;https://github.com/nrfconnect/sdk-zephyr/blob/v4.0.99-ncs1/samples/bluetooth/periodic_adv/src/main.c#L15-L17&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/nrfconnect/sdk-zephyr/blob/v4.0.99-ncs1/samples/bluetooth/periodic_adv/prj.conf#L5"&gt;https://github.com/nrfconnect/sdk-zephyr/blob/v4.0.99-ncs1/samples/bluetooth/periodic_adv/prj.conf#L5&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>