<?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>About implement Long/short press and Synchronous timing</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/115/about-implement-long-short-press-and-synchronous-timing</link><description>Now, I need two function add my project (On BLE stack). 
 
 Distinguish long/short press at same button. 
 
 2.device and master synchronous time. 
 No.1 question is : 
 I have success use the Nordic FrameWork add the button event(button handle</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 22 Sep 2015 02:14:34 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/115/about-implement-long-short-press-and-synchronous-timing" /><item><title>RE: About implement Long/short press and Synchronous timing</title><link>https://devzone.nordicsemi.com/thread/635?ContentTypeID=1</link><pubDate>Tue, 22 Sep 2015 02:14:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eb09b4a0-5654-4db0-ae74-1dbdc3d00134</guid><dc:creator>HSA</dc:creator><description>&lt;p&gt;@Håkon Alseth,&lt;/p&gt;
&lt;p&gt;Please share some example regarding this long/short press on same button. Please suggest.&lt;/p&gt;
&lt;p&gt;Thanks n Regards&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: About implement Long/short press and Synchronous timing</title><link>https://devzone.nordicsemi.com/thread/634?ContentTypeID=1</link><pubDate>Tue, 23 Jul 2013 09:43:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1b7ff9f1-2bf4-4136-b6f8-728cd35741f5</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi Steven,&lt;/p&gt;
&lt;p&gt;Q1:
Unfortunately, this is not possible using the libraries that we supply.
You can set the debounce initially, but not in two &amp;quot;steps&amp;quot;.&lt;/p&gt;
&lt;p&gt;An option can be to re-write the app_button library to add the functionality you are looking for.&lt;/p&gt;
&lt;p&gt;Q2:
We do not have an implementation of the time profile.
I&amp;#39;ll input this in our feature request register.&lt;/p&gt;
&lt;p&gt;Best regards
Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>