<?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>AoA direction finding sync delete/disable</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/107910/aoa-direction-finding-sync-delete-disable</link><description>I&amp;#39;m working on an application with the NRF52833 as an AoA receiver. 
 My application requires that I am able to enable the scanner for a set period of time and then stop scanning. I have an initial AoA dev/demo set up that is working relatively well with</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 31 Jan 2024 12:53:08 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/107910/aoa-direction-finding-sync-delete-disable" /><item><title>RE: AoA direction finding sync delete/disable</title><link>https://devzone.nordicsemi.com/thread/466934?ContentTypeID=1</link><pubDate>Wed, 31 Jan 2024 12:53:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a425ded6-07a6-49d5-8173-109a99da2538</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi Dan&lt;/p&gt;
&lt;p&gt;Using the&amp;nbsp;&lt;span&gt;&lt;strong&gt;bt_le_per_adv_sync_delete&lt;/strong&gt;() is perfectly fine/correct to delete/terminate/cancel an ongoing advertising sync object. I guess instead of deleting the sync, you can disable receiving periodic advertiisng reports for a sync with&amp;nbsp;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;strong&gt;bt_le_per_adv_sync_recv_disable&lt;/strong&gt; and reenable said sync with&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;strong&gt;bt_le_per_adv_sync_recv_enable&lt;/strong&gt; when necessary. That might be a cleaner option for you perhaps?&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Simon&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: AoA direction finding sync delete/disable</title><link>https://devzone.nordicsemi.com/thread/466837?ContentTypeID=1</link><pubDate>Tue, 30 Jan 2024 19:29:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6201cd08-5c57-4816-9ac4-a007507bb8de</guid><dc:creator>dsweet</dc:creator><description>&lt;p&gt;After further debug I found a bug in my code that caused me to skip waiting for the sync callback to occur before proceeding to calling&amp;nbsp;&lt;span&gt;bt_df_per_adv_sync_cte_rx_enable(), which is why I was getting -EINVAL due to a missing sync.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;That said, is deleting the sync with&amp;nbsp;&lt;/span&gt;bt_le_per_adv_sync_delete() the correct method for terminating an ongoing sync or is there a better/cleaner way to do this?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>