<?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>Improving timing accuracy by only using single advertisement channel?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/35015/improving-timing-accuracy-by-only-using-single-advertisement-channel</link><description>Hi everyone, 
 thanks for this discussion - this question addresses almost exactly a potential use case I&amp;#39;ve been looking into. 
 I&amp;#39;d like to try and implement something this using just BLE advertising first, without using the timeslot API; the only thing</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 21 Aug 2018 13:20:05 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/35015/improving-timing-accuracy-by-only-using-single-advertisement-channel" /><item><title>RE: Improving timing accuracy by only using single advertisement channel?</title><link>https://devzone.nordicsemi.com/thread/145139?ContentTypeID=1</link><pubDate>Tue, 21 Aug 2018 13:20:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:70b02d3d-8d3b-44fd-b909-dd32e99cc5d0</guid><dc:creator>Audun</dc:creator><description>&lt;p&gt;That&amp;#39;s a neat trick, I didn&amp;#39;t even think of that!&lt;/p&gt;
&lt;p&gt;Thanks for posting your results, this is pretty interesting. I guess the next challenge&amp;nbsp;&amp;nbsp;might be to&amp;nbsp;apply appropriate filter logic to the received advertisements in order to cover the case where the same advertisement packet is not picked up by all your scanners.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Improving timing accuracy by only using single advertisement channel?</title><link>https://devzone.nordicsemi.com/thread/145091?ContentTypeID=1</link><pubDate>Tue, 21 Aug 2018 11:04:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e4a91a40-6d30-433b-8a4f-18c795129f01</guid><dc:creator>Florian Echtler</dc:creator><description>&lt;p&gt;Thank you! This is the answer I was looking for.&lt;/p&gt;
&lt;p&gt;For the record, I also found a &lt;em&gt;Horrible Hack&lt;/em&gt; (TM) that has the same effect: in the softdevice binary, there is exactly one occurence of the byte sequence 0x25 0x26 0x27 (i.e. the three advertising channels). I patched the binary to 0x25 0x25 0x25, thereby hard-locking the softdevice to channel 37, and the result is below:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/1040x720/__key/communityserver-discussions-components-files/4/plot2.png" /&gt;&lt;/p&gt;
&lt;p&gt;So I can now reliably trigger two observers within 20 &amp;micro;s. Over a sampling period of 500 s, with a total of 1748 advertisements sent, both observers received 1744 simultaneous advertisements. That result is more than good enough for me :-)&lt;/p&gt;
&lt;p&gt;Once again, thank you very much for your thorough analysis!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Improving timing accuracy by only using single advertisement channel?</title><link>https://devzone.nordicsemi.com/thread/145087?ContentTypeID=1</link><pubDate>Tue, 21 Aug 2018 10:39:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ed439716-c9de-4cd9-82c4-8e8a3cc7e5bb</guid><dc:creator>Audun</dc:creator><description>&lt;p&gt;As far as I can see, it is possible to choose a subset of the advertising channels when scanning using the S132 SoftDevice on nRF52832. See the channel_mask parameter in &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s132.api.v6.0.0/group___b_l_e___g_a_p___f_u_n_c_t_i_o_n_s.html?cp=2_3_1_1_0_2_1_2_33#gabbd87dea8f218d2a7e12c40cfbc6a7d2"&gt;sd_ble_gap_scan_start()&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Using the S130, even if you won&amp;#39;t be able to avoid certain channels altogether, you can probably choose to ignore packets received on unwanted channels. For example, you might be able to read the RADIO.FREQUENCY register immediately after you&amp;#39;ve received an advertisement packet and get an accurate channel selection. Note that this register will be updated regularly, so there might be a race condition there.. I&amp;#39;m not entirely sure whether or not the S130 softdevice stays on the same channel for the duration of the scan window. If it does, you can keep track of when the scan window opened to determine if the RADIO.FREQUENCY value is correct for the received packet, or if it has just been updated to scan on a new channel.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Otherwise, using the radio notification API to manually set up BLE scanning on a single channel&amp;nbsp;might be the most robust approach. SDK 11 had an example of this:&amp;nbsp;&lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v11.0.0/ble_sdk_app_multi_activity.html?cp=4_0_9_4_2_2_25"&gt;http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v11.0.0/ble_sdk_app_multi_activity.html?cp=4_0_9_4_2_2_25&lt;/a&gt;&amp;nbsp;(removed in subsequent releases)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Improving timing accuracy by only using single advertisement channel?</title><link>https://devzone.nordicsemi.com/thread/144901?ContentTypeID=1</link><pubDate>Mon, 20 Aug 2018 10:54:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ceeb83ff-13c3-4f21-ac2c-a8149d57a187</guid><dc:creator>Florian Echtler</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/members/auko"&gt;Audun&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/members/ambystomalabs"&gt;AmbystomaLabs&lt;/a&gt;, thank you for your comments.&lt;/p&gt;
&lt;p&gt;Another side note: I don&amp;#39;t really have control over the advertiser - in the scenario I&amp;#39;m exploring, I&amp;#39;m trying to use any arbitrary advertiser (in particular, any recent smartphone) to serve as a trigger for the observers.&lt;/p&gt;
[quote userid="2167" url="~/f/nordic-q-a/35015/improving-timing-accuracy-by-only-using-single-advertisement-channel/144694"]Specifically, I wonder if the advertiser is transmitting one or multiple packets per advertising event. Normally three packets are transmitted back-to-back (one for each advertising channel), but I don&amp;#39;t know the exact interval between each packet in an event on the S130 softdevice. The BT spec only states that there should be maximum 10 ms between each packet in an advertising event.&amp;nbsp;[/quote]
&lt;p&gt;After some more digging, I think this is the core issue. I was originally thinking that I had tricked the softdevice into scanning on one channel only (by setting &lt;em&gt;window,&lt;/em&gt; &lt;em&gt;timeout&lt;/em&gt; and &lt;em&gt;interval&lt;/em&gt; all to equal values of 10 seconds and restarting the scan after the timeout).&lt;/p&gt;
&lt;p&gt;However, I&amp;#39;m quite certain now that the softdevice is still cycling through channels 37/38/39 in subsequent scans, and the time difference is simply the delay between the individual advertisements on the three channels. If I reset both observers at roughly the same time (even if there is 1-2 second of delay in between), then nearly all signals arrive within 20 &amp;micro;s of each other, meaning (IMHO) that they both are scanning on the same channel for most of the time. OTOH, if I wait for 10 seconds after resetting the first device and then reset the second one, the delay is almost exclusively 700 &amp;micro;s, meaning that they are almost always scanning on adjacent channels.&lt;/p&gt;
&lt;p&gt;EDIT: confirmed, I&amp;#39;ve just printed 2400+NRF_RADIO-&amp;gt;FREQUENCY on the serial console, and yes, it&amp;#39;s cycling through 2402, 2426 and 2480, just as I suspected.&lt;/p&gt;
&lt;p&gt;So I&amp;#39;m sort of back at my original question: is there any way to force SD130 to a single channel for scanning? If not, can I do that with SD132?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Improving timing accuracy by only using single advertisement channel?</title><link>https://devzone.nordicsemi.com/thread/144750?ContentTypeID=1</link><pubDate>Fri, 17 Aug 2018 14:19:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d711ec45-b174-46cf-87aa-5cb437c9261a</guid><dc:creator>AmbystomaLabs</dc:creator><description>&lt;p&gt;As Audun stated, you can&amp;#39;t do anything in software with pin toggles and expect accurate timing.&amp;nbsp; There is no way to infer or anticipate delays.&amp;nbsp; The ISRs are just created, queued and processed as they come.&lt;/p&gt;
&lt;p&gt;You would have to do this with radio events and PPI.&amp;nbsp; Also, since you don&amp;#39;t use the crystal 32768 your devices can be up to 500usec apart in just one second and that assumes you are actually running the cal routine.&amp;nbsp; So either you will have to sync a lot or use LF_synth.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Improving timing accuracy by only using single advertisement channel?</title><link>https://devzone.nordicsemi.com/thread/144694?ContentTypeID=1</link><pubDate>Fri, 17 Aug 2018 11:41:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2672bb3b-0a52-4b31-aa87-2b244c7853c2</guid><dc:creator>Audun</dc:creator><description>&lt;p&gt;Hi Florian,&lt;/p&gt;
&lt;p&gt;regarding the peaks you see at 700 and 1400 us, it would be interesting to get some insight into the radio hardware timing. For example, at what time the RADIO.END event is triggered (on both the advertiser and scanner boards).&lt;/p&gt;
&lt;p&gt;This can be achieved by using PPI to trigger an GPIOTE.OUT task when the RADIO.END event fires.The GPIO assigned to the corresponding GPIOTE channel (configured to toggle the pin) can be monitored using your logic analyzer.&lt;/p&gt;
&lt;p&gt;On the advertiser side, the RADIO.END event will tell us at what time a packet has finished transmitting.&lt;/p&gt;
&lt;p&gt;On the scanner side, the same event will tell us when a packet has been received. Note that this event is still triggered even if there is a CRC error, or the packet content is invalid.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Specifically, I wonder if the advertiser is transmitting one or multiple packets per advertising event. Normally three packets are transmitted back-to-back (one for each advertising channel), but I don&amp;#39;t know the exact interval between each packet in an event on the S130 softdevice. The BT spec only states that there should be maximum 10 ms between each packet in an advertising event.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Furthermore, using PPI and the RADIO.END event would offer better accuracy than a software timing mechanism. You can use the RADIO.END event to trigger a TIMER.CAPTURE task to accurately capture the reception time, and subsequently decide whether or not to use the captured timer value once the software validates the advertisement payload.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Audun&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Improving timing accuracy by only using single advertisement channel?</title><link>https://devzone.nordicsemi.com/thread/144641?ContentTypeID=1</link><pubDate>Fri, 17 Aug 2018 08:20:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:13834011-2f9b-4f51-9715-60b330e8b1bf</guid><dc:creator>Florian Echtler</dc:creator><description>&lt;p&gt;To illustrate my question in a bit more detail, here&amp;#39;s my sampled data. Test setup was as follows:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;two observers running softdevice S130 v2.0.1 on a single channel (using the parameter hack mentioned above)&lt;/li&gt;
&lt;li&gt;note: both observers use the RC clock source due to board limitations (no 32 kHz crystal)&lt;/li&gt;
&lt;li&gt;one nearby advertiser (~ 50 cm) with 450 ms advertising interval&lt;/li&gt;
&lt;li&gt;one logic analyzer with 100 kHz sampling rate, measuring a pin on both observers that gets toggled immediately when the correct advertisement was received&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The plot shows the time differences between the pin toggles. It&amp;#39;s quite apparent that there is a peak at ~ 700 &amp;micro;s and a second one at ~ 1400 &amp;micro;s.&lt;/p&gt;
&lt;p&gt;Can anyone venture an explanation? Maybe&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/members/auko"&gt;Audun&lt;/a&gt;, who seems to know a lot about the timing intricacies of the softdevice?&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/1040x720/__key/communityserver-discussions-components-files/4/4062.plot.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Improving timing accuracy by only using single advertisement channel?</title><link>https://devzone.nordicsemi.com/thread/144541?ContentTypeID=1</link><pubDate>Thu, 16 Aug 2018 13:01:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a0935cbc-900d-44d3-b97d-f6589a4f5c0a</guid><dc:creator>Florian Echtler</dc:creator><description>&lt;p&gt;P.S. ah, that was maybe a little too soon. Still getting delays between individual nodes that seem to be multiples of 700 &amp;micro;s. Does that correspond to some internal softdevice timer?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Improving timing accuracy by only using single advertisement channel?</title><link>https://devzone.nordicsemi.com/thread/144530?ContentTypeID=1</link><pubDate>Thu, 16 Aug 2018 12:20:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bb74d54a-48c1-468b-b333-0fdd5c14a68a</guid><dc:creator>Florian Echtler</dc:creator><description>&lt;p&gt;Just wanted to follow up on this: my test implementation had (stupidly) a leftover delay in the main loop. After I removed that, I can now get two scanners to react to one advertisement with less than 20 &amp;micro;s of time difference (just as expected).&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks for your help!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Improving timing accuracy by only using single advertisement channel?</title><link>https://devzone.nordicsemi.com/thread/134597?ContentTypeID=1</link><pubDate>Mon, 04 Jun 2018 14:28:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:497b8735-62ab-4171-b66c-db9b076dd5f5</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Floran,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks for the explanation. Then it&amp;#39;s quite strange that you have the timing difference between to observers. We would need to see how you configure your scanner ? Regarding scan window, scan interval, scan channel.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Also do you see that all the time or only seldom they didn&amp;#39;t toggle&amp;nbsp;at the same time ? Which softdevice did you use to test ?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you only plan to sync between observer, using advertising packet could be a solution. However, because of the lack of full control over each adv packet from the advertiser, it&amp;#39;s harder to make sure all scanner receives the same adv packet.&lt;/p&gt;
&lt;p&gt;I mean if one scanner receives but one scanner misses the packet, and only receive the one in next advertising interval, you may have a serious drift between 2 scanner.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Improving timing accuracy by only using single advertisement channel?</title><link>https://devzone.nordicsemi.com/thread/134569?ContentTypeID=1</link><pubDate>Mon, 04 Jun 2018 12:58:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:521885ff-819d-440e-9ff3-c24c782fb8c8</guid><dc:creator>Florian Echtler</dc:creator><description>&lt;p&gt;Hello Hung, thanks for your answer!&lt;/p&gt;
[quote userid="2121" url="~/f/nordic-q-a/35015/improving-timing-accuracy-by-only-using-single-advertisement-channel/134557"]Regarding the latency you observed with advertising, most likely it&amp;#39;s the random delay added into the advertising interval. By spec, each advertising interval requires to have a random delay of &amp;lt;10ms this is to avoid interference of 2 device starting to send advertising packets at the same time with same interval to be collide all the time.&amp;nbsp;[/quote]
&lt;p&gt;However, the time difference I was referring to is the time difference between two separate observers, not between individual advertisements. I don&amp;#39;t have a problem with timing uncertainty regarding when an advertisement is sent, I only want all receivers to react to the reception of the advertisement with as little individual delay as possible.&lt;/p&gt;
&lt;p&gt;Once again: before I &amp;quot;go down the rabbit hole&amp;quot; of implementing a custom timesync protocol, I want to see if this isn&amp;#39;t possible with plain BTLE after all. Think of it as a research question :-)&lt;/p&gt;
&lt;p&gt;Best, Florian&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Improving timing accuracy by only using single advertisement channel?</title><link>https://devzone.nordicsemi.com/thread/134557?ContentTypeID=1</link><pubDate>Mon, 04 Jun 2018 12:26:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cbd28dfb-54d4-4f9b-8d79-17a3d967a7d3</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Florian,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I think what Daniel suggested about&lt;a href="https://devzone.nordicsemi.com/b/blog/posts/wireless-timer-synchronization-among-nrf5-devices"&gt; time synchronization via ESB &lt;/a&gt;would be best fit for you. Please be aware that you can have&amp;nbsp;large number of&amp;nbsp; devices to be sync not just limited to 8 device as with the limit of ESB since you only do one direction communication (one device broadcasts other listens)&lt;/p&gt;
&lt;p&gt;Regarding the latency you observed with advertising, most likely it&amp;#39;s the random delay added into the advertising interval. By spec, each advertising interval requires to have a random delay of &amp;lt;10ms this is to avoid interference of 2 device starting to send advertising packets at the same time with same interval to be collide all the time.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you set the scanning window = scan interval , it will stay in scanning mode all the time on same channel if you choose to scan on only one channel (only available from Softdevice v6.0).&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Improving timing accuracy by only using single advertisement channel?</title><link>https://devzone.nordicsemi.com/thread/134425?ContentTypeID=1</link><pubDate>Sat, 02 Jun 2018 20:06:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:34587538-1293-4d69-9298-b47affd72cdc</guid><dc:creator>Florian Echtler</dc:creator><description>&lt;p&gt;OK, thanks, that makes sense.&lt;/p&gt;
&lt;p&gt;Just out of curiosity, what would happen if I set interval and window both to the maximum (0x4000) in the parameters for sd_ble_gap_scan_start? If I understand correctly, then the scan would remain on one channel for 10.24 seconds, correct? Would it also always start with the same channel?&lt;/p&gt;
&lt;p&gt;I&amp;#39;m aware of the more complex method described in the link, I&amp;#39;m just curious how close I can get without the custom protocol.&lt;/p&gt;
&lt;p&gt;Regards, Florian&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Improving timing accuracy by only using single advertisement channel?</title><link>https://devzone.nordicsemi.com/thread/134422?ContentTypeID=1</link><pubDate>Sat, 02 Jun 2018 15:05:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:85398084-496e-4465-8c03-be8ca82f090b</guid><dc:creator>Daniel Wang</dc:creator><description>[quote userid="21613" url="~/f/nordic-q-a/35015/improving-timing-accuracy-by-only-using-single-advertisement-channel/134421"]My question is: how do I lock observers to scanning only a single advertising channel? Can I use BLE_GAP_OPT_CH_MAP for this purpose, or not? If not, what else can I use?[/quote]
&lt;p&gt;For advertising on single channel,&amp;nbsp;you need to set the&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s130.api.v2.0.1/structble__gap__adv__ch__mask__t.html?cp=3_7_2_1_0_2_1_4_7"&gt;channel_mask&lt;/a&gt; in&amp;nbsp;&lt;span&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s130.api.v2.0.1/structble__gap__adv__params__t.html?cp=3_7_2_1_0_2_1_4_8"&gt;ble_gap_adv_params_t&amp;nbsp;&lt;/a&gt;, that is used when you start advertising.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Scanning on one single channel is not possible on S130. It was added in S132/140 v.6.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;BLE_GAP_OPT_CH_MAP&amp;nbsp;is the channel map for connections, not scanning/advertising.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;For&amp;nbsp;timer synchronization among nRF5 devices, &lt;a href="https://devzone.nordicsemi.com/b/blog/posts/wireless-timer-synchronization-among-nrf5-devices"&gt;see this blog post&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Improving timing accuracy by only using single advertisement channel?</title><link>https://devzone.nordicsemi.com/thread/134421?ContentTypeID=1</link><pubDate>Sat, 02 Jun 2018 13:56:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7e578460-51b0-462a-8aa2-6e281128f199</guid><dc:creator>Florian Echtler</dc:creator><description>&lt;p&gt;My question is: how do I lock observers to scanning only a single advertising channel? Can I use BLE_GAP_OPT_CH_MAP for this purpose, or not? If not, what else can I use?&lt;/p&gt;
&lt;p&gt;I know that BTLE is not designed for this, and I know that deliberately leaving adv. channels unused will degrade performance in case of noisy channels.&lt;/p&gt;
&lt;p&gt;Nevertheless, I want to try and see how close I can get to what I want to acheive without having to resort to the custom sync protocol. I&amp;#39;m already down to a difference of 2-4 ms - if I can get it reliably below 1 ms, I can avoid the extra complexity.&lt;/p&gt;
&lt;p&gt;Regards, Florian&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Improving timing accuracy by only using single advertisement channel?</title><link>https://devzone.nordicsemi.com/thread/134411?ContentTypeID=1</link><pubDate>Fri, 01 Jun 2018 20:57:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2e88367b-12e4-494d-8358-0cb71d4e5264</guid><dc:creator>AmbystomaLabs</dc:creator><description>&lt;p&gt;Not sure what the question is here. Per the BLE spec you can never have fixed latency synchronous transmission and reception.&lt;/p&gt;
&lt;p&gt;Thus changing the advert channels is pointless.&lt;/p&gt;
&lt;p&gt;You should follow the recommendation given in the question you linked to and use a proprietary protocol to synchronize clocks and then BLE can be used to send out timestamps.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Though even that is sloppy. You should spend some time on your use case and get a better idea of which data are important and from whom.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>