<?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>I am using nRF52832 board to un provision the device using the button from the hardware.how to configure this</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/67337/i-am-using-nrf52832-board-to-un-provision-the-device-using-the-button-from-the-hardware-how-to-configure-this</link><description>I am using nRF52832 board to un provision the device using the button from the hardware.how to configure this</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 23 Oct 2020 09:35:10 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/67337/i-am-using-nrf52832-board-to-un-provision-the-device-using-the-button-from-the-hardware-how-to-configure-this" /><item><title>RE: I am using nRF52832 board to un provision the device using the button from the hardware.how to configure this</title><link>https://devzone.nordicsemi.com/thread/276588?ContentTypeID=1</link><pubDate>Fri, 23 Oct 2020 09:35:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a7b8d354-b672-4a77-bd0e-6ee845bf72c5</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;If you have different hardware you need to match the button GPIO pin with the pin configured in the BUTTON_LIST define. If you have a look inside&amp;nbsp;hal_buttons_init() you will find&amp;nbsp;&amp;nbsp;NRF_GPIO-&amp;gt;PIN_CNF[] is called to define the buttons configuration. And&amp;nbsp;GPIOTE_IRQHandler() is to handle when there is a button press.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I am using nRF52832 board to un provision the device using the button from the hardware.how to configure this</title><link>https://devzone.nordicsemi.com/thread/276296?ContentTypeID=1</link><pubDate>Wed, 21 Oct 2020 16:35:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ef232a22-aa16-4483-9ddc-154f5e09b3cd</guid><dc:creator>thukeri</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I tested with that didnt worked with button pressed externally.&lt;/p&gt;
&lt;p&gt;Is this sample server example works for the dongle?as it has only one button i.e reset button&lt;/p&gt;
&lt;p&gt;if yes,please explain how it is possible to un provision tthe dongle with the buttons&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I am using nRF52832 board to un provision the device using the button from the hardware.how to configure this</title><link>https://devzone.nordicsemi.com/thread/276119?ContentTypeID=1</link><pubDate>Wed, 21 Oct 2020 09:10:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c28a28db-6955-4242-b482-775897719ec5</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Have you tried to test with the light switch server example ?&amp;nbsp;&lt;br /&gt;Have you looked at the&amp;nbsp;&lt;span&gt;hal_buttons_init() function ?&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I am using nRF52832 board to un provision the device using the button from the hardware.how to configure this</title><link>https://devzone.nordicsemi.com/thread/275951?ContentTypeID=1</link><pubDate>Tue, 20 Oct 2020 13:30:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:702badde-6c00-4cdf-b0a9-77e409422d83</guid><dc:creator>thukeri</dc:creator><description>&lt;p&gt;In samplehal.c they handled it only for rtt not for the button from the board.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I am using nRF52832 board to un provision the device using the button from the hardware.how to configure this</title><link>https://devzone.nordicsemi.com/thread/275946?ContentTypeID=1</link><pubDate>Tue, 20 Oct 2020 13:20:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c3555e7d-9dd4-425e-8da3-fb93bb696d6e</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Ok, so you based your application on&amp;nbsp; light_lc example. And in that example the buttons are not handled.&lt;/p&gt;
&lt;p&gt;You would need to have a look into the light switch server example. In that example we include the simple_hal.c module to handle the buttons. Note that we don&amp;#39;t use nrfx_gpio in that example but use simple_hal.c instead.&amp;nbsp;&lt;br /&gt;You need to include simple_hal.c to your project just like in the light switch example.&amp;nbsp;&lt;br /&gt;Then you need to call&amp;nbsp;ERROR_CHECK(hal_buttons_init(button_event_handler)); inside intialize() function.&amp;nbsp;&lt;br /&gt;Please refer to the code inside light switch server example.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I am using nRF52832 board to un provision the device using the button from the hardware.how to configure this</title><link>https://devzone.nordicsemi.com/thread/275930?ContentTypeID=1</link><pubDate>Tue, 20 Oct 2020 12:50:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:18671e55-a6c3-4b85-a523-cc48a4ce7cc0</guid><dc:creator>thukeri</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;yes i found this,my issue is how to call the button event handler inorder to give input from the board&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I am using nRF52832 board to un provision the device using the button from the hardware.how to configure this</title><link>https://devzone.nordicsemi.com/thread/275925?ContentTypeID=1</link><pubDate>Tue, 20 Oct 2020 12:46:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:42dfbe66-7ef6-449e-a200-b97891dca450</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Please don&amp;#39;t click Verify Answer if it&amp;#39;s not a solution for your problem.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you have a look at the code inside&amp;nbsp;app_rtt_input_handler() to handle RTT input, you can find that it in turn will call&amp;nbsp;button_event_handler(). So in the light switch or light_lc example if you press button 4 on the board, it&amp;#39;s the same as when you input &amp;#39;4&amp;#39; in RTT. Both of them will end up executing this code:&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;        case 4:
        {
            /* Clear all the states to reset the node. */
            if (mesh_stack_is_device_provisioned())
            {
#if MESH_FEATURE_GATT_PROXY_ENABLED
                (void) proxy_stop();
#endif
                mesh_stack_config_clear();
                node_reset();
            }
            else
            {
                __LOG(LOG_SRC_APP, LOG_LEVEL_INFO, &amp;quot;The device is unprovisioned. Resetting has no effect.\n&amp;quot;);
            }
            break;
        }&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;So I&amp;#39;m not sure why you don&amp;#39;t get the same effect when you press button 4 on your board, what&amp;#39;s the issue here ?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I am using nRF52832 board to un provision the device using the button from the hardware.how to configure this</title><link>https://devzone.nordicsemi.com/thread/275684?ContentTypeID=1</link><pubDate>Mon, 19 Oct 2020 14:45:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:418edd25-80a2-4500-9c87-00462532f8dd</guid><dc:creator>thukeri</dc:creator><description>&lt;p&gt;In sample example of nrf52 for light switch server handled for RTT pressing button4 from serial terminal it is getting unprovisioned.I need to unprovision by pressing the button on the hardware manually.How to give input via button instead of RTT.plz suggest your answer&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I am using nRF52832 board to un provision the device using the button from the hardware.how to configure this</title><link>https://devzone.nordicsemi.com/thread/275646?ContentTypeID=1</link><pubDate>Mon, 19 Oct 2020 13:12:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4513658d-6349-4399-b90e-f3a39933fa66</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I&amp;#39;m not sure I understand you 100% but if you are asking about unprovisioning a mesh device using nRF Mesh SDK , please have a look at the&amp;nbsp;button_event_handler() in light switch server example. When you press button 4 , the provisioning data will be erased and all configuration information in flash will be erased.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>