<?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>Wake BLE advertiser up and then disconnect</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/80051/wake-ble-advertiser-up-and-then-disconnect</link><description>Hi there, 
 How can I manually awake my advertiser which is in low power mode, to start advertising and get it back to sleep after it advertises certain number of packets? 
 Thanks in advance</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 28 Sep 2021 08:32:38 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/80051/wake-ble-advertiser-up-and-then-disconnect" /><item><title>RE: Wake BLE advertiser up and then disconnect</title><link>https://devzone.nordicsemi.com/thread/331446?ContentTypeID=1</link><pubDate>Tue, 28 Sep 2021 08:32:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5de93e15-61cb-474b-bdff-2b876bab900b</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
[quote user=""]manually&amp;nbsp; awake&amp;nbsp;my advertiser which is in low power mode[/quote]
&lt;p&gt;Do you mean SYSTEM OFF or SYSTEM ON sleep, when you say low power mode? And do you mean that you would like to wake it up with a button push, for example, when you say manually?&lt;/p&gt;
[quote user=""]to start advertising and get it back to sleep after it advertises certain number of packets?[/quote]
&lt;p&gt;For a rough estimate of the sent packets you can just divide your configured advertising timeout on your configured advertising interval, to know how many packets have been sent. Once the advertising times out the device can go to sleep.&lt;br /&gt;For a precise packet count you can use &lt;a href="https://infocenter.nordicsemi.com/topic/sds_s140/SDS/s1xx/radio_notif/radio_notif.html"&gt;Radio Notifications from the SoftDevice&lt;/a&gt; to count the times the radio has been advertising, and then stop the advertising when it reaches a specific number.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>