<?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 Peripheral can no longer be provisioned, does not show up in scanning.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/101965/mesh-peripheral-can-no-longer-be-provisioned-does-not-show-up-in-scanning</link><description>We have developed a system that is comprised on a BLE mesh peripheral (proxy) sensor, and multiple mesh node sensors all using the 52833. The proxy node connects to an Android app to configure, control and use the data from the sensors over a NUS connection</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 26 Jul 2023 16:14:50 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/101965/mesh-peripheral-can-no-longer-be-provisioned-does-not-show-up-in-scanning" /><item><title>RE: Mesh Peripheral can no longer be provisioned, does not show up in scanning.</title><link>https://devzone.nordicsemi.com/thread/438357?ContentTypeID=1</link><pubDate>Wed, 26 Jul 2023 16:14:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8f1e465c-6c49-420d-951a-c0c22f46c248</guid><dc:creator>Terry2</dc:creator><description>&lt;p&gt;Yes we manually reset the device after doing the bt_mesh_reset(). The 2 devices in the field are now running again after this and could be provisioned so we can close this discussion now.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mesh Peripheral can no longer be provisioned, does not show up in scanning.</title><link>https://devzone.nordicsemi.com/thread/438063?ContentTypeID=1</link><pubDate>Tue, 25 Jul 2023 11:58:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3739effb-fb16-4bc2-b9b3-69771c581411</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Terry,&amp;nbsp;&lt;br /&gt;You can look at the app source code to find that it simply send one single CONFIG_NODE_RESET opcode to reset the node:&amp;nbsp;&lt;br /&gt;&lt;a href="https://github.com/NordicSemiconductor/Android-nRF-Mesh-Library/blob/main/app/src/main/java/no/nordicsemi/android/nrfmesh/node/NodeConfigurationActivity.java#L271"&gt;https://github.com/NordicSemiconductor/Android-nRF-Mesh-Library/blob/main/app/src/main/java/no/nordicsemi/android/nrfmesh/node/NodeConfigurationActivity.java#L271&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Here is what inside ConfigNodeReset.java&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1690285659586v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;What I concern of is if you have wait until&lt;span&gt;bt_mesh_reset() has finished the flash operation before you reset.&amp;nbsp;&lt;br /&gt;If you look at the code of the new mesh DFU sample you can find this:&amp;nbsp;&lt;br /&gt;&lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/main/samples/bluetooth/mesh/dfu/common/src/dfu_target.c#L205"&gt;https://github.com/nrfconnect/sdk-nrf/blob/main/samples/bluetooth/mesh/dfu/common/src/dfu_target.c#L205&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;It wait for&amp;nbsp; 1ms before it execute the reset command.&amp;nbsp;&lt;br /&gt;Could you tell us the sequence on how you do DFU and reset the node ?&lt;br /&gt;&lt;br /&gt;I think you may need to recall the defect unit and check the log if any or step into the code to see where it crashed.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mesh Peripheral can no longer be provisioned, does not show up in scanning.</title><link>https://devzone.nordicsemi.com/thread/437935?ContentTypeID=1</link><pubDate>Mon, 24 Jul 2023 16:02:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e7d4bd0c-84d8-408f-98e4-8feea7486a94</guid><dc:creator>Terry2</dc:creator><description>&lt;p&gt;We are using BLE DFU one by one using tablet/phone. Unfortunately the devices where this problem showed up are at the clients location so we were not able to capture logs from them or try to reflash them using the debugger. After the bt_mesh_reset(), yes we did a manual reboot. The devices then started advertising and were able to be provisioned again. After many DFU cycles we were not able to reproduce the issue in our office. We are using external flash and I verified the provision information is still stored after a DFU cycle. Our latest assumption is that the device did not un-provision successfully which likely caused this issue. Can you please outline the steps the mobile takes to un-provision/delete a mesh device? Are there many calls in Android to complete this process and why do you think this might have failed?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mesh Peripheral can no longer be provisioned, does not show up in scanning.</title><link>https://devzone.nordicsemi.com/thread/437846?ContentTypeID=1</link><pubDate>Mon, 24 Jul 2023 11:26:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7d6eb26d-b809-441b-b05b-9a16c440e413</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Terry,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Could you please give more information about the DFU process in your system ? Is it Mesh DFU or BLE DFU that you would do one by one via the phone ?&amp;nbsp;&lt;br /&gt;The two proxy/hub that got the issue, have you tried to erase and reflash them ?&amp;nbsp;&lt;br /&gt;My suspicious is that there is something wrong with the data stored and it cause the device to crash, not able to do any advertising. Do you have any log from the device ?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Have you managed to reproduce the issue in-house ?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;After&amp;nbsp;&lt;span&gt;bt_mesh_reset() do you reset the device immediately or you choose to let&amp;nbsp;the device start advertising as unprovided node ?&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mesh Peripheral can no longer be provisioned, does not show up in scanning.</title><link>https://devzone.nordicsemi.com/thread/437729?ContentTypeID=1</link><pubDate>Fri, 21 Jul 2023 17:31:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7d745270-6322-4f8b-82c8-eead25466ceb</guid><dc:creator>Terry2</dc:creator><description>&lt;p&gt;Yes we tested in lab before the release but not many cycles. We are using nRF Connect SDK v2.3.0 with VS Code. I found the issue with my third device that would not complete the provisioning. In the nRF Connect for mobile app I clicked on &amp;#39;Delete bond information&amp;quot; and now the device provisions properly. Before this I tried the nRF Connect for Desktop - Programmer to erase all flash but since we are running on external flash this likely does not erase provisioning information. I will have the client install nRF Connect for mobile and see if removing the bond information solves their problem. UPDATE: this did not help.&lt;/p&gt;
&lt;p&gt;UPDATE: We added a button press sequence on the target to trigger the device to remove the provisioning by calling&amp;nbsp;&lt;span&gt;bt_mesh_cdb_clear() and bt_mesh_reset(). This reset the device so it could then be provisioned again. It appears the un-provisioning step failed somewhere in that process but the App said it completed successfully. I&amp;#39;m not sure yet what steps are taken in the App to un-provision a device but this is where our focus now lies to understand and fix this issue from happening again. Any clarity on that process would be appreciated.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mesh Peripheral can no longer be provisioned, does not show up in scanning.</title><link>https://devzone.nordicsemi.com/thread/436977?ContentTypeID=1</link><pubDate>Tue, 18 Jul 2023 11:23:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0230b334-7779-4704-bb30-ffce2a0e0be5</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Terry,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Have you tested the DFU application in your lab, did it work has the device managed to start after DFU update ?&amp;nbsp;&lt;br /&gt;What change has been made to the new application ? Extra care must be taken if you have changed flash data (including the provisioning data).&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Could you give more information about the SDK you used ?&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
[quote user=""]A complete flash erase and re program does not clear this issue. [/quote]
&lt;p&gt;Could you tell how did you do a complete flash erase ? There could be a chance that user data has not been cleared and that can confuse the flash manager and cause an assert.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>