<?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>Adding more than 1000 SERVER_NODE_COUNT for the light switch example</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/40004/adding-more-than-1000-server_node_count-for-the-light-switch-example</link><description>Hello Developers, 
 I successfully I made some modifications to the light switch example to transmit a larger payload and I was wondering what changes should I do to have to allow the provisioner code compile for values higher than 370 SERVER_NODE_COUNT</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 06 Nov 2018 08:20:05 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/40004/adding-more-than-1000-server_node_count-for-the-light-switch-example" /><item><title>RE: Adding more than 1000 SERVER_NODE_COUNT for the light switch example</title><link>https://devzone.nordicsemi.com/thread/156072?ContentTypeID=1</link><pubDate>Tue, 06 Nov 2018 08:20:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:955662c9-246c-4596-a253-2c8ba641b9fd</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/35931/multiple-server-on-one-client---light-switch-demo"&gt;This case&lt;/a&gt;&amp;nbsp;could be very helpful. Do you require one generic on off client model for each server model? Below a quote from the case I linked to:&lt;/p&gt;
&lt;p&gt;&amp;quot;The way our example designed is that for each command from the client node we use one client model. For example by default, we have 4 server node, and have 1 client to control LED on server 1, 1 client for server 2, 1 client for ODD Group and one client for EVEN group. Each client located on one element, we have 4 elements on the client node.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you plan to have 128 server, you may not want to have 128 client models/elements to control each of them.&amp;nbsp;I would suggest to use one single client to control multiple servers. You just need to change the publication address of the client to target one server, and can change that address when another server.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You can use&amp;nbsp;dsm_address_publish_add() to add an address to the DSM, then use&amp;nbsp;access_model_publish_address_set() to set the app key, and&amp;nbsp;access_model_publish_address_set() to set the publication address of the client mode. &amp;quot;&lt;/p&gt;
&lt;p&gt;If this works for you, you would not need to increase&amp;nbsp;&lt;span&gt;SERVER_NODE_COUNT &amp;amp; could use one client model to control multiple server models.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Adding more than 1000 SERVER_NODE_COUNT for the light switch example</title><link>https://devzone.nordicsemi.com/thread/155609?ContentTypeID=1</link><pubDate>Thu, 01 Nov 2018 15:29:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4553ac79-1440-4af1-ab64-16090e7f203a</guid><dc:creator>MeliodasD</dc:creator><description>&lt;p&gt;Hi &lt;a href="https://devzone.nordicsemi.com/members/bjorn-kvaale"&gt;Bjørn Kvaale&lt;/a&gt;, I have a nRF5252840 available, I would like to be able to build the example either for a nRF52832 or 840 using a higher number for server_node_count, at the moment I don&amp;#39;t want provision such amount of nodes using a dev kit just build the provisioner and study how it affects the nodes when the&amp;nbsp;&lt;span&gt;server_node_count has a high value&lt;/span&gt;, I also facing the PyACI&amp;nbsp;script option,but it would be wonderful if I have that two options&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Adding more than 1000 SERVER_NODE_COUNT for the light switch example</title><link>https://devzone.nordicsemi.com/thread/155492?ContentTypeID=1</link><pubDate>Thu, 01 Nov 2018 08:28:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fa1d8431-4215-4d3b-a8e0-b9b83de314ac</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;Hi Meliodas,&lt;/p&gt;
&lt;p&gt;You are correct. The issue is memory related. I would not recommend to provision so many nodes via one devkit, especially not a nrf52832, as you have no way of backing up this provisioning data currently. With the Interactive PyACI script, on the other hand, you can easily backup the example_database.json file. May I ask why you want to provision so many nodes via one dev kit?&lt;/p&gt;
&lt;p&gt;Do you have a 52840 dev kit by any chance? Have you tried provisioning with that?&lt;/p&gt;
&lt;p&gt;Kind Regards,&lt;/p&gt;
&lt;p&gt;Bjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>