<?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>Sleep mode with LPN and no mesh</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/83464/sleep-mode-with-lpn-and-no-mesh</link><description>Hello, We have a product that will be frequently separated from the mesh and will rejoin. There&amp;#39;s a goal of 250 devices that all need to get updates sent to them. Think something like syncing epoch time and having an easy to view status of all devices</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 12 Jan 2022 15:47:36 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/83464/sleep-mode-with-lpn-and-no-mesh" /><item><title>RE: Sleep mode with LPN and no mesh</title><link>https://devzone.nordicsemi.com/thread/347435?ContentTypeID=1</link><pubDate>Wed, 12 Jan 2022 15:47:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c9c4d9b6-c691-4d47-a1a5-5ef9bc2bb7c4</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I cannot think of any (at least not straight-forward) way to count the number of nearby devices. However it would probably be better on wakeup just to try to find a friend (for a brief period of time). It should be in the same ballpark energy consumption, if not even better.&lt;/p&gt;
&lt;p&gt;With a normal BLE connection, the connection is timed. A timer is running on the device, which triggers the radio peripheral to go in RX mode, which when receiving a packet triggers the stack (waking the CPU for handling the packet.) This means, the device is in RX mode only at the proper times for the connection event, and is turned off otherwise.&lt;/p&gt;
&lt;p&gt;In BLE, you also have settings such as &amp;quot;slave latency&amp;quot;, which lets the peripheral device skip a configurable number of connection events, i.e. radio turned off for longer time period, when it does not have any data to send. It means however that the central device (usually the phone) cannot send data to the peripheral device until the peripheral device acutally listens for a connection event.&lt;/p&gt;
&lt;p&gt;That is during an ongoing connection. For leaving the connection, then reconnecting when needed, you can do wake on NFC, wake on movement (e.g. by use of external accelerometer), wake on button press, or wake on button.&lt;/p&gt;
&lt;p&gt;Also, for setting up a BLE connection, the peripheral device runs advertisements, for which the central device listens. Advertising interval and to some extent type and size of advertisement will affect power consumption. Examples typically starts with rapid advertiing, then go over to longer advertising interval, and then stop completely after a couple of minutes. Then restarts (from low advertising interval) if triggered.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Terje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sleep mode with LPN and no mesh</title><link>https://devzone.nordicsemi.com/thread/347433?ContentTypeID=1</link><pubDate>Wed, 12 Jan 2022 15:35:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a5e17fdb-e0a6-43c0-acb3-2066ae71f84b</guid><dc:creator>Alex Ross</dc:creator><description>&lt;p&gt;Is it possible to get an internal count of nearby devices? I&amp;#39;m thinking something to the effect of:&lt;br /&gt;&lt;br /&gt;-Wakeup every second and get a count of nearby devices (or attempt to find a friend)&amp;nbsp;&lt;br /&gt;-If count is 0 then go back to sleep&lt;br /&gt;-Else attempt to find a friend&lt;br /&gt;-No friend go back to sleep&lt;br /&gt;&lt;br /&gt;How long it would it take to determine if a friend is nearby?&lt;br /&gt;&lt;br /&gt;Could you also clarify to me how in normal BLE mode devices wakeup? I&amp;#39;m thinking something like a tag. How does it wake itself up out of sleep mode when the phone wants to get an update?&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sleep mode with LPN and no mesh</title><link>https://devzone.nordicsemi.com/thread/347432?ContentTypeID=1</link><pubDate>Wed, 12 Jan 2022 15:25:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8f7cb05e-1143-4947-a623-98c4d0029365</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Current draw of 5 mA for normal Bluetooth mesh nodes is as expected, as they have to be in RX when not in TX. RX draw current running on DC-DC for nRF52833 is typically 4.6 mA, &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fps_nrf52833%2Fradio.html&amp;amp;anchor=unique_1046356960"&gt;ref. the nRF52833 Product Specification&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;LPN will save power, but as you write, when losing connection to the friend node the default action is to start looking for a new one.&lt;/p&gt;
&lt;p&gt;It is not possible to wake on radio traffic, no. From what I understand, in order to wake e.g. on RSSI, one would need to have the radio already running in RX mode. Having the radio switched on and waking the CPU on radio traffic would not do much, as the main power draw is from the radio peripheral itself in RX mode.&lt;/p&gt;
&lt;p&gt;Switching mesh activity off/on, deciding when to search for friends and when not to, that could be the way to go, yes. Either through periodically waking, look for friends, then go back to a sleep mode if none found, or through some smart method for deciding when to look for friends (e.g. NFC tag (for which wake on field detect is supported), movement detected (e.g. by an accelerometer), button press, etc.)&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Terje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>