<?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>BLE ADVERTISE AFTER BUTTON DOUBLE TAP</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/97323/ble-advertise-after-button-double-tap</link><description>Hi, 
 How to ble advertising the after double tap button and long press button to enable the ble ? 
 i need help this content.so ,give example for this content 
 
 
 Regards, 
 Praveen M</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 07 Mar 2023 11:12:42 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/97323/ble-advertise-after-button-double-tap" /><item><title>RE: BLE ADVERTISE AFTER BUTTON DOUBLE TAP</title><link>https://devzone.nordicsemi.com/thread/413790?ContentTypeID=1</link><pubDate>Tue, 07 Mar 2023 11:12:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9340c6ec-12f2-4800-acf3-713d233b4ff1</guid><dc:creator>M.Praveen</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Thanks you for reply,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Praveen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE ADVERTISE AFTER BUTTON DOUBLE TAP</title><link>https://devzone.nordicsemi.com/thread/413766?ContentTypeID=1</link><pubDate>Tue, 07 Mar 2023 10:23:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:afac5025-221c-45dc-8cba-e4eb050434e2</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;There isnt any example that does this exactly. You need to write the program yourself. If you&amp;#39;re using nRF5SDK, then I suggest taking a look at the &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/lib_bsp.html"&gt;BSP module&lt;/a&gt;, as it has long press implemented already.&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE ADVERTISE AFTER BUTTON DOUBLE TAP</title><link>https://devzone.nordicsemi.com/thread/413744?ContentTypeID=1</link><pubDate>Tue, 07 Mar 2023 09:23:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7ff028c5-eb86-42ca-b6c3-cfb37c2ad565</guid><dc:creator>M.Praveen</dc:creator><description>&lt;p&gt;Thank you for your reply,&lt;/p&gt;
&lt;p&gt;Please attached for any example program this content&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE ADVERTISE AFTER BUTTON DOUBLE TAP</title><link>https://devzone.nordicsemi.com/thread/413486?ContentTypeID=1</link><pubDate>Mon, 06 Mar 2023 11:23:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:36abdac7-d938-473d-8763-839a4e28232c</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;Double press:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Start a timer when a button is pressed&lt;/li&gt;
&lt;li&gt;If a button is pressed again before the timer is elapsed you set a flag that indicates a double press.&lt;/li&gt;
&lt;li&gt;Start advertising if the flag is set.&amp;nbsp;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;A long press would be something similar but with a small twist.&lt;/p&gt;
&lt;p&gt;Long press:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Start a timer when a button is pressed&lt;/li&gt;
&lt;li&gt;When the button is released you check if the timer has elapsed, if it has elapsed then a long press was executed. You then set a flag.&lt;/li&gt;
&lt;li&gt;Start advertising if flag is set.&amp;nbsp;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;regards&lt;br /&gt;Jared&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE ADVERTISE AFTER BUTTON DOUBLE TAP</title><link>https://devzone.nordicsemi.com/thread/413413?ContentTypeID=1</link><pubDate>Mon, 06 Mar 2023 05:59:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8bf66448-ff04-4fab-91cd-01779f3281b8</guid><dc:creator>M.Praveen</dc:creator><description>&lt;p&gt;Please,Help For this question.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Praveen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>