<?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>auto connect with ble proximity nrf51422</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/14293/auto-connect-with-ble-proximity-nrf51422</link><description>Hai guys, 
 I am using nrf51dk, S130, and Keil to develop a simple project. My aim is to send the sensor data from the nrf51422 to the mobile app. 
 when no mobile is available and no data change happens on sensor the nrf device should sleep. When ever</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 19 Jul 2016 18:56:27 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/14293/auto-connect-with-ble-proximity-nrf51422" /><item><title>RE: auto connect with ble proximity nrf51422</title><link>https://devzone.nordicsemi.com/thread/54547?ContentTypeID=1</link><pubDate>Tue, 19 Jul 2016 18:56:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8bed6e6a-ae25-4303-a2af-562162c9a3e7</guid><dc:creator>Shiju C G</dc:creator><description>&lt;p&gt;thank you very much for the great information.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: auto connect with ble proximity nrf51422</title><link>https://devzone.nordicsemi.com/thread/54546?ContentTypeID=1</link><pubDate>Wed, 13 Jul 2016 10:49:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d7b83fcb-5e1f-49c7-a41a-1e1f7bba9024</guid><dc:creator>Ole Bauck</dc:creator><description>&lt;p&gt;It is possible to send data over adverisement packet in the manufacturer specific data. The advantage of advertising is that you don&amp;#39;t have to be in a connection. When you are in a connection you have to communicate regularly to keep the link up. You can set the connection parameter to communicate as infrequently as possibly, depending on what is in the other end/the central (Android and IOS have limitations for allowed connection parameters). Whether or not advertising is advantageous depends on how often you should send data, how many advertising packets on average the device have to send before the central picks it up (the central does not scan all the time necessarily), the connection parameters you are using if in a connection and other things. The best way is to test it and see what is best.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: auto connect with ble proximity nrf51422</title><link>https://devzone.nordicsemi.com/thread/54545?ContentTypeID=1</link><pubDate>Sat, 25 Jun 2016 14:11:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a9664ef5-fcc5-4617-9a04-1ff06cccbf19</guid><dc:creator>Shiju C G</dc:creator><description>&lt;p&gt;Hello Ole Bauck,&lt;/p&gt;
&lt;p&gt;Thank you for the nice reply.
Sorry for being little late to reply.&lt;/p&gt;
&lt;p&gt;Is it possible to send data over  the advertising packet?
What is the advantage in  sending data over the advertisement packet over beacon?
Thanks and regards,&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: auto connect with ble proximity nrf51422</title><link>https://devzone.nordicsemi.com/thread/54544?ContentTypeID=1</link><pubDate>Mon, 06 Jun 2016 13:56:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ec2bd8e6-0783-4b2e-9e78-dda95cc98b94</guid><dc:creator>Ole Bauck</dc:creator><description>&lt;p&gt;The normal configuration when connecting a mobile phone to the nRF51 is that the mobile is the central and the nRF51 is a peripheral. There are a couple of reasons for this, the most important are that most mobile phones don’t support being a peripheral and that a central will generally use more power than a peripheral (and mobile have larger battery than the nRF51 device).&lt;/p&gt;
&lt;p&gt;The peripheral cannot search for other devices, it can advertise and hope that the central discovers it. So when you say that the device should wake up and then send data to the paired device (mobile), it will have to advertise for some time and send the data if the mobile connects, or just send the data in the advertisement packet may be easier. If it gets no response it will have to assume that the other device is not available.&lt;/p&gt;
&lt;p&gt;When you say sleep I assume you mean SYSTEM OFF sleep mode, where the device consumes the least amount of power and can only be woken up on gpio (logic or analog). In this mode the device cannot be in a BLE connection.&lt;/p&gt;
&lt;p&gt;Depending on how long you are sleeping and how you decide to send the data (connect first or just send it in advertisement packet), it may be better to be in a connection and choose connection parameters (connection interval and slave latency) to the maximum. See &lt;a href="https://www.google.no/url?sa=t&amp;amp;rct=j&amp;amp;q=&amp;amp;esrc=s&amp;amp;source=web&amp;amp;cd=1&amp;amp;cad=rja&amp;amp;uact=8&amp;amp;ved=0ahUKEwj3jpiTxpPNAhVDFSwKHQnBBiYQFggbMAA&amp;amp;url=https%3A%2F%2Fdevzone.nordicsemi.com%2Fquestion%2F60%2Fwhat-is-connection-parameters%2F&amp;amp;usg=AFQjCNHsExnEHzg_vvbvG75EP53FABCFdw&amp;amp;sig2=2dKbE6YsZIQDjNEhpc4hPQ"&gt;here&lt;/a&gt; for description on connection parameters.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: auto connect with ble proximity nrf51422</title><link>https://devzone.nordicsemi.com/thread/54543?ContentTypeID=1</link><pubDate>Sun, 05 Jun 2016 20:11:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7bb3c8b2-1fa9-4b30-b9e3-82a6ff9ba3b3</guid><dc:creator>Shiju C G</dc:creator><description>&lt;p&gt;Any suggestions will be appreciatable..&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>