<?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>Two Peripherals Without Central</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/46103/two-peripherals-without-central</link><description>I&amp;#39;ve got a use case that can essentially be boiled down to two battery-powered devices that have a button and an LED; when the user presses a button on device 1, the LEDs on both devices toggle; the same thing happens when the user presses a button on</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 11 Apr 2019 21:56:15 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/46103/two-peripherals-without-central" /><item><title>RE: Two Peripherals Without Central</title><link>https://devzone.nordicsemi.com/thread/181723?ContentTypeID=1</link><pubDate>Thu, 11 Apr 2019 21:56:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c9c30d1d-cf6e-419d-b92e-e9fb88f95765</guid><dc:creator>Dmitry</dc:creator><description>&lt;p&gt;Agree, bluetooth connection in your case just makes an overhead. Your task requires some response time that you know (as I understand, it&amp;#39;s quite short). So, in any case both devices should wake up and listen for peer no less often that this interval. Your power consumption will depend mostly on what&amp;#39;s happen every time the device wakes up - for example, in case of BLE connection this would be an exchange with two packets, each of them is at least 80 usec long (at 1 Mbit). That seems not too much, but when devices come out of visibility, central will drain a lot in scanning mode.&lt;/p&gt;
&lt;p&gt;The easiest way I see is to listen for a specific packet (containing only access address) on both devices for very short periods with acceptable interval, and transmit a burst of such packets when button is pressed.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Two Peripherals Without Central</title><link>https://devzone.nordicsemi.com/thread/181719?ContentTypeID=1</link><pubDate>Thu, 11 Apr 2019 19:11:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d05a03e5-eb0b-458b-a2df-c2d27ad4e756</guid><dc:creator>Fred</dc:creator><description>&lt;p&gt;If you want to determine power, Nordic&amp;#39;s &amp;quot;&lt;a href="https://devzone.nordicsemi.com/power/" rel="noopener noreferrer" target="_blank"&gt;Online Power Profiler&lt;/a&gt;&amp;quot; might be a good start.&lt;/p&gt;
&lt;p&gt;Your concern as to not having one act as a central is of course correct&amp;nbsp;if you would like to minimize&amp;nbsp;power consumption; since you would not know when the button is pressed and you want to have a quick response I guess, it seems the connection must be established with a small connection interval to get responsive two-way communication.&lt;/p&gt;
&lt;p&gt;So, I even wonder whether BLE might be the way to go for this application as it is the core assumption for BLE that the Scanner/Central is a device with relative more power.&lt;/p&gt;
&lt;p&gt;If I would be to design such a system I would look into designing a simple wireless protocol (alternating Rx-Tx, i.e. ping-pong like) with the interval equal to the response time you would require. You could still use the nR52 for that though ;-)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>