<?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 Sync Transfer (PAST) Peripheral issue</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/100282/periodic-advertising-sync-transfer-past-peripheral-issue</link><description>Hi, 
 My configuration is as follow : 
 NCS : 2.2.0 
 DK : nrf52833DK (pca10100) 
 Dev environnement :Ubuntu 20.04 
 IDE : visual studio code with NCS plugin 
 
 I&amp;#39;m trying to develop some behaviors based on PAST (Periodic Advertising Sync Transfer) procedure</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 08 Jun 2023 14:31:51 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/100282/periodic-advertising-sync-transfer-past-peripheral-issue" /><item><title>RE: Periodic Advertising Sync Transfer (PAST) Peripheral issue</title><link>https://devzone.nordicsemi.com/thread/430031?ContentTypeID=1</link><pubDate>Thu, 08 Jun 2023 14:31:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b07201ab-793a-4983-8c39-bbe90f682b65</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thank you. It seems like we did consider supporting this but chose not to as a trade-off to reduce memory usage in the controller.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Periodic Advertising Sync Transfer (PAST) Peripheral issue</title><link>https://devzone.nordicsemi.com/thread/430019?ContentTypeID=1</link><pubDate>Thu, 08 Jun 2023 13:55:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a8854c0f-a3f2-4d3c-b2d3-ace232d581b7</guid><dc:creator>CHATAR</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Indeed it is a good idea for a workaround, do you think that in future evolution of NCS/Zephyr, a native callback in central PAST of received sync from peripheral PAST will be added ?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;In any case, thank you a lot for your support &lt;a href="https://devzone.nordicsemi.com/members/vibe"&gt;Vidar Berg&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Periodic Advertising Sync Transfer (PAST) Peripheral issue</title><link>https://devzone.nordicsemi.com/thread/429809?ContentTypeID=1</link><pubDate>Wed, 07 Jun 2023 13:59:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fce0c93b-1c82-4b24-abe5-9fa0de74f563</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Unfortunately, the PAST procedure doesn&amp;#39;t provide any feedback to the sender about a sync being successful.&amp;nbsp;A workaround could be waiting for more than 6 PA intervals on the sender to be sure the receiver has synced (or timed out trying).&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Periodic Advertising Sync Transfer (PAST) Peripheral issue</title><link>https://devzone.nordicsemi.com/thread/429742?ContentTypeID=1</link><pubDate>Wed, 07 Jun 2023 10:55:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a75bfd73-46af-449b-b5ac-20b837015ce7</guid><dc:creator>CHATAR</dc:creator><description>&lt;p&gt;Hi &lt;a href="https://devzone.nordicsemi.com/members/vibe"&gt;Vidar Berg&lt;/a&gt;&amp;nbsp;,&lt;/p&gt;
&lt;p&gt;Right, when I add&amp;nbsp;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/connectivity/bluetooth/api/connection_mgmt.html#c.bt_conn_cb.remote_info_available"&gt;remote_info_available&lt;/a&gt;&lt;span&gt;&amp;nbsp;callback and wait for the feature exchage, the PAST works well with scenario 1-b, that&amp;nbsp; is a good news.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I have one last question,&amp;nbsp; can the central PAST receive callback when using&amp;nbsp;&lt;/span&gt;bt_le_per_adv_sync_transfer() method to indicate that the peripheral PAST has synced with the periodic adv ? I want to transfer more than one periodic adv, and I need to know when the peripheral synced with the first before transferring the second one.&lt;/p&gt;
&lt;p&gt;Thank you&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Periodic Advertising Sync Transfer (PAST) Peripheral issue</title><link>https://devzone.nordicsemi.com/thread/429462?ContentTypeID=1</link><pubDate>Tue, 06 Jun 2023 07:07:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b55f3aeb-52ee-43f5-a890-e621d8374b12</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I checked with our Bluetooth controller team, and they said the HCI UNSUPPORTED REMOTE FEATURE error is raised if you try&amp;nbsp;to send a PAST from the connected callback before the feature exchange has been completed. So, the solution should be to wait for the feature exchange to be completed. You can register the&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/connectivity/bluetooth/api/connection_mgmt.html#c.bt_conn_cb.remote_info_available"&gt;remote_info_available&lt;/a&gt;&amp;nbsp;callback&amp;nbsp;to get notified of this.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Periodic Advertising Sync Transfer (PAST) Peripheral issue</title><link>https://devzone.nordicsemi.com/thread/429339?ContentTypeID=1</link><pubDate>Mon, 05 Jun 2023 13:49:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:949e1906-4527-49f4-bc7c-b69ab4868bc0</guid><dc:creator>CHATAR</dc:creator><description>&lt;p&gt;Hi &lt;a href="https://devzone.nordicsemi.com/members/vibe"&gt;Vidar Berg&lt;/a&gt;&amp;nbsp;,&lt;/p&gt;
&lt;p&gt;Indeed the new version of NCS 2.4.0 fixes a lot of stuff for periodic advertising Sync Transfer including my issue (2) of my previous message. But the issue (1) with the &lt;strong&gt;scenario (1-b)&lt;/strong&gt; isn&amp;#39;t fixed yet, I got the error -5 with &lt;strong&gt;opcode&lt;/strong&gt; : &lt;strong&gt;0x205a&lt;/strong&gt; (HCI_LE_Periodic_- Advertising_Sync_Transfer) and &lt;strong&gt;status&lt;/strong&gt; :&lt;strong&gt;0x1A&lt;/strong&gt; (&amp;lt;wrn&amp;gt; bt_hci_core: opcode 0x205a status 0x1a)&lt;/p&gt;
&lt;p&gt;The status 0x1a (&lt;strong&gt;UNSUPPORTED REMOTE FEATURE&lt;/strong&gt;) indicates that remote doesn&amp;#39;t support the PAST feature which is&amp;nbsp; very surprising because int the &lt;strong&gt;(scenario 1-a)&lt;/strong&gt; it works well, it seems that the order of operations (connection and periodic sync) is very important. I checked in the core specification 5.4 about the order of connection and periodic sync and it is not mentionned, it just said that a valid connection should be in progress when transfering the periodic advertising !&lt;/p&gt;
&lt;p&gt;The scenario 1-b is very important in our case, do you have any idea why it doesn&amp;#39;t work in scenario 1-b ?&lt;/p&gt;
&lt;p&gt;Thank you&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Periodic Advertising Sync Transfer (PAST) Peripheral issue</title><link>https://devzone.nordicsemi.com/thread/428928?ContentTypeID=1</link><pubDate>Fri, 02 Jun 2023 08:22:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1bd6fae8-262c-46e9-90f2-f1bd9ead6555</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;nRF Connect SDK v.2.4.0 is released now, and it includes&amp;nbsp;several bug fixes related to PAST:&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.4.0/nrfxlib/softdevice_controller/CHANGELOG.html#nrf-connect-sdk-v2-4-0"&gt;https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.4.0/nrfxlib/softdevice_controller/CHANGELOG.html#nrf-connect-sdk-v2-4-0&lt;/a&gt;. Can you please give the new version a try and see if it works better?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Vidar&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Periodic Advertising Sync Transfer (PAST) Peripheral issue</title><link>https://devzone.nordicsemi.com/thread/428802?ContentTypeID=1</link><pubDate>Thu, 01 Jun 2023 14:54:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4c081ab1-c77e-4cf6-a9cd-269f403f101c</guid><dc:creator>CHATAR</dc:creator><description>&lt;p&gt;Hi &lt;a href="https://devzone.nordicsemi.com/members/vibe"&gt;Vidar Berg&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thank you for your reply.&lt;/p&gt;
&lt;p&gt;Indeed with NCS 2.3.0, the example compiles, it works well but I have some remarks/questions :&lt;/p&gt;
&lt;p&gt;1- In the central PAST example, it at first connect to the peripheral and then sync to periodic_adv then transfer the periodic sync info to peripheral PAST, but when I try to sync with periodic_adv first then connect to peripheral PAST and transfer the sync info, it gives me error -5&lt;/p&gt;
&lt;p&gt;a) Central -&amp;gt; connect peripheral_past -&amp;gt;&lt;span&gt;sync to periodic adv&amp;nbsp;(synced)&lt;/span&gt; -&amp;gt; central transfer sync info to periphral -&amp;gt; &lt;strong&gt;&lt;span style="color:#339966;"&gt;works well&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;b) Central -&amp;gt; sync to periodic adv (synced)&amp;nbsp;--&amp;gt;&amp;nbsp; connect peripheral_past -&amp;gt; central transfer sync info to periphral -&amp;gt;&lt;strong&gt; &lt;span style="color:#ff0000;"&gt;error -5&amp;nbsp;&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#000000;"&gt;Why do I have an error in scenario b)&amp;nbsp; whereas I have a valid sync info ?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#000000;"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#000000;"&gt;2- In the peripheral PAST side, when I retrieve the periodic sync from the central, I send disconnect command and I try to restart LE advertising with&amp;nbsp;bt_le_adv_start in disconnect event, I have no error (err_code = 0) but the advertising doesn&amp;#39;t restart (I don&amp;#39;t see any advertising with Android nRF Connect) !&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#000000;"&gt;If i do not retrieve the&amp;nbsp;&lt;span&gt;periodic sync&lt;/span&gt; and&amp;nbsp;i&amp;nbsp;&lt;span&gt;send disconnect&amp;nbsp;then restart&amp;nbsp;LE advertising in disconnect event, in this case it works !&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#000000;"&gt;&lt;span&gt;Do you have an explanation to these behaviors ?&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#000000;"&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#000000;"&gt;&lt;span&gt;Thank you for your replies&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Periodic Advertising Sync Transfer (PAST) Peripheral issue</title><link>https://devzone.nordicsemi.com/thread/428419?ContentTypeID=1</link><pubDate>Wed, 31 May 2023 11:08:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:61644bfa-de63-41f5-ac71-a136c1a7fe63</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;NCS v2.2.0 did not include&amp;nbsp;BT_CTLR_SYNC_TRANSFER_RECEIVER_SUPPORT in the Bluetooth controller (Zephyr or Softdevice). This is why the sample will only builds for simulation targets. I recommend you upgrade to v2.3.0 for now until v2.4.0 gets released.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Softdevice controller features supported in NCS 2.3.0 -&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.3.0/nrfxlib/softdevice_controller/README.html"&gt;https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.3.0/nrfxlib/softdevice_controller/README.html&lt;/a&gt;&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/pastedimage1685531258474v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>