<?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 enter in Sleep mode and wackup again without advertizing mode??</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/9608/how-to-enter-in-sleep-mode-and-wackup-again-without-advertizing-mode</link><description>i have use nrf51822
when no connection creat between android nrfUart app and backon kit so autometically sleep in 180 seconds, 
 but i have need sleep condition in connected mode of bacon kit and android app.. when i have press switch so bacon kit will</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 08 Oct 2015 12:59:02 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/9608/how-to-enter-in-sleep-mode-and-wackup-again-without-advertizing-mode" /><item><title>RE: how to enter in Sleep mode and wackup again without advertizing mode??</title><link>https://devzone.nordicsemi.com/thread/35504?ContentTypeID=1</link><pubDate>Thu, 08 Oct 2015 12:59:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6a65734e-2efb-434e-84d1-cba15c32a350</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;blockquote&gt;
&lt;p&gt;when i have press switch so bacon kit
will be wackup&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;you can use the app_button module in SDK for this. Documentation can be found &lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk51.v9.0.0%2Flib_button.html&amp;amp;cp=4_1_0_3_5"&gt;here&lt;/a&gt;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;and transmitt this data at connected
device&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;when your button_event_handler that you gave in app_button_init gets triggered after you press the button, then you can handle the connection and start the data transfer&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;And get sleep condition after
transmition complet&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Just call the power_manage() function from SDK for the system to go to sleep after your transfer is complete.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>