<?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 will connect automatically or not</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/23994/mesh-will-connect-automatically-or-not</link><description>Hello All 
 i flashed one of the example in following mesh SDK &amp;quot;ble_mesh_v0.9.1-Alpha_2&amp;quot; SDK , I testing light control example code while testing i have got some doubt in the example code . 
 Example source code support 4 nRF51 DK,3 server and client</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 02 Aug 2017 11:58:07 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/23994/mesh-will-connect-automatically-or-not" /><item><title>RE: Mesh will connect automatically or not</title><link>https://devzone.nordicsemi.com/thread/94463?ContentTypeID=1</link><pubDate>Wed, 02 Aug 2017 11:58:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:33393398-2625-44c6-8ee6-a73ab964c094</guid><dc:creator>Ameer.Sheik</dc:creator><description>&lt;p&gt;Hi Bjorn and Hi Thomas&lt;/p&gt;
&lt;p&gt;Thanks for you Support and your valuable explanation&lt;br /&gt;
i will follow as per input ..once again thanks for considering me&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Ameer&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mesh will connect automatically or not</title><link>https://devzone.nordicsemi.com/thread/94462?ContentTypeID=1</link><pubDate>Wed, 02 Aug 2017 11:09:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ccab7142-0a1c-4969-bfdd-e85aba00e439</guid><dc:creator>Thomas Stenersen</dc:creator><description>&lt;p&gt;Hi Bjørn, Ameer,&lt;/p&gt;
&lt;p&gt;You&amp;#39;ll also need to scale the numbers in the light control client&amp;#39;s &lt;code&gt;nrf_mesh_config_app.h&lt;/code&gt; header.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;/* Number of client models:
 * - 1 per directly controlled server
 * - 1 for group control
 * - 1 configuration client model
 */
#define ACCESS_MODEL_COUNT SERVER_COUNT + 2
/* Each instance of the same model needs a separate element:
 * - 1 per Simple OnOff client
 */
#define ACCESS_ELEMENT_COUNT SERVER_COUNT + 1
/* You need one key per device provisioned */
#define DSM_DEVICE_MAX SERVER_COUNT
/* One unicast address per server plus one group address. */
#define DSM_NONVIRTUAL_ADDR_MAX SERVER_COUNT + 1
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;I&amp;#39;ll report that this is a bit unclear internally and we&amp;#39;ll try to make it easier to understand how it call connects :)&lt;/p&gt;
&lt;p&gt;Best,
Thomas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mesh will connect automatically or not</title><link>https://devzone.nordicsemi.com/thread/94461?ContentTypeID=1</link><pubDate>Wed, 02 Aug 2017 10:41:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a27081e1-8e8c-49eb-babe-0aea0fd26979</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Hi Ameer,&lt;/p&gt;
&lt;p&gt;I suggest that you read through the nRF5x SDK for Mesh doucumention, found &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.meshsdk.v0.9.1/doc_getting_started.html?cp=4_3_0_3"&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Specifically, I recommend taking a look at the &lt;strong&gt;How to build a network&lt;/strong&gt; section, found &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.meshsdk.v0.9.1/md_doc_getting_started_how_to_build_your_network.html?cp=4_3_0_3_4"&gt;here&lt;/a&gt;. The Light Control Client example implements the following procedure&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;1. Initialize:
    Core mesh stack
    Device state manager
    Access layer
    (Optional) Load flash configuration.
2. Listen for unprovisioned beacons.
3. Provision device.
4. Configure device.
5. If more devices should join the network, go back to step 2.
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;where the number of nodes in the network is defined by&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;#define SERVER_COUNT (3)
#define CLIENT_COUNT (SERVER_COUNT + 1)
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;so if you want to add more servers then just increase the &lt;code&gt;SERVER_COUNT&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;Best 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>