<?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>nRF8002 notifying host on change in input pin</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/1721/nrf8002-notifying-host-on-change-in-input-pin</link><description>Hello
I am using the nRF8002 kit. I would like to inform the host (Android app) when there is a long button press on the input pin. 
 Is this possible and if so which BLE profile / service should I be using for this ? I tried to use the &amp;quot;Immediate Alert</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 22 Feb 2016 13:58:40 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/1721/nrf8002-notifying-host-on-change-in-input-pin" /><item><title>RE: nRF8002 notifying host on change in input pin</title><link>https://devzone.nordicsemi.com/thread/7576?ContentTypeID=1</link><pubDate>Mon, 22 Feb 2016 13:58:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:89a1d0f2-6243-41d6-a530-1a39fdc41016</guid><dc:creator>Balaji Srinivasan</dc:creator><description>&lt;p&gt;You can try using the Button Handler (app_button) library in the nrf51 SDK to achieve this... some hints are to use app_button_init function, detection_delay variable and the app_button_is_pushed function. If you cant achieve this, please post a separate question (as this question was originally related to nrf8002 and people who know the answer to your question may not look here)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF8002 notifying host on change in input pin</title><link>https://devzone.nordicsemi.com/thread/7575?ContentTypeID=1</link><pubDate>Mon, 22 Feb 2016 13:13:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:67df0ae6-4c5b-4aa3-99a0-9ae663e7f9f2</guid><dc:creator>MARTIN FR</dc:creator><description>&lt;p&gt;sorry for my unclear question am using the nrf51DK and in that i would create this kind of function press the button for 5 seconds and it has to send notification to the user about button press and based on that notification it will make the phone ring (simply i want to press the button and on the NRF51DK it has make the phone ring) so could you verify my idea is correct or wrong? if correct could you suggest me some possible ways to do that&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF8002 notifying host on change in input pin</title><link>https://devzone.nordicsemi.com/thread/7574?ContentTypeID=1</link><pubDate>Mon, 22 Feb 2016 12:36:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d629c9d7-69a3-4241-98c4-a59ddde6a875</guid><dc:creator>Balaji Srinivasan</dc:creator><description>&lt;p&gt;prabhudurai, i am not sure if i understood your question well. All you will need to do (when you are working with an 8002 chip), is to set up the 8002 chip as desired using the nrfgo studio and then build app for the android phone that will construct an IAS service (with Alert Level characteristic) in it. Doing this, will make the long press at 8002 side trigger a &amp;#39;write&amp;#39; on the Alert Level characteristic and  that can be used to ring the phone by the android app.  (I am not an android developer, so I may be missing something in your question)&lt;/p&gt;
&lt;p&gt;P.S: If you are building an end product using 8002, may I recommend you to take a look at the new nRF52832 chip here -&amp;gt; &lt;a href="https://www.nordicsemi.com/eng/Products/Bluetooth-Smart-Bluetooth-low-energy/nRF52832"&gt;www.nordicsemi.com/.../nRF52832&lt;/a&gt; . This is certainly more flexible and powerful than the 8002.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF8002 notifying host on change in input pin</title><link>https://devzone.nordicsemi.com/thread/7573?ContentTypeID=1</link><pubDate>Mon, 22 Feb 2016 12:02:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d412069f-9835-499b-8544-636f36c4685e</guid><dc:creator>MARTIN FR</dc:creator><description>&lt;p&gt;hello balaji could you please tell me indetail how to send a long buton press event notification to the android phone? if the notificationreceived in android phone by using that can i able to make a phone ring?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF8002 notifying host on change in input pin</title><link>https://devzone.nordicsemi.com/thread/7579?ContentTypeID=1</link><pubDate>Tue, 04 Mar 2014 13:12:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:91e3ef45-fac3-4a6c-91e8-83e70c4b82ec</guid><dc:creator>Ole Morten</dc:creator><description>&lt;p&gt;I&amp;#39;d be happy if you could accept Balaji&amp;#39;s answer by clicking the button below it if you found it useful! :-) That helps clearing up this question and keeping the site tidy.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF8002 notifying host on change in input pin</title><link>https://devzone.nordicsemi.com/thread/7577?ContentTypeID=1</link><pubDate>Tue, 25 Feb 2014 14:43:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:442a44fb-99fc-45ba-98d2-f88931fb2531</guid><dc:creator>Balaji Srinivasan</dc:creator><description>&lt;p&gt;Hi Karthik,&lt;/p&gt;
&lt;p&gt;You will need to implement an Immediate Alert Service (IAS) Server on the phone (Master). Once that is done, the nRF8002 will act the IAS client and will write to the &amp;#39;Alert Level&amp;#39; characteristic present within the IAS on the phone on button presses (as configured in the nRFgo Studio). That way you get your button presses signaled to the phone.&lt;/p&gt;
&lt;p&gt;Hope this is clear.&lt;/p&gt;
&lt;p&gt;Cheers,
Balaji&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF8002 notifying host on change in input pin</title><link>https://devzone.nordicsemi.com/thread/7578?ContentTypeID=1</link><pubDate>Tue, 25 Feb 2014 14:12:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:37f833d4-8394-47d2-9475-6b61d2a3a2d2</guid><dc:creator>karthik k</dc:creator><description>&lt;p&gt;Hi Balaji&lt;/p&gt;
&lt;p&gt;Thank you for the response.&lt;/p&gt;
&lt;p&gt;I have configured the nRF to use the immediate alert (master) as you have suggested. But the challenge I face is this.....&lt;/p&gt;
&lt;p&gt;The immediate alert profile has only a &amp;quot;write&amp;quot; characteristic i.e it does not have a &amp;quot;notify&amp;quot; characteristic. With a &amp;quot;write&amp;quot; characteristic, the client (Android phone) can only send data to the server (nRF device).&lt;/p&gt;
&lt;p&gt;My question is how to send the pin change information back to the phone ? Please let me know if I missed something.&lt;/p&gt;
&lt;p&gt;What needs to be done on the Android side to get the pin value change information&lt;/p&gt;
&lt;p&gt;Thank You&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF8002 notifying host on change in input pin</title><link>https://devzone.nordicsemi.com/thread/7572?ContentTypeID=1</link><pubDate>Tue, 25 Feb 2014 12:24:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3a655e60-9993-4e55-9246-8d44a7f9ac98</guid><dc:creator>Balaji Srinivasan</dc:creator><description>&lt;p&gt;Hi Karthik,&lt;/p&gt;
&lt;p&gt;Please use the &amp;#39;Immediate alert (&lt;strong&gt;master&lt;/strong&gt;)&amp;#39; tab of the nRFgoStudio for this purpose. Hope this helps.&lt;/p&gt;
&lt;p&gt;Cheers,
Balaji&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>