<?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>Using BLE based Accessory</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/13403/using-ble-based-accessory</link><description>Hello Nordic Team, 
 Please, I would like to ask some questions about BLE based smart-phone accessory. 
 Actually, I think about using a BLE based accessory (for instance, a BLE based Selfie Button ) to send button pressed/released commands to an nRF51822</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 26 Apr 2016 13:13:27 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/13403/using-ble-based-accessory" /><item><title>RE: Using BLE based Accessory</title><link>https://devzone.nordicsemi.com/thread/51138?ContentTypeID=1</link><pubDate>Tue, 26 Apr 2016 13:13:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d53dc10c-f3a7-46d1-b0d9-b1ec1dbda4da</guid><dc:creator>Aymen Rejeb</dc:creator><description>&lt;p&gt;It&amp;#39;s clear now, thank you very much for your support.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using BLE based Accessory</title><link>https://devzone.nordicsemi.com/thread/51137?ContentTypeID=1</link><pubDate>Tue, 26 Apr 2016 12:01:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:877ea91d-05a3-4516-8c72-0f3069708eed</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;With &amp;quot;learning&amp;quot; mode I mean that when the central receive a notification due to button press, it will assume that if this button is pressed again later, then this is the volume up or down pressed.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using BLE based Accessory</title><link>https://devzone.nordicsemi.com/thread/51136?ContentTypeID=1</link><pubDate>Tue, 26 Apr 2016 10:18:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b8822cd9-19c6-4ea8-a20a-1a5ddea11c23</guid><dc:creator>Aymen Rejeb</dc:creator><description>&lt;p&gt;Hi,
Please, What do you mean exactely by &amp;quot;learning&amp;quot; mode ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using BLE based Accessory</title><link>https://devzone.nordicsemi.com/thread/51135?ContentTypeID=1</link><pubDate>Tue, 26 Apr 2016 10:14:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c328a23a-4cc0-43b3-97bd-0a4c68f6d7fa</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;I think making a generic parser will be difficult and time consuming. I suggest you make a &amp;quot;learning&amp;quot; mode, where the central search for the HID service and ask the user to press the button it wants to use as a volume up/down.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using BLE based Accessory</title><link>https://devzone.nordicsemi.com/thread/51134?ContentTypeID=1</link><pubDate>Mon, 25 Apr 2016 17:02:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5098da14-3fe2-4c60-937c-23dde37af7eb</guid><dc:creator>Aymen Rejeb</dc:creator><description>&lt;p&gt;Hi Kenneth,&lt;/p&gt;
&lt;p&gt;Could you please give a hint about that!&lt;/p&gt;
&lt;p&gt;B.R&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using BLE based Accessory</title><link>https://devzone.nordicsemi.com/thread/51132?ContentTypeID=1</link><pubDate>Mon, 25 Apr 2016 13:21:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:266e6d78-b723-4c58-a880-22475d98fff7</guid><dc:creator>Aymen Rejeb</dc:creator><description>&lt;p&gt;Actually, what I think to do is to use a BLE Selfie Button to communicate with an nRF51822.
On the nRF51822 side, I need to  implement a custom BLE Central code to detect the button pressed event.
Therefore, I need the know if this could be achieved or not?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using BLE based Accessory</title><link>https://devzone.nordicsemi.com/thread/51133?ContentTypeID=1</link><pubDate>Mon, 25 Apr 2016 10:48:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0491e096-a517-4f96-b62e-69fae12dd2b5</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;I think it would help to understand what you want to do here. In it&amp;#39;s simplest form you can just read all the services and characteristics of the peripheral device, and copy them locally and forward any notification you receive the same way you receive them. In such case you don&amp;#39;t even need a parser.&lt;/p&gt;
&lt;p&gt;You can even add a &amp;quot;learn mode&amp;quot;, where you ask the user to press and release the button in such a case.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using BLE based Accessory</title><link>https://devzone.nordicsemi.com/thread/51131?ContentTypeID=1</link><pubDate>Mon, 25 Apr 2016 09:04:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3252494d-014e-44a9-8cfc-2189ddb2b1b6</guid><dc:creator>Aymen Rejeb</dc:creator><description>&lt;p&gt;Hi Kenneth,&lt;/p&gt;
&lt;p&gt;Could you please give more details on the second part of the &lt;strong&gt;Q2&lt;/strong&gt; ?
In another way, do you think that a such &lt;strong&gt;parser&lt;/strong&gt; should implement &lt;strong&gt;the whole HOGP central mode features&lt;/strong&gt; in order to ensure a correct communication with a such BLE based button? and if so, &lt;strong&gt;would it be worthwhile?&lt;/strong&gt; since I only need to send the button status to the central?&lt;/p&gt;
&lt;p&gt;B.R.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using BLE based Accessory</title><link>https://devzone.nordicsemi.com/thread/51130?ContentTypeID=1</link><pubDate>Mon, 25 Apr 2016 08:44:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b41425fa-9b38-45f6-a74c-03b0af832a4b</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hi, you will need to use HID over GATT profile (HOGP) if you want to control the camera on a phone. A colleague have made an &lt;a href="https://github.com/Rallare/nrf51_ble_app_hids_kbd_consumercontrol"&gt;nrf51_ble_app_hids_kbd_consumercontrol&lt;/a&gt; example on Github you can use as reference. Transmitting a volume Up or Down keypress will trigger the camera to take a picture. In your description it seems you want to relay keypress data between a BLE based selfie button and a phone, but in any case you will need to use HOGP on the device connected to the phone. As mentioned &lt;a href="https://devzone.nordicsemi.com/question/76167/iphone-wireless-shutter-release/"&gt;here&lt;/a&gt; we don&amp;#39;t have any parser for HOGP in central mode.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>