<?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 to reset a node and re-provision it after provision once programmically?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/120114/how-to-reset-a-node-and-re-provision-it-after-provision-once-programmically</link><description>Hi! 
 We are developing home automation light control mesh products. 
 We use nrf52832 DK (PCA10040), with nRF Connect SDK Toolchain v2.7.0 and nRF Connect SDK v2.6.1 
 We had successful build a mesh network, provision nodes. 
 But our customer need a</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 25 Mar 2025 21:51:46 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/120114/how-to-reset-a-node-and-re-provision-it-after-provision-once-programmically" /><item><title>RE: How to reset a node and re-provision it after provision once programmically?</title><link>https://devzone.nordicsemi.com/thread/528939?ContentTypeID=1</link><pubDate>Tue, 25 Mar 2025 21:51:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7effebfa-9ebc-4ae4-a117-c8f1c0097234</guid><dc:creator>JY wu</dc:creator><description>&lt;p&gt;Hi~&lt;/p&gt;
&lt;p&gt;Huge thanks for your quickly support.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;We had tried these functions, it works great!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to reset a node and re-provision it after provision once programmically?</title><link>https://devzone.nordicsemi.com/thread/528908?ContentTypeID=1</link><pubDate>Tue, 25 Mar 2025 16:32:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1e51ca2f-8f86-46d8-b5a3-3eadfe1ce7b4</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;In nRF Connect SDK, you can use &lt;a href="https://docs.nordicsemi.com/bundle/zephyr-apis-latest/page/group_bt_mesh.html#ga69fc65f4e07e6007388473f139e5d8d8"&gt;bt_mesh_reset()&lt;/a&gt; to reset the local node. Please note that after resetting the node, you must initiate unprovisioned advertising with &lt;a href="https://docs.nordicsemi.com/bundle/zephyr-apis-latest/page/group_bt_mesh_prov.html#ga6c8dc1b09d4cde8738be83c992b860a9"&gt;bt_mesh_prov_enable()&lt;/a&gt; in order for the node to be available for provisioning again.&lt;/p&gt;
&lt;p&gt;Please note also that when resetting the local node this way, the provisioner will not get notified. From the view of the rest of the network, resetting the node looks the same as the node simply being brought out of range. Typically, node removal should therefore be done by the provisioner.&lt;/p&gt;
&lt;p&gt;For an nRF Connect SDK based provisioner, you can reset other nodes through use of &lt;a href="https://docs.nordicsemi.com/bundle/zephyr-apis-latest/page/group_bt_mesh_cfg_cli.html#gac6675d227749a69cedc5455c70626b76"&gt;bt_mesh_cfg_cli_node_reset()&lt;/a&gt;. (Technically this call can also be used to reset the node itself, by using the node&amp;#39;s unicast address, but bt_mesh_reset() is the preferred way to reset the local node itself.)&lt;/p&gt;
&lt;p&gt;When a node has been reset, the provisioner should keep track of the (now unused) unicast addresses, which can be reused after two IV Updates. (Unicast address reuse is not allowed before that, due to the potential existence of replay protection list entries in other noes.)&lt;/p&gt;
&lt;p&gt;If a node has been reset, there is often also a good idea to perform the Key Refresh procedure, for any keys held by the now reset node, in order to maintain the security of the network. (E.g. to protect against trash can attack.)&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>