<?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 release wakeup button?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/8024/how-to-release-wakeup-button</link><description>Hi,all.i want to release wakeup button after wakeup my device and change the button&amp;#39;s function.i used 8.0 sdk.how to do that?Thanks!</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 14 May 2019 07:05:57 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/8024/how-to-release-wakeup-button" /><item><title>RE: how to release wakeup button?</title><link>https://devzone.nordicsemi.com/thread/186838?ContentTypeID=1</link><pubDate>Tue, 14 May 2019 07:05:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:60b0159c-4706-4147-9ba9-a598f6ebc233</guid><dc:creator>VSN</dc:creator><description>&lt;p&gt;Hi,Can you help me in my project to solve wake up button issue? There is wake up button is working and nrf51422 module is reset.But data broadcasting only at first time and after that connection is established but data is didn&amp;#39;t given.Please go through my blog.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to release wakeup button?</title><link>https://devzone.nordicsemi.com/thread/28753?ContentTypeID=1</link><pubDate>Tue, 07 Jul 2015 13:45:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e304e9e8-4303-4080-82d0-4fa4d57271b5</guid><dc:creator>wuvo.leo</dc:creator><description>&lt;p&gt;Thanks for your help! i resolved my problem.i added  &amp;quot;wakeup&amp;quot; bsp event,so it worked incorrect.i removed this event,it work well.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to release wakeup button?</title><link>https://devzone.nordicsemi.com/thread/28752?ContentTypeID=1</link><pubDate>Tue, 07 Jul 2015 08:37:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:26d96a8b-012b-4310-9df1-d0701f1057bd</guid><dc:creator>&amp;#216;yvind Karlsen</dc:creator><description>&lt;p&gt;When your device wakes up from system off sleep it will reset. This means that it will redo all initializations, and your buttons will be configured the way you set them to.&lt;/p&gt;
&lt;p&gt;Startup: Button configured to push, release, long push&lt;/p&gt;
&lt;p&gt;System_off_sleep: Button configured to wakeup&lt;/p&gt;
&lt;p&gt;When button is pressed the application returns to startup and your button will be configured to push, release and longpush again&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to release wakeup button?</title><link>https://devzone.nordicsemi.com/thread/28751?ContentTypeID=1</link><pubDate>Tue, 07 Jul 2015 08:04:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:92026173-da4b-4167-9fb0-414de3fa4704</guid><dc:creator>wuvo.leo</dc:creator><description>&lt;p&gt;Sorry,i can&amp;#39;t understand what you say.my device wake up once only.when it waked up,i write a flag to flash.when flag set,it skip step &amp;quot;	sleep_mode_enter( ) &amp;quot; always.i can&amp;#39;t understand the flow that you said.why the configure about wakeup button will remove after reset?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to release wakeup button?</title><link>https://devzone.nordicsemi.com/thread/28750?ContentTypeID=1</link><pubDate>Tue, 07 Jul 2015 06:14:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c1e9aa2c-d9d3-4c32-b20e-565c8c3f3133</guid><dc:creator>&amp;#216;yvind Karlsen</dc:creator><description>&lt;p&gt;When your device wakes up(reset) it will go through your main function and it&amp;#39;s initializations again, this will make your actions assigned once again. That means that wakeup function is removed when you wake up&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to release wakeup button?</title><link>https://devzone.nordicsemi.com/thread/28749?ContentTypeID=1</link><pubDate>Tue, 07 Jul 2015 00:49:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:78cf4ea1-a3d8-4539-9118-ccc5822f1361</guid><dc:creator>wuvo.leo</dc:creator><description>&lt;p&gt;Thank you for your reply first! i want to unset wakeup button after waking up my device.Because my device has one button only,and i assign three action to it(push,release,long push). i want to remove waking up function after waking up my device.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to release wakeup button?</title><link>https://devzone.nordicsemi.com/thread/28748?ContentTypeID=1</link><pubDate>Mon, 06 Jul 2015 12:24:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4631e02d-9747-4e63-8681-59c83d900faa</guid><dc:creator>&amp;#216;yvind Karlsen</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;See the tutorial on the &lt;a href="https://devzone.nordicsemi.com/tutorials/13/board-support-packagebsp/"&gt;Board Support Package&lt;/a&gt;. When you enter sleep mode you prepare a wakeup button like this&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;err_code = bsp_wakeup_buttons_set((1 &amp;lt;&amp;lt; WAKEUP_BUTTON_ID));
APP_ERROR_CHECK(err_code);
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;When you go to sleep the system will now reset when your button is pressed. This means that your button will do what it was configured to do in your init functions.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Øyvind&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>