<?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>How can I modify the model&amp;#39;s default publish period in the Provisioner example?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/75713/how-can-i-modify-the-model-s-default-publish-period-in-the-provisioner-example</link><description>I&amp;#39;m using nRF5 SDK for Mesh v5.0 and I&amp;#39;m evaluating the Provisioner example to provision a node with sensor server model . 
 I want to modify the default publish period of Sensor Server model. 
 But when I set the step_num to a non-zero value in Line</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 02 Jun 2021 02:37:14 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/75713/how-can-i-modify-the-model-s-default-publish-period-in-the-provisioner-example" /><item><title>RE: How can I modify the model's default publish period in the Provisioner example?</title><link>https://devzone.nordicsemi.com/thread/312998?ContentTypeID=1</link><pubDate>Wed, 02 Jun 2021 02:37:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cabfb57a-5d4f-4c06-981a-5fb6f895bddc</guid><dc:creator>Charmin</dc:creator><description>&lt;p&gt;It&amp;#39;s done! Thank you!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can I modify the model's default publish period in the Provisioner example?</title><link>https://devzone.nordicsemi.com/thread/312654?ContentTypeID=1</link><pubDate>Mon, 31 May 2021 13:14:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7a419b4a-70b8-41eb-beaa-d4771d720f76</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Charmin,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Status field 7 means&amp;nbsp;Invalid Publish Parameters.&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/1070x1066/__key/communityserver-discussions-components-files/4/pastedimage1622466120964v1.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;What I can see in the log is that you were trying to write to&amp;nbsp;&amp;nbsp;&amp;quot;Sensor setup server&amp;quot;. And it seems that in the node_setup it use the same parameter to the &amp;quot;Sensor server&amp;quot; . So most likely &amp;quot;Sensor setup server&amp;quot; doesn&amp;#39;t support periodic publication and you shouldn&amp;#39;t send the publication set with&amp;nbsp;step_num = 1 to the &amp;quot;sensor setup server&amp;quot;.&lt;/p&gt;
&lt;p&gt;What you need to do is to split the setup&amp;nbsp;for _SENSOR_SERVER&amp;nbsp; (for example case NODE_SETUP_CONFIG_PUBLICATION_SENSOR_SERVER) in config_step_execute() and change the parameters for these cases only, not all as you do now.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can I modify the model's default publish period in the Provisioner example?</title><link>https://devzone.nordicsemi.com/thread/312433?ContentTypeID=1</link><pubDate>Fri, 28 May 2021 15:07:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9d8c883c-8d67-46f2-9667-c1e6ce5327a9</guid><dc:creator>Charmin</dc:creator><description>&lt;p&gt;Sir, here is the RTT output &lt;span&gt;on the provisioner node&lt;/span&gt;:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;&amp;lt;t:     711537&amp;gt;, main.c,  262, Start provisioning procedure ...
&amp;lt;t:     711540&amp;gt;, provisioner_helper.c,  326, Scanning For Unprovisioned Devices
&amp;lt;t:     744718&amp;gt;, provisioner_helper.c,  168, UUID : 0B7F887250DB4E189FC2B6CE1D935F0D
&amp;lt;t:     744721&amp;gt;, provisioner_helper.c,  171, ^RSSI: -52
&amp;lt;t:     744723&amp;gt;, provisioner_helper.c,  177, ^URI Hash: FB611461
&amp;lt;t:     744760&amp;gt;, provisioner_helper.c,  332, Stop Scanning For Unprovisioned Devices
&amp;lt;t:     744763&amp;gt;, provisioner_helper.c,  183, URI hash matched to &amp;#185;URI for Sensor Server example. Provisioning ...
&amp;lt;t:     754044&amp;gt;, provisioner_helper.c,  300, Provisioning link established
&amp;lt;t:     768624&amp;gt;, provisioner_helper.c,  295, Static authentication data provided
&amp;lt;t:     848991&amp;gt;, provisioner_helper.c,  233, Provisioning completed received
&amp;lt;t:     848994&amp;gt;, provisioner_helper.c,  238, Adding device address, and device keys
&amp;lt;t:     849021&amp;gt;, provisioner_helper.c,  251, Addr: 0x0801 addr_handle: 0 netkey_handle: 0 devkey_handle: 2
&amp;lt;t:     854802&amp;gt;, provisioner_helper.c,  192, Local provisioning link closed: prov_state: 2  remaining retries: 2
&amp;lt;t:     854810&amp;gt;, main.c,  200, Provisioning successful
&amp;lt;t:     854817&amp;gt;, provisioner_helper.c,  216, Provisioning complete. &amp;#185;URI for Sensor Server example - address: 0x0801 elements: 1
&amp;lt;t:     854822&amp;gt;, node_setup.c,  779, Configuring Node: 0x0801
&amp;lt;t:     854825&amp;gt;, node_setup.c,  675, Config client setup: devkey_handle:2 addr_handle:0
&amp;lt;t:     854828&amp;gt;, node_setup.c,  430, Getting composition data
&amp;lt;t:     858351&amp;gt;, main.c,  253, Config client event
&amp;lt;t:     858353&amp;gt;, node_setup.c,  439, Updating network transmit: count: 2 steps: 1
&amp;lt;t:     860710&amp;gt;, main.c,  253, Config client event
&amp;lt;t:     860712&amp;gt;, node_setup.c,  450, Adding appkey
&amp;lt;t:     865056&amp;gt;, main.c,  253, Config client event
&amp;lt;t:     865059&amp;gt;, node_setup.c,  282, opcode status field: 0 
&amp;lt;t:     865061&amp;gt;, node_setup.c,  492, App key bind: Health server on element address 0x0801
&amp;lt;t:     867883&amp;gt;, main.c,  253, Config client event
&amp;lt;t:     867886&amp;gt;, node_setup.c,  282, opcode status field: 0 
&amp;lt;t:     867902&amp;gt;, node_setup.c,  511, Setting publication address for Health server to 0x0001
&amp;lt;t:     875054&amp;gt;, main.c,  253, Config client event
&amp;lt;t:     875056&amp;gt;, node_setup.c,  282, opcode status field: 0 
&amp;lt;t:     875058&amp;gt;, node_setup.c,  492, App key bind: Sensor server on element address 0x0801
&amp;lt;t:     877467&amp;gt;, main.c,  253, Config client event
&amp;lt;t:     877470&amp;gt;, node_setup.c,  282, opcode status field: 0 
&amp;lt;t:     877472&amp;gt;, node_setup.c,  492, App key bind: Sensor setup server on element address 0x0801
&amp;lt;t:     879902&amp;gt;, main.c,  253, Config client event
&amp;lt;t:     879905&amp;gt;, node_setup.c,  282, opcode status field: 0 
&amp;lt;t:     879921&amp;gt;, node_setup.c,  549, Setting publication address to 0xC005 for Sensor server on element address 0x0801
&amp;lt;t:     893009&amp;gt;, main.c,  253, Config client event
&amp;lt;t:     893012&amp;gt;, node_setup.c,  282, opcode status field: 0 
&amp;lt;t:     893028&amp;gt;, node_setup.c,  549, Setting publication address to 0xC005 for Sensor setup server on element address 0x0801
&amp;lt;t:    1085139&amp;gt;, main.c,  253, Config client event
&amp;lt;t:    1085142&amp;gt;, node_setup.c,  282, opcode status field: 7 
&amp;lt;t:    1085145&amp;gt;, main.c,  191, Configuration of device 0 failed.
&amp;lt;t:    1085147&amp;gt;, main.c,  192, Press Button/RTT 1 to retry configuration.
&amp;lt;t:    1085150&amp;gt;, main.c,  193, Press Button/RTT 2 to start provisioning new nodes.&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can I modify the model's default publish period in the Provisioner example?</title><link>https://devzone.nordicsemi.com/thread/312379?ContentTypeID=1</link><pubDate>Fri, 28 May 2021 12:42:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:97ffff92-493c-40b6-a312-ef51b6ddfe3c</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Charmin,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Could you let me know what exactly failed ? Was it on the provisioner node or on the provisionee&amp;nbsp; ? Do you have any log showing where it failed ?&amp;nbsp;&lt;br /&gt;&lt;br /&gt;You can find in the same file node_setup.c in&amp;nbsp;NODE_SETUP_CONFIG_PUBLICATION_HEALTH case in&amp;nbsp;config_step_execute() we set&amp;nbsp;step_num = 1 for the health model.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>