<?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>Periodic advertising data</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/116443/periodic-advertising-data</link><description>Hi, I am trying to understand periodic advertising and some basic questions: 
 I am using periodic_adv example from the NCS. 
 
 I see teo ADV data defined in the file as shown below. How will this data be used ? 
 
 
 When I used wireshark I can see</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 24 Feb 2025 22:11:06 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/116443/periodic-advertising-data" /><item><title>RE: Periodic advertising data</title><link>https://devzone.nordicsemi.com/thread/524450?ContentTypeID=1</link><pubDate>Mon, 24 Feb 2025 22:11:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9f0c0240-1428-42f2-8ea5-f373be7f091d</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The &lt;a href="https://github.com/nrfconnect/sdk-zephyr/blob/v3.7.99-ncs1/include/zephyr/bluetooth/gap.h#L92"&gt;BT_DATA_MANUFACTURER_DATA&lt;/a&gt;&lt;span&gt;&amp;nbsp;is set to the&amp;nbsp;&lt;/span&gt;&lt;span&gt;periodic advertising data by&amp;nbsp;&lt;a href="https://github.com/nrfconnect/sdk-zephyr/blob/v3.7.99-ncs1/samples/bluetooth/periodic_adv/src/main.c#L78"&gt;this line&lt;/a&gt;&amp;nbsp;and shown as&amp;nbsp;&lt;/span&gt;&lt;br /&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/pastedimage1740435024325v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;-Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Periodic advertising data</title><link>https://devzone.nordicsemi.com/thread/524203?ContentTypeID=1</link><pubDate>Sun, 23 Feb 2025 13:34:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bafdb024-ac7c-4a2c-b80e-fe0ddbe07e71</guid><dc:creator>DanisXZ</dc:creator><description>&lt;p&gt;Hi &lt;a href="https://devzone.nordicsemi.com/members/sigurdon"&gt;Sigurd&lt;/a&gt;&amp;nbsp;,&lt;br /&gt;&lt;br /&gt;Please find the sniffer file attached herewith. Device address is C4:C1:82:92:F3:CA&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/5023.wireshark.pcapng"&gt;devzone.nordicsemi.com/.../5023.wireshark.pcapng&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Periodic advertising data</title><link>https://devzone.nordicsemi.com/thread/512371?ContentTypeID=1</link><pubDate>Wed, 27 Nov 2024 13:25:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c8c1b37e-f753-4921-a2d4-02573d9b539f</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi!&lt;/p&gt;
&lt;p&gt;Could you save and upload the sniffer file?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Periodic advertising data</title><link>https://devzone.nordicsemi.com/thread/511781?ContentTypeID=1</link><pubDate>Sun, 24 Nov 2024 14:11:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6b40029f-1b57-460b-9553-8cfe9e6dcd94</guid><dc:creator>DanisXZ</dc:creator><description>&lt;p&gt;Thank you &lt;a href="https://devzone.nordicsemi.com/members/amanda"&gt;Amanda Hsieh&lt;/a&gt;&amp;nbsp; for your reply.&lt;/p&gt;
&lt;p&gt;Why am I not seeing the periodic adv data in the sniffer ?&lt;br /&gt;&lt;br /&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/pastedimage1732457480352v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Periodic advertising data</title><link>https://devzone.nordicsemi.com/thread/510965?ContentTypeID=1</link><pubDate>Mon, 18 Nov 2024 21:17:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ac1fe51e-3ae5-42d8-b7a8-a11f922d79c9</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;1. The&amp;nbsp;&lt;span&gt;periodic_adv example starts&amp;nbsp;Extended Advertising with the device name package, so it comes with the&amp;nbsp;&lt;code&gt;AUX_ADV_IND. See&lt;/code&gt;&lt;/span&gt;&amp;nbsp;&lt;a href="https://github.com/nrfconnect/sdk-zephyr/blob/v3.7.99-ncs1/samples/bluetooth/periodic_adv/src/main.c#L64C9-L64C28"&gt;this line&lt;/a&gt;. Then BT_DATA_MANUFACTURER_DATA is set to the&amp;nbsp;&lt;span&gt;periodic advertising data with &lt;a href="https://github.com/nrfconnect/sdk-zephyr/blob/v3.7.99-ncs1/samples/bluetooth/periodic_adv/src/main.c#L78"&gt;this line&lt;/a&gt;, so it comes with the&amp;nbsp;AUX_SYNC_IND.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;2. You&amp;nbsp;can replace BT_LE_EXT_ADV_NCONN with&amp;nbsp;&lt;a href="https://docs.zephyrproject.org/latest/doxygen/html/group__bt__gap.html#ga7e46a64af0036c433c2e940ce7db0a05"&gt;BT_LE_EXT_ADV_NCONN_IDENTITY&lt;/a&gt;.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;diff --git a/samples/bluetooth/periodic_adv/src/main.c b/samples/bluetooth/periodic_adv/src/main.c
index a927c82e16c..425eccdbae3 100644
--- a/samples/bluetooth/periodic_adv/src/main.c
+++ b/samples/bluetooth/periodic_adv/src/main.c
@@ -31,7 +31,8 @@ int main(void)
        }

        /* Create a non-connectable advertising set */
-       err = bt_le_ext_adv_create(BT_LE_EXT_ADV_NCONN, NULL, &amp;amp;adv);
+
+       err = bt_le_ext_adv_create(BT_LE_EXT_ADV_NCONN_IDENTITY, NULL, &amp;amp;adv);
        if (err) {
                printk(&amp;quot;Failed to create advertising set (err %d)\n&amp;quot;, err);
                return 0;&lt;/pre&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;3.&amp;nbsp;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 packets&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/nrfutil/page/nrfutil-ble-sniffer/guides/common_actions_sniffing_adv_periodic_adv.html#sniffing-advertisement-packets-involving-a-periodic-advertiser" rel="noopener noreferrer" target="_blank"&gt;nRF Sniffer for Bluetooth LE guide&lt;/a&gt;.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Regards,&lt;br /&gt;Amanda H.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>