<?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 serial firmware can not control the node after reset, until the node reset again</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/41182/mesh-serial-firmware-can-not-control-the-node-after-reset-until-the-node-reset-again</link><description>I use the NRF Mesh SDK v2.2.0 
 - EVB PCA10040 burn the serial example 
 - EVB PCA10056 burn the light server example 
 - PCA10040 attach to the Raspberry Pi 3 via USB for running the PyACI 
 
 After provisioning the PCA10056 (light server), then I can</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 05 Jul 2021 13:26:29 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/41182/mesh-serial-firmware-can-not-control-the-node-after-reset-until-the-node-reset-again" /><item><title>RE: Mesh serial firmware can not control the node after reset, until the node reset again</title><link>https://devzone.nordicsemi.com/thread/318657?ContentTypeID=1</link><pubDate>Mon, 05 Jul 2021 13:26:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4891f4fc-4b43-4bff-b109-0f1c4febb714</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;A serial interface for reading and writing the net state has been added. (It may have been there for quite some while, I have not looked up when exactly it was introduced.) This means you now have &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.meshsdk.v5.0.0%2Fmd_doc_user_guide_modules_serial_cmd.html&amp;amp;anchor=bluetooth-mesh-net-state-set"&gt;Net State Set&lt;/a&gt; and &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.meshsdk.v5.0.0%2Fmd_doc_user_guide_modules_serial_cmd.html&amp;amp;anchor=bluetooth-mesh-net-state-get"&gt;Net State Get&lt;/a&gt; for this purpose.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Terje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mesh serial firmware can not control the node after reset, until the node reset again</title><link>https://devzone.nordicsemi.com/thread/206832?ContentTypeID=1</link><pubDate>Thu, 29 Aug 2019 10:54:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:351febf0-08d4-4833-9ce7-c0f7577ece1d</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;There is a workaround of enabling &amp;quot;PERSISTENT_STORAGE = 1&amp;quot;, in which case the sequence number will be written to flash.&lt;/p&gt;
&lt;p&gt;See &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/48496/mesh-serial-example-don-t-store-sequence-number"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/48496/mesh-serial-example-don-t-store-sequence-number&lt;/a&gt; for more details.&lt;/p&gt;
&lt;p&gt;Would this solve the issue, enabling you to deploy?&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Terje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mesh serial firmware can not control the node after reset, until the node reset again</title><link>https://devzone.nordicsemi.com/thread/206830?ContentTypeID=1</link><pubDate>Thu, 29 Aug 2019 10:48:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0a6f9dd8-a15d-4ce0-bcd4-bc4d4a78c8fd</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Plan is to add serial API for setting sequence number. It is not yet implemented. What is the time frame for your project?&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Terje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mesh serial firmware can not control the node after reset, until the node reset again</title><link>https://devzone.nordicsemi.com/thread/206819?ContentTypeID=1</link><pubDate>Thu, 29 Aug 2019 10:10:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e4319e3b-4038-4e89-877a-06b72253392a</guid><dc:creator>timvan</dc:creator><description>&lt;p&gt;Hi Hai and Tesc, we are also experiencing this problem. Unfortunately for us, it&amp;#39;s not possible to hard reset&amp;nbsp;all&amp;nbsp;the deployed nodes if the serial device is reset. This is definitely a significant blockage for moving our mesh system into deployment.&lt;/p&gt;
&lt;p&gt;Is there any update on whether the fix for this has been proposed and if so when will it be added?&lt;/p&gt;
&lt;p&gt;Many Thanks,&lt;/p&gt;
&lt;p&gt;Tim&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mesh serial firmware can not control the node after reset, until the node reset again</title><link>https://devzone.nordicsemi.com/thread/161832?ContentTypeID=1</link><pubDate>Fri, 14 Dec 2018 09:48:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eda47e3a-9655-4e96-a6c8-5a2b09341240</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I can now confirm that it is because of the sequence number not being stored. We want to fix this by adding an API for setting the sequence number, but that is not yet implemented and I am not quite sure when we plan to do it. Would it be an acceptable workaround for now to rely on resetting the other board?&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Terje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mesh serial firmware can not control the node after reset, until the node reset again</title><link>https://devzone.nordicsemi.com/thread/160283?ContentTypeID=1</link><pubDate>Wed, 05 Dec 2018 00:31:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:28e991fc-d102-4f31-945d-e84bcac68ec1</guid><dc:creator>Hai Nguyen</dc:creator><description>&lt;p&gt;Thanks for your reply. For PyACI, I quit the interactive PyACI then press the reset button on PCA10040 to swipe out all keys and run PyACI again at beginning (load database, run Provisioner to load keys, setup GenericOnOff to control the node provisioned previously). To get it work again, I only press the reset button on the node (PCA10056) and can control on/off from PyACI.&lt;/p&gt;
&lt;p&gt;Maybe it&amp;#39;s the sequence number, because after I send the on/off command many times patiently, it works again. How I keep the sequence number for PyACI? Any way to reset the sequence number from the PCA10040&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mesh serial firmware can not control the node after reset, until the node reset again</title><link>https://devzone.nordicsemi.com/thread/160260?ContentTypeID=1</link><pubDate>Tue, 04 Dec 2018 17:26:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fe9c86bc-8a46-41d8-ac05-2ae3056fad2c</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;How do you hard reset the PCA10040 and PyACI, and what do you do for getting it up and running again? And for provisioning, are you just following &lt;a href="https://www.nordicsemi.com/en/DocLib/Content/SDK_Doc/Mesh_SDK/v3-0-0/md_scripts_interactive_pyaci_doc_demo_configuration"&gt;Interactive mesh provisioning and configuration&lt;/a&gt;?&lt;/p&gt;
&lt;p&gt;I suspect it may have to do with sequence numbers. Each node uses a strictly increasing sequence number for each new message it sends out, in order to protect against replay attacks. This means the node has to keep track at all times of what is the highest sequence number it has used thus far. This is handled for other nodes, but I am not quite sure what happens for the PyACI node if it abruptly is shut down or the serial link is lost.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Terje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>