<?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>Provisioning problem with Mesh SDK 2.0</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/34389/provisioning-problem-with-mesh-sdk-2-0</link><description>I try to make a simple project based on a &amp;quot;simple message model&amp;quot; ( https://devzone.nordicsemi.com/f/nordic-q-a/29836/send-and-receive-a-string-via-access-layer ) with Mesh SDK 2.0 and S132 ver. 6.0. I implemented logging on both sides (see attached file</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 17 Aug 2018 09:26:17 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/34389/provisioning-problem-with-mesh-sdk-2-0" /><item><title>RE: Provisioning problem with Mesh SDK 2.0</title><link>https://devzone.nordicsemi.com/thread/144668?ContentTypeID=1</link><pubDate>Fri, 17 Aug 2018 09:26:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:05ab91c9-dbcc-4867-ac15-28c9cc52a9f3</guid><dc:creator>ajay</dc:creator><description>&lt;p&gt;I am doing the similar project&lt;/p&gt;
&lt;p&gt;- 1 board is used for the Client &amp;amp; provisioner:&lt;/p&gt;
&lt;p&gt;- 1 board is used for Server side.&lt;/p&gt;
&lt;p&gt;Seems the device is provisioned, and the node is already configured.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;But afterwards, when i send the simple on off message to the server side, it say Publication not configured for client&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt; 0&amp;gt; &amp;lt;t:         24&amp;gt;, main.c,  932, ----- BLE Mesh Light Switch Mesh Demo -----
 0&amp;gt; &amp;lt;t:        520&amp;gt;, main.c,  861, Initializing and adding models
 0&amp;gt; &amp;lt;t:        526&amp;gt;, main.c,  880, Initializing and adding models finish
 0&amp;gt; &amp;lt;t:        537&amp;gt;, main.c,  911, Setup defaults: Adding keys, addresses, and bindings 
 0&amp;gt; &amp;lt;t:        701&amp;gt;, provisioner_helper.c,  378, netkey_handle: 0
 0&amp;gt; &amp;lt;t:       6030&amp;gt;, main.c, 1426, Device UUID : 0059ABCDEFABCDEFACCDEFABCDEFABCD
 0&amp;gt; &amp;lt;t:       6035&amp;gt;, main.c,  481, Waiting for Server node to be provisioned ...
 0&amp;gt; &amp;lt;t:     995699&amp;gt;, provisioner_helper.c,  303, Static authentication data provided
 0&amp;gt; &amp;lt;t:    1205425&amp;gt;, provisioner_helper.c,  212, Provisioning completed received
 0&amp;gt; &amp;lt;t:    1205430&amp;gt;, provisioner_helper.c,  217, Adding device address, and device keys
 0&amp;gt; &amp;lt;t:    1205436&amp;gt;, provisioner_helper.c,  227, Going to address [0x0100]key_handle [0], dev_key[536886660]
 0&amp;gt; &amp;lt;t:    1205443&amp;gt;, access.c, 1101, #### public address handle 0, set to access_model_pool index 2
 0&amp;gt; &amp;lt;t:    1205448&amp;gt;, config_client.c,  438, &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;:0x02 Addr:0x00
 0&amp;gt; &amp;lt;t:    1205454&amp;gt;, provisioner_helper.c,  263, &amp;lt;t:    1209434&amp;gt;, provisioner_helper.c,  175, Local provisioning link closed: prov_state: 2  remaining retries: 2
 0&amp;gt; &amp;lt;t:    1209440&amp;gt;, main.c,  773, Provisioning successful
 0&amp;gt; &amp;lt;t:    1209445&amp;gt;, provisioner_helper.c,  201, Provisioning complete. Node addr: 0x0100 elements: 1
 0&amp;gt; &amp;lt;t:    1209450&amp;gt;, node_setup.c,  699, Configuring Node: 0x0100
 0&amp;gt; &amp;lt;t:    1209455&amp;gt;, config_client.c,  438, &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;:0x02 Addr:0x00
 0&amp;gt; &amp;lt;t:    1209461&amp;gt;, node_setup.c,  329, Setup select Step for addr 0x0100
 0&amp;gt; Getting composition data
 0&amp;gt; &amp;lt;t:    1285449&amp;gt;, main.c,  201, Config client event
 0&amp;gt; &amp;lt;t:    1285454&amp;gt;, node_setup.c,  393, Adding appkey
 0&amp;gt; &amp;lt;t:    1285474&amp;gt;, access_reliable.c,  413, access_model_publish statu 0
 0&amp;gt; &amp;lt;t:    1329861&amp;gt;, main.c,  201, Config client event
 0&amp;gt; &amp;lt;t:    1329865&amp;gt;, node_setup.c,  404, App key bind: Health server
 0&amp;gt; &amp;lt;t:    1329877&amp;gt;, access_reliable.c,  413, access_model_publish statu 0
 0&amp;gt; &amp;lt;t:    1332259&amp;gt;, main.c,  201, Config client event
 0&amp;gt; &amp;lt;t:    1332263&amp;gt;, node_setup.c,  419, App key bind: Simple On/Off server
 0&amp;gt; &amp;lt;t:    1332277&amp;gt;, access_reliable.c,  413, access_model_publish statu 0
 0&amp;gt; &amp;lt;t:    1335080&amp;gt;, main.c,  201, Config client event
 0&amp;gt; &amp;lt;t:    1335084&amp;gt;, node_setup.c,  472, Setting publication address for the health server to 0x0001
 0&amp;gt; &amp;lt;t:    1335103&amp;gt;, access_reliable.c,  413, access_model_publish statu 0
 0&amp;gt; &amp;lt;t:    1382356&amp;gt;, main.c,  201, Config client event
 0&amp;gt; &amp;lt;t:    1382361&amp;gt;, node_setup.c,  499, Set: on/off server pub addr: 0x0100
 0&amp;gt; &amp;lt;t:    1382366&amp;gt;, access_reliable.c,  413, access_model_publish statu 4
 0&amp;gt; &amp;lt;t:    1397084&amp;gt;, main.c,  201, Config client event
 0&amp;gt; &amp;lt;t:    1397089&amp;gt;, node_setup.c,  510, Adding subscription
 0&amp;gt; &amp;lt;t:    1397102&amp;gt;, access_reliable.c,  413, access_model_publish statu 0
 0&amp;gt; &amp;lt;t:    1398643&amp;gt;, main.c,  201, Config client event
 0&amp;gt; &amp;lt;t:    1398647&amp;gt;, main.c,  729, Configuration of device 0 successful
 0&amp;gt; &amp;lt;t:    1398652&amp;gt;, main.c,  742, Finish Init the Simple Onff 0 model handle 4
 0&amp;gt; &amp;lt;t:    1398658&amp;gt;, provisioner_helper.c,  331, Scanning For Unprovisioned Devices
 0&amp;gt; &amp;lt;t:    1398716&amp;gt;, main.c,  597, Flash write complete
 0&amp;gt; &amp;lt;t:    1398720&amp;gt;, main.c,  608, Flash write complete exit
 0&amp;gt; &amp;lt;t:    1584330&amp;gt;, main.c,  332, Button 0 pressed
 0&amp;gt; &amp;lt;t:    1584334&amp;gt;, access.c,  351,  I am here 
 0&amp;gt; &amp;lt;t:    1584338&amp;gt;, access.c,  352,  App key Handle 0xFFFF
 0&amp;gt; &amp;lt;t:    1584342&amp;gt;, access.c,  353,  publish_address_handle key Handle 0xFFFF
 0&amp;gt; &amp;lt;t:    1584346&amp;gt;, access.c,  354,  Is valid opcode 1??
 0&amp;gt; &amp;lt;t:    1584350&amp;gt;, access.c,  374, packet tx return here. . at the handle 4
 0&amp;gt; &amp;lt;t:    1584355&amp;gt;, access_reliable.c,  413, access_model_publish statu 7
 0&amp;gt; &amp;lt;t:    1584359&amp;gt;, access_reliable.c,  442, access_model_reliable_publish failed 7
 0&amp;gt; &amp;lt;t:    1680696&amp;gt;, main.c,  332, Button 0 pressed
 0&amp;gt; &amp;lt;t:    1680700&amp;gt;, access.c,  351,  I am here 
 0&amp;gt; &amp;lt;t:    1680704&amp;gt;, access.c,  352,  App key Handle 0xFFFF
 0&amp;gt; &amp;lt;t:    1680708&amp;gt;, access.c,  353,  publish_address_handle key Handle 0xFFFF
 0&amp;gt; &amp;lt;t:    1680712&amp;gt;, access.c,  354,  Is valid opcode 1??
 0&amp;gt; &amp;lt;t:    1680716&amp;gt;, access.c,  374, packet tx return here. . at the handle 4
 0&amp;gt; &amp;lt;t:    1680721&amp;gt;, access_reliable.c,  413, access_model_publish statu 7
 0&amp;gt; &amp;lt;t:    1680727&amp;gt;, access_reliable.c,  442, access_model_reliable_publish failed 7
 0&amp;gt; &amp;lt;t:    1707525&amp;gt;, main.c,  332, Button 0 pressed
 0&amp;gt; &amp;lt;t:    1707529&amp;gt;, access.c,  351,  I am here 
 0&amp;gt; &amp;lt;t:    1707532&amp;gt;, access.c,  352,  App key Handle 0xFFFF
 0&amp;gt; &amp;lt;t:    1707536&amp;gt;, access.c,  353,  publish_address_handle key Handle 0xFFFF
 0&amp;gt; &amp;lt;t:    1707540&amp;gt;, access.c,  354,  Is valid opcode 1??
 0&amp;gt; &amp;lt;t:    1707544&amp;gt;, access.c,  374, packet tx return here. . at the handle 4
 0&amp;gt; &amp;lt;t:    1707549&amp;gt;, access_reliable.c,  413, access_model_publish statu 7
 0&amp;gt; &amp;lt;t:    1707553&amp;gt;, access_reliable.c,  442, access_model_reliable_publish failed 7
 0&amp;gt; &amp;lt;t:    1710307&amp;gt;, main.c,  801, Node 0x0100 alive with 0 active fault(s), RSSI: -67&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Can you teach me your setting on the mp_config_step in the setup_select_steps? I think i am not correctly config all the necessary appkey??&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Provisioning problem with Mesh SDK 2.0</title><link>https://devzone.nordicsemi.com/thread/132602?ContentTypeID=1</link><pubDate>Mon, 21 May 2018 15:41:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e3205fd2-d44a-4a21-96f4-7e4279955ac4</guid><dc:creator>Igor</dc:creator><description>&lt;p&gt;Yeah. main.c used its own instance of configured_devices variable. Problem solved.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Provisioning problem with Mesh SDK 2.0</title><link>https://devzone.nordicsemi.com/thread/132490?ContentTypeID=1</link><pubDate>Fri, 18 May 2018 10:57:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eb594c2d-58eb-4ba2-b79d-5bc269b9efd5</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;I have taken a look at the log &amp;amp; it seems the simple messaging model has been added correctly. Does the configured devices variable (m_nw_state.configured_devices++;) get updated for you in the app_config_successful_cb() inside main.c for your provisioner/client, like it does in the mesh sdk v2.0.0 provisioner example?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Provisioning problem with Mesh SDK 2.0</title><link>https://devzone.nordicsemi.com/thread/132322?ContentTypeID=1</link><pubDate>Wed, 16 May 2018 14:54:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:48d06f46-7c3b-4171-bc2f-aa15d4fed8d9</guid><dc:creator>Igor</dc:creator><description>&lt;p&gt;Everything (including simple_message model) was working on Mesh 1.0. But I am not so lucky with the Mesh 2.0 (a lot of corrections had to be done due to extensive changes made in the new Mesh SDK).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Provisioning problem with Mesh SDK 2.0</title><link>https://devzone.nordicsemi.com/thread/132317?ContentTypeID=1</link><pubDate>Wed, 16 May 2018 14:39:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:51dedd32-5518-4fab-a971-740f35cd59f7</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;Sorry about that. Should have noticed that. Have you merged the light switch provisioner &amp;amp; client examples then? Were you able to merge those examples &amp;amp; get everything working correctly with the simple on/off model first before you moved to the simple_message model?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Provisioning problem with Mesh SDK 2.0</title><link>https://devzone.nordicsemi.com/thread/132287?ContentTypeID=1</link><pubDate>Wed, 16 May 2018 12:55:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8aad9f24-ffde-4d9d-9454-a512b461262d</guid><dc:creator>Igor</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/members/bjorn-kvaale"&gt;Bjørn Kvaale&lt;/a&gt;&lt;span&gt;&amp;nbsp;The &amp;quot;client&amp;quot; is also a provisioner. You can see its log in my post. I would like to say that I was able to make this working with Mesh 1.0 SDK but I&amp;nbsp;&lt;/span&gt;&lt;span&gt;am unsuccessful with the Mesh 2.0 SDK.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Provisioning problem with Mesh SDK 2.0</title><link>https://devzone.nordicsemi.com/thread/132281?ContentTypeID=1</link><pubDate>Wed, 16 May 2018 12:46:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:53423883-04d5-4306-9dbd-a0748d09b425</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;Could you upload the logging from the provisioner too please? That could give us a bit more information about why the server has not been provisioned correctly, even though it seems like most of the logging looks to be correct. Quite a few customers have had some issues with the &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/29836/send-and-receive-a-string-via-access-layer"&gt;devzone answer&lt;/a&gt; I posted in the link you mention, so I will need to take a look &amp;amp; see what I have done wrong. I suspect it might be something with the simple message model. Are you using one provisioner, one client &amp;amp; one server in your test?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>