<?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>Synchronisation between TX and RX in connectionless direction finding</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/119259/synchronisation-between-tx-and-rx-in-connectionless-direction-finding</link><description>We&amp;#39;re trying to synchronise TX and RX in a connectionless direction finding setup. What we want to do is increment a data counter, log this on the TX timestamped, and send this as part of the periodic advertisement packet so that we can log it on the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 12 Mar 2025 09:20:45 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/119259/synchronisation-between-tx-and-rx-in-connectionless-direction-finding" /><item><title>RE: Synchronisation between TX and RX in connectionless direction finding</title><link>https://devzone.nordicsemi.com/thread/526866?ContentTypeID=1</link><pubDate>Wed, 12 Mar 2025 09:20:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:43a68985-518d-4886-8848-e61a772d98cd</guid><dc:creator>ghms</dc:creator><description>&lt;p&gt;Hi, Simon&lt;/p&gt;
&lt;p&gt;I did try your suggestion, which allowed me to send updated data eventually. It was still quite finicky to merge it with the connectionless direction finding samples, but eventually I managed to get something working. Still don&amp;#39;t know what was wrong, but this is resolved. May have a follow-up question to this, but will create a new post based on the new, working code&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Glen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Synchronisation between TX and RX in connectionless direction finding</title><link>https://devzone.nordicsemi.com/thread/525887?ContentTypeID=1</link><pubDate>Wed, 05 Mar 2025 08:57:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b481f9b8-ead5-44ba-8090-c2a5eeea3c1b</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi Glen&lt;/p&gt;
&lt;p&gt;Could it be that you have made too many changes too quickly, and now don&amp;#39;t know where the issue exactly lies now.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Starting out with the working samples, I recommend that you do incremental updates on both TX and RX samples, then confirm the change you made works, before moving on to the next feature/implementation. For example. To get updated periodic advertising data, start testing with the periodic_adv and periodic_sync sample, then make changes to the connectionless TX/RX samples of Direction Finding and make sure that works before moving on.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m not able to see an obvious issue with your sync function, and it&amp;#39;s hard to pin point what exactly is going wrong here, so I think taking a step or two back would be the right approach here.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Synchronisation between TX and RX in connectionless direction finding</title><link>https://devzone.nordicsemi.com/thread/525554?ContentTypeID=1</link><pubDate>Mon, 03 Mar 2025 14:52:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bee4fc23-bfbb-4768-be33-c169444240a0</guid><dc:creator>ghms</dc:creator><description>&lt;p&gt;Hi Simon,&lt;/p&gt;
&lt;p&gt;Yes, that is enabled. My sync function looks like this&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;static void create_sync(void)
{
    struct bt_le_per_adv_sync_param sync_create_param;
    int err;

    // printk(&amp;quot;Creating Periodic Advertising Sync...&amp;quot;);
    bt_addr_le_copy(&amp;amp;sync_create_param.addr, &amp;amp;per_addr);
    sync_create_param.options =
        BT_LE_PER_ADV_SYNC_OPT_FILTER_DUPLICATE | BT_LE_PER_ADV_SYNC_OPT_SYNC_ONLY_CONST_TONE_EXT;
    sync_create_param.sid = per_sid;
    sync_create_param.skip = 0;
    sync_create_param.timeout = 0xa;
    err = bt_le_per_adv_sync_create(&amp;amp;sync_create_param, &amp;amp;sync);
    if (err)
    {
        //   printk(&amp;quot;failed (err %d)\n&amp;quot;, err);
        return;
    }
    // printk(&amp;quot;success.\n&amp;quot;);
}

&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Synchronisation between TX and RX in connectionless direction finding</title><link>https://devzone.nordicsemi.com/thread/525317?ContentTypeID=1</link><pubDate>Fri, 28 Feb 2025 14:53:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:07342380-e013-4ca7-babf-10210f09ab8b</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Are you using &amp;quot;duplicate filtering enabled&amp;quot; in your project? Since it&amp;#39;s not mentioned I&amp;#39;m guessing not, but I want to check nonetheless.&lt;/p&gt;
&lt;p&gt;In terms of the accept list, you can use the&amp;nbsp;&lt;span&gt;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-2.7.99-cs1/page/zephyr/connectivity/bluetooth/api/gap.html"&gt;BT_LE_PER_ADV_SYNC_OPT_USE_PER_ADV_LIST &lt;/a&gt;with&amp;nbsp;bt_le_per_adv_sync_create() to have an accept list of sorts without having to connect.&amp;nbsp;&lt;/span&gt;&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: Synchronisation between TX and RX in connectionless direction finding</title><link>https://devzone.nordicsemi.com/thread/524803?ContentTypeID=1</link><pubDate>Wed, 26 Feb 2025 12:11:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:60622fb2-ea29-4d32-b539-f478d731749d</guid><dc:creator>ghms</dc:creator><description>&lt;p&gt;Hi Simon,&lt;/p&gt;
&lt;p&gt;Thanks for the quick response! In the connectionless samples, how would you go about updating the advertisement data after setting up periodic advertising? My issue with the callback shown above is that I am not getting any CTEs on the RX side, and the approach used in the connectionless direction finding samples appear to simply set it up and then not worry about the data on the TX side.&lt;/p&gt;
&lt;p&gt;The accept list seems like a useful tool, but the sample e.g., in Zephyr&amp;#39;s codebase seems to be concerned with connections, is there an equivalent solution to broadcast and scanning?&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Glen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Synchronisation between TX and RX in connectionless direction finding</title><link>https://devzone.nordicsemi.com/thread/524567?ContentTypeID=1</link><pubDate>Tue, 25 Feb 2025 11:43:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1a8fd09d-4515-4d7f-8d8d-7e51b0540b9b</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi Glen&lt;/p&gt;
&lt;p&gt;I have to ask the developers of the Direction finding sample if there is a good way to do this, but it&amp;#39;s definitely a good question. It might take a few days to get a reply, but I&amp;#39;ll let you know as soon as I have something.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;UPDATE:&amp;nbsp;&lt;/strong&gt;Got a reply pretty fast. Our devs suggest that you update the data with the latest timestamp upon advertising, so the next periodic advertising will have the last known timestamp. You can use an accept list to only get reports when the data is updated. The time sync will be off by one periodic interval in this case.&amp;nbsp;10ms.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>