<?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>What is the best practice approach for a mesh of many low power nodes and one client?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/43424/what-is-the-best-practice-approach-for-a-mesh-of-many-low-power-nodes-and-one-client</link><description>Hi, 
 I am working on a project which involves a number of low power nodes 4-16+ distributed over a relatively large area. There is one client which wants to retrieve data from these nodes at a periodic interval. 
 In order to preserve battery life the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 11 Feb 2019 13:38:41 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/43424/what-is-the-best-practice-approach-for-a-mesh-of-many-low-power-nodes-and-one-client" /><item><title>RE: What is the best practice approach for a mesh of many low power nodes and one client?</title><link>https://devzone.nordicsemi.com/thread/170377?ContentTypeID=1</link><pubDate>Mon, 11 Feb 2019 13:38:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e01fa62e-5b2e-49a0-8697-2a6023a570ef</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Sloth,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You are right, we only provided a precompiled hex file for Friend node. But the source is available on Zephyr project (not from Nordic). We are working on providing the Friend role in our stack in the next SDK release v3.2&amp;nbsp;&lt;/p&gt;
&lt;p&gt;There are a few alternatives for Low Power Node:&lt;/p&gt;
&lt;p&gt;- Using advertising packet to send data to relay node. This is similar to the Enocean example we have in the SDK. The sensor node (low power) only wake up to broadcast data and then sleep again. But this solution doesn&amp;#39;t provide acknowledgement to the sensor if the relay receives the data or not.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;- Establishing a connection then send data and the disconnect and sleep again. This actually similar to friendship, but you&amp;nbsp;implement it on GATT connection.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;- Simply put the normal node to sleep. There is no obligation in the spec that the node have to be active all the time. You can sleep up to 96 hours without the need to update the IV index number. But this solution doesn&amp;#39;t cover the caching of the data for the LPN node on the relay node. However the node can simply query the client if there is any data.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What is the best practice approach for a mesh of many low power nodes and one client?</title><link>https://devzone.nordicsemi.com/thread/170196?ContentTypeID=1</link><pubDate>Fri, 08 Feb 2019 22:08:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:014a1d80-84a5-4909-a097-ca5614541a14</guid><dc:creator>sloth</dc:creator><description>&lt;p&gt;Nordic has not provided the friend node feature to my knowledge, only a precompiled binary which I cannot implement into my application. The project I am working on was based around using this feature.&lt;/p&gt;
&lt;p&gt;Since I cannot use this feature, I need an alternative approach.&lt;/p&gt;
&lt;p&gt;Can a client model publish to many different addresses?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What is the best practice approach for a mesh of many low power nodes and one client?</title><link>https://devzone.nordicsemi.com/thread/170087?ContentTypeID=1</link><pubDate>Fri, 08 Feb 2019 10:07:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:02607e9f-6dc0-45a7-8a84-8b961393f7d1</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Sloth,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Could you explain a little bit more on when the friend node is not available ?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The current mechanism of LPN and friendship is that the FN (friend node) cache data for each LPN it handles in a separated buffer. When the LPN wakes up it will query that, at the same time sending any data that it needs to send to the client. The friendship is established when setting up the network, prior to entering sleepmode. Each LPN should only have one FN at a time. LPN doesn&amp;#39;t talk to any other node when it&amp;#39;s in a friendship.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regarding the model, it&amp;#39;s upto the application to design the model. There is no obligation on that as long as you don&amp;#39;t use the standard Bluetooth SIG model. You can implementing your own model, or even choose not to use model at all, simply use the access layer directly.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What is the best practice approach for a mesh of many low power nodes and one client?</title><link>https://devzone.nordicsemi.com/thread/170015?ContentTypeID=1</link><pubDate>Thu, 07 Feb 2019 19:14:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3fe7b046-cf84-403d-8be9-fcafa2b387ff</guid><dc:creator>sloth</dc:creator><description>&lt;p&gt;Hi Hung,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;There is one client node in the network, possibly some router nodes and then a large number of low powered nodes. It is a fixed network once installed.&lt;/p&gt;
&lt;p&gt;My question is mainly about what the setup should look like for this situation while the friend node is not available. The client cannot query data from the servers because they spend most of their time asleep and not listening, so what is the best practice to get the data back to the client? (And also do things like send settings from client to low power node.)&lt;/p&gt;
&lt;p&gt;For receiving data on the client can I just have one client model and all the servers wake up and send data to this model on a regular interval? This is what I mean by &amp;#39;push&amp;#39; having the servers send data.&lt;/p&gt;
&lt;p&gt;If each node has a unique address and I want to send settings to an individual node. Do I need a separate client model for each node? I thought the publish address was part of the model. Is there an example of a similar setup?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What is the best practice approach for a mesh of many low power nodes and one client?</title><link>https://devzone.nordicsemi.com/thread/169963?ContentTypeID=1</link><pubDate>Thu, 07 Feb 2019 15:00:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8e6ff3a1-cc2f-40c9-ae6a-f1f033011d95</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Sloth,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Could you clarify, how many client node in your network ? Is it a fixed one or movable ? If there is only one client, how would it cover the large area that the LPN node distributed ?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Note that the LPN nodes wouldn&amp;#39;t do any relaying, hence you can have a mesh network with just LPN nodes and one client node. If &amp;#39;s a start network you are thinking of, I would suggest not to use mesh.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Please be aware that LPN is provided in our SDK from v3.0, the only thing missing is the Friend node. We do have Friend example provided as a hex but it&amp;#39;s from Zephyr repository (you can access to Zephyr, it&amp;#39;s a public project).&lt;/p&gt;
&lt;p&gt;What do you mean by &amp;quot;push type method&amp;quot;&amp;nbsp; ?&amp;nbsp; Each LPN node has an unique address and it can has any model on it. On the client side, you don&amp;#39;t need one client model for each of the LPN. You can have a single model that can handle data from all the LPN node. You just need to use the address of the LPN node to ID them. I&amp;#39;m talking about proprietary model.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What is the best practice approach for a mesh of many low power nodes and one client?</title><link>https://devzone.nordicsemi.com/thread/169816?ContentTypeID=1</link><pubDate>Thu, 07 Feb 2019 02:21:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d1434bd5-6c78-4aa4-ae1a-e9e4c03fd3bc</guid><dc:creator>sloth</dc:creator><description>&lt;p&gt;As a bit of an extension to the question, Since client models publish to a fixed address. If I want to support 16 nodes does the client have to have 16 models, each bound to a server address?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>