<?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>Timing of central RX and peripheral TX</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/6724/timing-of-central-rx-and-peripheral-tx</link><description>I got an easy but fundamental question: How to make sure that the central sees the advertising package of the peripheral.. 
 For example when the peripheral advertises only every 5 seconds.. The centrals scan windows would have to be &amp;gt;5seconds? (and</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 28 Apr 2015 05:32:07 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/6724/timing-of-central-rx-and-peripheral-tx" /><item><title>RE: Timing of central RX and peripheral TX</title><link>https://devzone.nordicsemi.com/thread/23583?ContentTypeID=1</link><pubDate>Tue, 28 Apr 2015 05:32:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:be8d85a1-0539-4077-99b5-e0293285e169</guid><dc:creator>shibshab</dc:creator><description>&lt;p&gt;If you read the Link Layer specification for Low Energy BLE in the BLE spec you will find more info on this. For BLE 4.0 specification this is found in Volume 6, Part B, Chapter 4 and 5.&lt;/p&gt;
&lt;p&gt;The central controls all aspects of the connection, the peripheral can ask for changes to the parameters (timing, security to use etc) but the central has the last say. This way the central can, as you imply, control multiple connections and make sure that they do not overlap.&lt;/p&gt;
&lt;p&gt;So the central sets the connection interval, but the slave is free to ask for it to be changed.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Timing of central RX and peripheral TX</title><link>https://devzone.nordicsemi.com/thread/23586?ContentTypeID=1</link><pubDate>Mon, 27 Apr 2015 15:41:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9d4670ea-b741-4251-8be9-37dae494fb81</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@muhkuhns: There are 2 documents you may want to have a look:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Chapter 11 in the S120 Softdevice Specification v2.1, It&amp;#39;s a brief on the connection timing.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;For more detailed information, please have a look at section 4.5 at Vol 6 part B in the Core Bluetooth v4.2 specification.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;It is defined in the spec of Bluetooth Smart, so it is strictly followed in any BLE connection.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Timing of central RX and peripheral TX</title><link>https://devzone.nordicsemi.com/thread/23585?ContentTypeID=1</link><pubDate>Mon, 27 Apr 2015 15:03:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6caadd8a-cc5d-4d8f-be20-c4b61a10faac</guid><dc:creator>muhkuhns</dc:creator><description>&lt;p&gt;Thanks for your explanation! Can you name a good free ressource to read more about the last part? How they synchronize when connected. Is this implemented in the Multilink Example?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Timing of central RX and peripheral TX</title><link>https://devzone.nordicsemi.com/thread/23582?ContentTypeID=1</link><pubDate>Mon, 27 Apr 2015 15:02:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cd4dce11-707b-4b19-b9da-8bf99fd9cb42</guid><dc:creator>muhkuhns</dc:creator><description>&lt;p&gt;Thanks for your detailed answer! Especially the last part is what I was looking for.. so in a connection they can operate synchronously.. Where can I read more about this? I haven&amp;#39;t had any luck finding something that tells me more about it...&lt;/p&gt;
&lt;p&gt;As far as I got it its basically something like this (in a connection):&lt;/p&gt;
&lt;p&gt;Peripheral: Hey central, I want an to use an intervall between 3,75 to 4seconds.
Central: Okay, I&amp;#39;m fine with that. 4 Second it is!&lt;/p&gt;
&lt;p&gt;And then they turn of TX respectively RX and wait for 4 seconds?&lt;/p&gt;
&lt;p&gt;How does it work with 4 peripheral and 1 central. The central manages the timeslots for each?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Timing of central RX and peripheral TX</title><link>https://devzone.nordicsemi.com/thread/23584?ContentTypeID=1</link><pubDate>Mon, 27 Apr 2015 11:54:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f6d0c791-b95c-4ca1-a039-aaae1451abc8</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@muhkuhns: As shibshab mentioned there is no way to guarantee a packet will be received even if the central was listening on that channel due to interference.&lt;/p&gt;
&lt;p&gt;If we leave interference &amp;amp; noise aside, what you need to make sure that the central can catch all the advertising packet is to listen all the time. Usually the peripheral will advertise in all 3 channels. The S120 listen to each of them one at a time (rotating between 3 channels). So what you need to do is to configure the scan windows equal to scan interval. This will make the scanner scan all the time.  It doesn&amp;#39;t have to be 5 second scan windows and scan interval. Just set the scan window = scan interval.
Note that to make sure the scanner listen all the time, there should be no connection should be active on S120 when scanning.&lt;/p&gt;
&lt;p&gt;When connected, the scanner doesn&amp;#39;t have to listen all the time any more. They synchronize and agree on timing windows and channel maps to continue.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Timing of central RX and peripheral TX</title><link>https://devzone.nordicsemi.com/thread/23581?ContentTypeID=1</link><pubDate>Mon, 27 Apr 2015 08:53:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6b9aeccf-9805-4192-978a-d2ca00e47e97</guid><dc:creator>shibshab</dc:creator><description>&lt;p&gt;There is no way to guarantee that a central device can see an advertising packet (due to noise etc.), and as a peripheral in essence could modify its advertising interval, this is usually not a design goal of a central.&lt;/p&gt;
&lt;p&gt;The peripheral uses two scan parameters when looking for advertisement packets. As explained in the BLE Spec (v4.0 Volume 6, Part B 4.4.3):&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;During scanning, the Link Layer listens on an advertising channel index for the
duration of the scan window,  scanWindow . The scan interval,  scanInterval , is
defined as the interval between the start of two consecutive scan windows.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;As long as the devices would overlap at some time you would get connected. To &amp;quot;guarantee&amp;quot; that your central would see the peripheral within a single scan window you would need a &lt;em&gt;scan window&lt;/em&gt; of &amp;gt;15 seconds.&lt;/p&gt;
&lt;p&gt;The RX current will occur as long as the peripheral is &amp;quot;listening&amp;quot; i.e. scanning.&lt;/p&gt;
&lt;p&gt;By establishing a connection you would allow the devices to operate synchronously. This way they will both know when to enable/disable RX/TX, and you would spend less power. The maximum allowed value for &lt;code&gt;connInterval&lt;/code&gt; is 4.0 seconds, of which their radio would only have to be active for a couple of milliseconds.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>