<?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>Understanding periodic advertising using periodic_adv and periodic_sync</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/110830/understanding-periodic-advertising-using-periodic_adv-and-periodic_sync</link><description>Hello, I am a beginner with the Nordic development kits. I have purchased two nRF52833 development kits and I would like to perform Bluetooth Direction Finding with these kits. Before that, I would first like to implement periodic advertising of BLE packets</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 13 May 2024 09:27:29 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/110830/understanding-periodic-advertising-using-periodic_adv-and-periodic_sync" /><item><title>RE: Understanding periodic advertising using periodic_adv and periodic_sync</title><link>https://devzone.nordicsemi.com/thread/482982?ContentTypeID=1</link><pubDate>Mon, 13 May 2024 09:27:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b522f2d0-fe27-47ef-afc6-917850a308b1</guid><dc:creator>Menon</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;The timeout parameter in the sync creation process might be the reason for the periodic sync getting lost. See &lt;em&gt;sync_create_param.timeout = 0xaa&amp;nbsp;&lt;/em&gt;inside the main file of the sample; this sets the timeout parameters for the advertising synchronisation process. This specifies the maximum time that can pass without successfully receiving a periodic advertising packet before the synchronisation is considered lost. So from the sample, synchronisation will be considered lost if no packets are received in 1.7 sec/1700 ms (0xaa = 170 * 10 ms). See the below threads, which discuss more on this:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/84232/more-information-about-skip-and-timeout-parameters-of-ble-5-advertising"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/84232/more-information-about-skip-and-timeout-parameters-of-ble-5-advertising&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/103167/bt_le_per_adv_sync_create-term-event-timing"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/103167/bt_le_per_adv_sync_create-term-event-timing&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Kind Regards,&lt;/p&gt;
&lt;p&gt;Abhijith&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><item><title>RE: Understanding periodic advertising using periodic_adv and periodic_sync</title><link>https://devzone.nordicsemi.com/thread/481917?ContentTypeID=1</link><pubDate>Mon, 06 May 2024 07:09:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ab80d224-b41f-4071-a817-689b51d03125</guid><dc:creator>Abudoo99</dc:creator><description>&lt;p&gt;Hello, an UPDATE:&lt;/p&gt;
&lt;p&gt;I had commented out the prints from the scan_recv() function so I was able to get a clearer picture of what is going on. I was able to edit the data sent.&lt;/p&gt;
&lt;p&gt;I have made some changes to the periodic_adv sample as well: I am sending data continuously in an infinite loop instead of sending three packets every 10 seconds. I have also commented out the code that stops the extended advertising.&lt;/p&gt;
&lt;p&gt;I can see that the periodic sync is getting lost at random timings. Although it is in a do-while loop so it establishes the connection again, I would like to know if this is an observed behavior with periodic advertising or is it something we can change by changing the timeout?&lt;/p&gt;
&lt;p&gt;Here is the log from periodic_sync sample receiving packets every five seconds from periodic_adv sample:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/periodic_5F00_sync_5F00_log_5F00_2.txt"&gt;devzone.nordicsemi.com/.../periodic_5F00_sync_5F00_log_5F00_2.txt&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Understanding periodic advertising using periodic_adv and periodic_sync</title><link>https://devzone.nordicsemi.com/thread/481873?ContentTypeID=1</link><pubDate>Sun, 05 May 2024 00:39:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8845c1db-3214-4150-8f73-4aa7bb68bd41</guid><dc:creator>Abudoo99</dc:creator><description>&lt;p&gt;I am using SDK v2.6.0 and yes I am trying the periodic_sync example from the SDK samples.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;This is the entire log for the periodic _sync sample. I am also running the periodic_adv sample when I am running the periodic_sync. I am using TeraTerm to capture the log:&lt;br /&gt;&lt;br /&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/periodic_5F00_sync_5F00_log.txt"&gt;devzone.nordicsemi.com/.../periodic_5F00_sync_5F00_log.txt&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I can see that it says &amp;#39;Found periodic advertising&amp;#39; and &amp;#39;Periodic Sync established&amp;#39; which means that the code works. But I am unable to find the mfg_data[] that I sent. I would also like to know how I can use this sync to transfer data of my choice.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Understanding periodic advertising using periodic_adv and periodic_sync</title><link>https://devzone.nordicsemi.com/thread/481758?ContentTypeID=1</link><pubDate>Fri, 03 May 2024 11:21:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e3f00659-38ab-457b-83d3-632900e25633</guid><dc:creator>Menon</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Could you share some more details, like which SDK version you are using here? Are you trying the&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/samples/bluetooth/periodic_sync/README.html"&gt; periodic advertising synchronisation sample&lt;/a&gt; from the SDK? If so, could you attach the whole log here? You can paste this using the insert tab.&lt;/p&gt;
&lt;p&gt;Kind Regards,&lt;/p&gt;
&lt;p&gt;Abhijith&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>