<?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>triggering model reset handler</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/90490/triggering-model-reset-handler</link><description>Hi, 
 
 
 I have implemented a set of custom mesh models on nCS. In vendor models we have reset handlers, as in nrf documentation: https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.0.0/nrf/ug_bt_mesh_vendor_model_dev_overview.html#:~:text=The%20model</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 19 Aug 2022 08:35:09 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/90490/triggering-model-reset-handler" /><item><title>RE: triggering model reset handler</title><link>https://devzone.nordicsemi.com/thread/382396?ContentTypeID=1</link><pubDate>Fri, 19 Aug 2022 08:35:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1530442e-16bc-47e4-80a9-b343fc5dda7a</guid><dc:creator>Ubaid_M</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks, This is what I was looking for.&lt;br /&gt;Please mark as solved&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: triggering model reset handler</title><link>https://devzone.nordicsemi.com/thread/381711?ContentTypeID=1</link><pubDate>Tue, 16 Aug 2022 08:27:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b95aa11b-f40b-40a8-8a7e-03d67f970762</guid><dc:creator>AHaug</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;&lt;span&gt;Take a look at configuration models functionality, specifically at Node Reset command.. The client needs to send it and server to handle it. It will perform remote device resetting including models. This is config client related API:&amp;nbsp;&lt;/span&gt;&lt;a title="https://github.com/zephyrproject-rtos/zephyr/blob/main/include/zephyr/bluetooth/mesh/cfg_cli.h#L208-L216" href="https://github.com/zephyrproject-rtos/zephyr/blob/main/include/zephyr/bluetooth/mesh/cfg_cli.h#L208-L216" rel="noopener noreferrer" target="_blank"&gt;https://github.com/zephyrproject-rtos/zephyr/blob/main/include/zephyr/bluetooth/mesh/cfg_cli.h#L208-L216&lt;/a&gt;&lt;/p&gt;
[quote user="Ubaid_M"]How do I invoke the reset callback from&amp;nbsp;&amp;nbsp;nrf mesh android app..?[/quote]
&lt;p&gt;After flashing and provisioning your application you will&amp;nbsp;find your application in nRF Mesh for android&lt;/p&gt;
&lt;p&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/pastedimage1660638276149v1.png_2D00_640x480.jpg_2D00_640x480.jpg" alt=" " /&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Pressing the application and scrolling down to the bottom will show the reset node button for wireless node reset.&lt;/p&gt;
&lt;p&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/resetnode.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Please check out the sample to see where and how the callbacks are handled in and by the sample before implementing it in your own custom application.&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: triggering model reset handler</title><link>https://devzone.nordicsemi.com/thread/381572?ContentTypeID=1</link><pubDate>Mon, 15 Aug 2022 12:23:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:077656ed-a38f-4d4c-8fb2-ef24f8f7c707</guid><dc:creator>Ubaid_M</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;a class="internal-link view-user-profile" href="https://devzone.nordicsemi.com/members/ahaug"&gt;AHaug&lt;/a&gt;,&lt;br /&gt;&lt;br /&gt;I am unaware about the same,&amp;nbsp;&lt;br /&gt;Now coming back to my original question&lt;/p&gt;
[quote userid="108934" url="~/f/nordic-q-a/90490/triggering-model-reset-handler/379446"]I need to know how to invoke &amp;quot;.reset&amp;quot;[/quote]
&lt;p&gt;&lt;/p&gt;
[quote userid="107683" url="~/f/nordic-q-a/90490/triggering-model-reset-handler/381557"] if you need to update something stored in flash or in RAM that needs to be updated. As an example, if you have a server-model you will need to reset the stored state of the model.[/quote]
&lt;p&gt;This is exactly what I am supposed to do,&lt;/p&gt;
&lt;p&gt;But I cannot do this through a push button, I need to know how to reset a node wirelessly.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Is there a provision for the same in nrf mesh android app..?&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;How do I invoke the reset callback from&amp;nbsp;&amp;nbsp;nrf mesh android app..?&lt;/strong&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: triggering model reset handler</title><link>https://devzone.nordicsemi.com/thread/381557?ContentTypeID=1</link><pubDate>Mon, 15 Aug 2022 11:51:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ace94c45-aa9a-4701-8abb-4b2d80c1d5c0</guid><dc:creator>AHaug</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;Apologies for the further delay.&amp;nbsp;I have been out of office for the last week.&lt;/p&gt;
&lt;p&gt;Unfortunately we do not have any existing samples showing how to do this, and in looking into how to use the&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/connectivity/bluetooth/api/mesh/cfg_cli.html?highlight=node%20reset#c.bt_mesh_cfg_node_reset"&gt;reset node function&lt;/a&gt;&amp;nbsp;I previously sent, I realized I have sent you the wrong reset function. What you want to do is&amp;nbsp;&lt;em&gt;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/connectivity/bluetooth/api/mesh/core.html#c.bt_mesh_reset"&gt;void bt_mesh_reset(void)&lt;/a&gt;&lt;/em&gt;&amp;nbsp;from the core API to reset the node, followed by&lt;em&gt;&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/connectivity/bluetooth/api/mesh/provisioning.html#group__bt__mesh__prov_1ga6c8dc1b09d4cde8738be83c992b860a9"&gt;int bt_mesh_prov_enable(bt_mesh_prov_bearer_t bearers)&lt;/a&gt;&amp;nbsp;&lt;/em&gt;if you want to provision the node in a new network. You may disregard the latter if you only want to test the reset of the node.&lt;/p&gt;
&lt;p&gt;The reset handler is a callback that you can choose to implement and register for your model. This will be called when the node is reset and it is specific for your model.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1660563394247v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;What you need to do is to implement this model reset callback, on the shape of&amp;nbsp;&lt;em&gt;&lt;a title="void (*const reset)(struct bt_mesh_model *model)" href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.0.0/zephyr/connectivity/bluetooth/api/mesh/access.html#c.bt_mesh_model_cb.reset"&gt;&lt;span&gt;&lt;span&gt;void&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;*&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;const&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;reset&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;)&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;struct&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;bt_mesh_model&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;*&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;model&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;span&gt;&lt;span&gt;&lt;a title="void (*const reset)(struct bt_mesh_model *model)" href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.0.0/zephyr/connectivity/bluetooth/api/mesh/access.html#c.bt_mesh_model_cb.reset"&gt;)&lt;/a&gt;. &lt;/span&gt;&lt;/span&gt;&lt;/em&gt;&lt;span&gt;&lt;span&gt;I&lt;/span&gt;&lt;/span&gt;f its required to do some manual resetting in your model when node resetting, such as if you need to update something stored in flash or in RAM that needs to be updated. As an example, if you have a server-model you will need to reset the stored state of the model. You can bind a button to trigger the bt_mesh_reset() call&lt;/p&gt;
&lt;p&gt;Everything else with regards to the node reset that the stack and our model implementations for standard models from BT SIG is already handled by the stack.&lt;/p&gt;
&lt;p&gt;Thank you for your patience,&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: triggering model reset handler</title><link>https://devzone.nordicsemi.com/thread/380722?ContentTypeID=1</link><pubDate>Tue, 09 Aug 2022 05:37:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:162b92ef-bdf5-40e4-ad42-05b34689978b</guid><dc:creator>Ubaid_M</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote userid="108934" url="~/f/nordic-q-a/90490/triggering-model-reset-handler/380027"]no where I found on how to invoke&amp;nbsp;&lt;span&gt;&amp;quot;.reset&amp;quot;..?&lt;/span&gt;[/quote]
&lt;p&gt;Please suggest&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: triggering model reset handler</title><link>https://devzone.nordicsemi.com/thread/380396?ContentTypeID=1</link><pubDate>Fri, 05 Aug 2022 13:14:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:21c36961-bfbf-4c8f-854d-1db1a6c219f1</guid><dc:creator>AHaug</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;Apologies for the delay, I were not able to find a specific sample that showed how this is done. I will have to ask around some more to see if I can find a sample that illustrates this properly.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I will get back to you on monday.&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: triggering model reset handler</title><link>https://devzone.nordicsemi.com/thread/380027?ContentTypeID=1</link><pubDate>Thu, 04 Aug 2022 05:56:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c53040e8-c887-4e3d-be53-efccf7f64aec</guid><dc:creator>Ubaid_M</dc:creator><description>&lt;p&gt;Hello&amp;nbsp;&lt;a class="internal-link view-user-profile" href="https://devzone.nordicsemi.com/members/ahaug"&gt;AHaug&lt;/a&gt;,&lt;/p&gt;
[quote userid="107683" url="~/f/nordic-q-a/90490/triggering-model-reset-handler/379715"]our&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/samples_bl.html"&gt; Mesh samples&lt;/a&gt; shows[/quote]
&lt;p&gt;Here you suggested entire mesh model documentation, no where I found on how to invoke&amp;nbsp;&lt;span&gt;&amp;quot;.reset&amp;quot;..?&lt;br /&gt;Kindly suggest :&lt;/span&gt;&lt;/p&gt;
[quote userid="108934" url="~/f/nordic-q-a/90490/triggering-model-reset-handler/379446"]&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;To be more specific, each model has below instance of &amp;quot;bt_mesh_model_cb&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div class="evolution-code-editor theme-clouds"&gt;&lt;a href="#" class="fullscreen"&gt;Fullscreen&lt;/a&gt;&lt;div class=" ace_editor ace-clouds" style="width:100%;height:84px;"&gt;&lt;div class="ace_gutter"&gt;&lt;div class="ace_layer ace_gutter-layer ace_folding-enabled" style="margin-top:0px;height:112px;width:40px;"&gt;&lt;div class="ace_gutter-cell " style="height:14px;"&gt;1&lt;/div&gt;&lt;div class="ace_gutter-cell " style="height:14px;"&gt;2&lt;/div&gt;&lt;div class="ace_gutter-cell " style="height:14px;"&gt;3&lt;/div&gt;&lt;div class="ace_gutter-cell " style="height:14px;"&gt;4&lt;/div&gt;&lt;div class="ace_gutter-cell " style="height:14px;"&gt;5&lt;/div&gt;&lt;div class="ace_gutter-cell " style="height:14px;"&gt;6&lt;/div&gt;&lt;/div&gt;&lt;div class="ace_gutter-active-line" style="display:none;"&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="ace_scroller" style="left:40px;right:0px;bottom:0px;"&gt;&lt;div class="ace_content" style="margin-top:0px;width:635px;height:112px;margin-left:0px;"&gt;&lt;div class="ace_layer ace_print-margin-layer"&gt;&lt;div class="ace_print-margin" style="left:531.825px;"&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="ace_layer ace_marker-layer"&gt;&lt;/div&gt;&lt;div class="ace_layer ace_text-layer" style="padding:0px 4px;"&gt;&lt;div class="ace_line" style="height:14px;"&gt;const struct bt_mesh_model_cb _bt_mesh_srv_cb =&lt;/div&gt;&lt;div class="ace_line" style="height:14px;"&gt;{&lt;/div&gt;&lt;div class="ace_line" style="height:14px;"&gt;    .init = bt_mesh_srv_init,&lt;/div&gt;&lt;div class="ace_line" style="height:14px;"&gt;    .start = bt_mesh_srv_start,&lt;/div&gt;&lt;div class="ace_line" style="height:14px;"&gt;    .reset = bt_mesh_srv_reset,&lt;/div&gt;&lt;div class="ace_line" style="height:14px;"&gt;};&lt;/div&gt;&lt;/div&gt;&lt;div class="ace_layer ace_marker-layer"&gt;&lt;/div&gt;&lt;div class="ace_layer ace_cursor-layer ace_hidden-cursors"&gt;&lt;div class="ace_cursor" style="left:4px;top:0px;width:6.59781px;height:14px;"&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="ace_scrollbar ace_scrollbar-v" style="display:none;width:22px;bottom:0px;"&gt;&lt;div class="ace_scrollbar-inner" style="width:22px;height:84px;"&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="ace_scrollbar ace_scrollbar-h" style="display:none;height:22px;left:40px;right:0px;"&gt;&lt;div class="ace_scrollbar-inner" style="height:22px;width:635px;"&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="height:auto;width:auto;top:0px;left:0px;position:absolute;white-space:pre;font:inherit;overflow:hidden;"&gt;&lt;div style="height:auto;width:auto;top:0px;left:0px;position:absolute;white-space:pre;font:inherit;overflow:visible;"&gt;&lt;/div&gt;&lt;div style="height:auto;width:auto;top:0px;left:0px;position:absolute;white-space:pre;font-style:inherit;font-size:inherit;line-height:inherit;font-family:inherit;overflow:visible;"&gt;XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="content-scrollable-wrapper" style="max-width:100%;overflow:auto;max-height:none;"&gt;&lt;pre class="ui-code" data-mode="text" style="display:none;"&gt;const struct bt_mesh_model_cb _bt_mesh_srv_cb =
{
	.init = bt_mesh_srv_init,
	.start = bt_mesh_srv_start,
	.reset = bt_mesh_srv_reset,
};&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I need to know how to invoke &amp;quot;.reset&amp;quot;&lt;/p&gt;[/quote]&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: triggering model reset handler</title><link>https://devzone.nordicsemi.com/thread/379715?ContentTypeID=1</link><pubDate>Tue, 02 Aug 2022 12:31:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f913f60f-64a9-4203-905b-7c134e1281fe</guid><dc:creator>AHaug</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I believe our&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/samples_bl.html"&gt; Mesh samples&lt;/a&gt; shows how to use the callback function to invoke the reset, and it is often called with a button (often set to button number 4), I will take a closer look at this tomorrow and see if I can find a specific sample!&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: triggering model reset handler</title><link>https://devzone.nordicsemi.com/thread/379446?ContentTypeID=1</link><pubDate>Mon, 01 Aug 2022 07:31:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6553d581-850e-48b5-bf83-252b51e9a4ca</guid><dc:creator>Ubaid_M</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;To be more specific, each model has below instance of &amp;quot;bt_mesh_model_cb&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;const struct bt_mesh_model_cb _bt_mesh_srv_cb =
{
	.init = bt_mesh_srv_init,
	.start = bt_mesh_srv_start,
	.reset = bt_mesh_srv_reset,
};&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I need to know how to invoke &amp;quot;.reset&amp;quot;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: triggering model reset handler</title><link>https://devzone.nordicsemi.com/thread/379429?ContentTypeID=1</link><pubDate>Mon, 01 Aug 2022 06:09:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6201ee1f-51f2-4808-849b-f24362c0dd47</guid><dc:creator>Ubaid_M</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote userid="107683" url="~/f/nordic-q-a/90490/triggering-model-reset-handler/379312"]&amp;quot;The model reset handler is called when the mesh node is reset. All of the model’s configuration is deleted on reset, and the model should clear its state. If the model stores any persistent data, this needs to be erased manually&amp;quot;,[/quote]
&lt;p&gt;Noted on this.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote userid="107683" url="~/f/nordic-q-a/90490/triggering-model-reset-handler/379312"]You could try to call this function to reset the node:[/quote]
&lt;p&gt;I need to know where do we call this function from..?&lt;/p&gt;
&lt;p&gt;As an opcode callback..?&lt;/p&gt;
&lt;p&gt;Because I believe nrf mesh app provides reset button to each model, which triggers a model reset API.&lt;/p&gt;
&lt;p&gt;So, i would want to know the standard way of resetting the model. I mean where in code to call the reset callback..?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: triggering model reset handler</title><link>https://devzone.nordicsemi.com/thread/379312?ContentTypeID=1</link><pubDate>Fri, 29 Jul 2022 12:13:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cf6974ee-bb96-4ebd-b9bd-122f7e7d4412</guid><dc:creator>AHaug</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I will consult with some of my colleagues early next week regarding your questions, but in the meanwhile&amp;nbsp;could you elaborate a bit about your questions for me:&lt;/p&gt;
[quote user=""]What are the guidelines to write reset handlers, I mean what should they do..?[/quote]
&lt;p&gt;Correct me if I am wrong, but from the documentation you just linked I would think the reset handler should do the following: &lt;em&gt;&amp;quot;The model reset handler is called when the mesh node is reset. All of the model’s configuration is deleted on reset, and the model should clear its state. If the model stores any persistent data, this needs to be erased manually&amp;quot;,&lt;/em&gt;&amp;nbsp;&lt;/p&gt;
[quote user=""]How do I trigger reset handlers to test..? I do not know how a node is reset, hence kindly suggest how to trigger reset handler.[/quote]
&lt;p&gt;You could try to call this function to reset the node: &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/connectivity/bluetooth/api/mesh/cfg_cli.html?highlight=node%20reset#c.bt_mesh_cfg_node_reset"&gt;https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/connectivity/bluetooth/api/mesh/cfg_cli.html?highlight=node%20reset#c.bt_mesh_cfg_node_reset&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Let me know if any of this helps, and please feel free to add more information regarding your ticket!&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>