<?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>Ocasional mesh configuration failure</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/30846/ocasional-mesh-configuration-failure</link><description>I have created my own mesh model, based on the light switch example, and had no problems with it when using 1 client and 1 server. 
 But when I use 2 servers, I noticed that configuration of the second server seems to fail sometimes. The provisioning</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 17 Apr 2018 02:08:27 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/30846/ocasional-mesh-configuration-failure" /><item><title>RE: Ocasional mesh configuration failure</title><link>https://devzone.nordicsemi.com/thread/128554?ContentTypeID=1</link><pubDate>Tue, 17 Apr 2018 02:08:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d18e711f-b137-4891-92ca-f7e023cec438</guid><dc:creator>caca1989</dc:creator><description>&lt;p&gt;Hi Bjorn Kvaale,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I have created a new devzone case，&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/33469/about-the-mesh-configuration-failure"&gt;this&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Ocasional mesh configuration failure</title><link>https://devzone.nordicsemi.com/thread/128217?ContentTypeID=1</link><pubDate>Fri, 13 Apr 2018 10:55:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6821c59c-6884-4c42-94e5-36c88375320e</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;Hi caca1989, could you please create a new devzone case where you explain exactly what is happening (preferably with some log information) &amp;amp; we&amp;#39;ll take a look at it there? Thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Ocasional mesh configuration failure</title><link>https://devzone.nordicsemi.com/thread/128164?ContentTypeID=1</link><pubDate>Fri, 13 Apr 2018 07:07:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:251339e5-ae37-4520-b340-7bf4f649f464</guid><dc:creator>caca1989</dc:creator><description>&lt;p&gt;Hi Bjorn Kvaale，&lt;/p&gt;
&lt;p&gt;I encountered the same problem，How to solve this problem？ Ths！&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Ocasional mesh configuration failure</title><link>https://devzone.nordicsemi.com/thread/128161?ContentTypeID=1</link><pubDate>Fri, 13 Apr 2018 06:58:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:99adb15b-1884-460e-a88b-c8359602c6e4</guid><dc:creator>caca1989</dc:creator><description>&lt;p&gt;Hi alasknnj，&lt;/p&gt;
&lt;p&gt;how did you solve this problem?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Ocasional mesh configuration failure</title><link>https://devzone.nordicsemi.com/thread/127759?ContentTypeID=1</link><pubDate>Wed, 11 Apr 2018 08:38:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:06a3f222-eac5-4766-b049-2f0106677464</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;Sorry for the delayed response. &lt;a href="https://devzone.nordicsemi.com/members/alasknnj"&gt;alasknnj&lt;/a&gt; &lt;a href="https://devzone.nordicsemi.com/members/felixtam"&gt;Felix Tam&lt;/a&gt; May I ask why you want to run the server &amp;amp; client on the same device? I am not sure if we have an agenda to look into this, as the &amp;quot;regular&amp;quot; usecase up until now has been to have the server &amp;amp; client separated on two different boards. You can send me a private message &amp;amp; then I can give you both the contact details of your local Regional Sales Manager. They should know more about agenda questions.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Ocasional mesh configuration failure</title><link>https://devzone.nordicsemi.com/thread/126527?ContentTypeID=1</link><pubDate>Mon, 02 Apr 2018 14:43:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:580a9849-a4a1-4919-b6b8-900ea7564230</guid><dc:creator>alasknnj</dc:creator><description>&lt;p&gt;As of the time I had these issues, I was using Mesh SDK v1.0. We had since then moved on without the mesh feature in our product, leaving that for when there will be more support, but also because nRF58240 is not out yet.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;In our code, we were handling&amp;nbsp;&lt;span&gt;ACCESS_STATUS_KEY_INDEX_ALREADY_STORED, because we based on the light switch example, which handled that, what we saw was that sometimes the provisioner did not receive a response at all, while the provisionee kept trying to send. At times, the response was received, but the response for the model binds were not.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Just to make sure that messages were sent in order, as detailed in the documentation, I had removed a function call from the example, which led to some out of order messages, but I don&amp;#39;t really recall now the specific messages that were out of order, I do remember commenting out this line:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;void provisioner_configure(uint16_t address)
{
    m_target_address = address;
    if (m_prov_state == PROV_STATE_PROV)
    {
        /* Wait for the NRF_MESH_PROV_EVT_LINK_CLOSED event. */
        m_prov_state = PROV_STATE_CONFIG_FIRST;
    }
    else
    {
        m_prov_state = PROV_STATE_CONFIG_FIRST;
        //do_config_step();
    }
}&lt;/pre&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;But with or without this, the occasional configuration failure still happened.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Ocasional mesh configuration failure</title><link>https://devzone.nordicsemi.com/thread/126428?ContentTypeID=1</link><pubDate>Fri, 30 Mar 2018 05:48:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0bea6b61-7129-4360-8aaf-60371c8e5c22</guid><dc:creator>Felix Tam</dc:creator><description>&lt;p&gt;I encountered &amp;nbsp;the&amp;nbsp;same issue as Jargen and I have&amp;nbsp;tried&amp;nbsp;both mesh SDK 1.0 and 1.01.&lt;/p&gt;
&lt;p&gt;It was all fine&amp;nbsp;if &amp;nbsp;the server and client is separated. But once I combine both in the same code,&lt;/p&gt;
&lt;p&gt;the client can provision only one server. I am using SDK14.2. As my application is mobile phone +&lt;/p&gt;
&lt;p&gt;52832, one temporary fix is to disable the mesh of the server once provisioned and enable the mesh of&lt;/p&gt;
&lt;p&gt;all the servers provisioned&amp;nbsp;once the provisioning is completed. In doing so, the client can provision more&lt;/p&gt;
&lt;p&gt;than ten servers. Of course, the disabling and enabling of the mesh needed to be controlled by the&lt;/p&gt;
&lt;p&gt;mobile app.&lt;/p&gt;
&lt;p&gt;I was wandering if Nordic has an agenda to look into this issue.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Ocasional mesh configuration failure</title><link>https://devzone.nordicsemi.com/thread/122324?ContentTypeID=1</link><pubDate>Wed, 28 Feb 2018 14:44:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bbba5a34-9880-4879-ace4-b499fbd18aa9</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;It sounds like this issue could be related to missing handling of or out of order receiption of status messages.&amp;nbsp;If client lose ACCESS_SUCCESS for the first APPKEY_ADD, the server should respond with ACCESS_STATUS_KEY_INDEX_ALREADY_STORED if it gets a new APPKEY_ADD with a key it already have. Are you handling this in your model?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Could you provide RTT logs of the provisoner and server when this issue occurs? Are you using the &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk/keydef/PLUGINS_ROOT/com.nordic.infocenter.meshsdk.v1.0.1/index.html"&gt;latest version&lt;/a&gt; of the Mesh SDK (currently v1.01)?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Ocasional mesh configuration failure</title><link>https://devzone.nordicsemi.com/thread/121995?ContentTypeID=1</link><pubDate>Mon, 26 Feb 2018 16:32:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2054c2d5-cc85-4ac5-992f-25ddd876ede4</guid><dc:creator>alasknnj</dc:creator><description>&lt;p&gt;Yes, I can run the demo with more than 1 server without a problem. I will attach the model code now. Just so you know, I mixed client and server together, because I need a device that can act as both, but not at the same time.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Ocasional mesh configuration failure</title><link>https://devzone.nordicsemi.com/thread/121990?ContentTypeID=1</link><pubDate>Mon, 26 Feb 2018 16:05:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eade20aa-86f2-4778-a87a-6bc19c23b839</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Are you able to run the light switch demo with more than one server? Could you post the code of your model?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>