<?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>[Mesh v2.1.1] Maximum server node count?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/36124/mesh-v2-1-1-maximum-server-node-count</link><description>What is the maximum server node count running light switch example? In documentation there are multiple facts: 1) &amp;quot; If you have more than thirty boards for the server, set SERVER_NODE_COUNT (in light_switch_example_common.h ) to the number of boards available</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 10 Jul 2018 09:17:48 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/36124/mesh-v2-1-1-maximum-server-node-count" /><item><title>RE: [Mesh v2.1.1] Maximum server node count?</title><link>https://devzone.nordicsemi.com/thread/139534?ContentTypeID=1</link><pubDate>Tue, 10 Jul 2018 09:17:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c7f13d17-e952-44dd-8276-d87d1262b77e</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You are right, the replay cache also need to be udpated.&amp;nbsp;By spec, a node should discard a message if it doesn&amp;#39;t have enough resource to detect if the message is a replay message or not. So if your node run our of replay cache&amp;nbsp;the node won&amp;#39;t be able to receive message from a node outside of the list.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;* Number of entries in the replay protection cache.&lt;br /&gt; *&lt;br /&gt; * @note Note that the number of entries in the replay cache directly limits the&lt;br /&gt; * number of peer nodes one can receive messages from for the current IV index.&lt;/p&gt;
&lt;p&gt;But the replay cache array is pretty small, 6x2 bytes for each entry.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;From my understanding, the following are&amp;nbsp;stuff that need to be increased when your scale up your mesh network:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;- TTL value&lt;/p&gt;
&lt;p&gt;- Replay message cache&lt;/p&gt;
&lt;p&gt;- Device key database (matching with elements&amp;#39; addresses)&lt;/p&gt;
&lt;p&gt;I will check with R&amp;amp;D to see if we have any other limitation.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [Mesh v2.1.1] Maximum server node count?</title><link>https://devzone.nordicsemi.com/thread/139458?ContentTypeID=1</link><pubDate>Mon, 09 Jul 2018 16:24:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9d17573b-5f03-4922-a358-94a2d63eabe6</guid><dc:creator>godmode</dc:creator><description>&lt;p&gt;Yes, I understand that theoretical max number is high.&lt;br /&gt;We have built our application base on the example from Mesh v1.0.1 which has got some limitations - we can not provision more than 32 nodes.&lt;br /&gt;&lt;br /&gt;What I&amp;#39;m asking is there any similar limit in Mesh v2.1.1?&lt;br /&gt;Is SERVER_NODE_COUNT define is the only place to change the node count limit?&lt;br /&gt;For example in Mesh v1.0.1 one has to change the&amp;nbsp;REPLAY_CACHE_ENTRIES define in &amp;quot;nrf_mesh_config_core.h&amp;quot; as well to enable more nodes. Those value are spread over the SDK - is&amp;nbsp;SERVER_NODE_COUNT the only configuration value?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [Mesh v2.1.1] Maximum server node count?</title><link>https://devzone.nordicsemi.com/thread/139293?ContentTypeID=1</link><pubDate>Fri, 06 Jul 2018 15:04:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9a5e64d9-fc05-4317-9a09-98a81efc33e9</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;There isn&amp;#39;t really a real upper limit of the number of node in your network, the theoretical max number is&amp;nbsp; 32768 nodes.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The&amp;nbsp;only limitation we have in the light switch example is the size of flash on the nRF52 works a provisioner.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;There are some data need to be stored on each new node stored on the provisioner, such as the device key, the node address if the provisioner want to re-configure a node.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;We actually don&amp;#39;t suggest to use the nRF52 as a provisioner, but the database better to be stored on PC or mobile phone.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;So in short, it shouldn&amp;#39;t be a problem to set up 100 node with the light switch example we have.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>