<?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>HID (Human Interface Device) Template Example code</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/1557/hid-human-interface-device-template-example-code</link><description>Hi, 
 I am currently using this example code (pasted below). It is sending the character &amp;#39;a&amp;#39; every 4 seconds. I can&amp;#39;t figure out which part of the code defines the character &amp;#39;a&amp;#39; and delay of 4 seconds. any help would be great! 
 Don 
 /** 
 
 HID</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 08 Apr 2014 23:25:53 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/1557/hid-human-interface-device-template-example-code" /><item><title>RE: HID (Human Interface Device) Template Example code</title><link>https://devzone.nordicsemi.com/thread/6887?ContentTypeID=1</link><pubDate>Tue, 08 Apr 2014 23:25:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f3f99f79-c155-4940-a1aa-44d9c56de28c</guid><dc:creator>Feng Du</dc:creator><description>&lt;p&gt;Thank you very much for your clarification.&lt;/p&gt;
&lt;p&gt;Feng&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: HID (Human Interface Device) Template Example code</title><link>https://devzone.nordicsemi.com/thread/6886?ContentTypeID=1</link><pubDate>Mon, 07 Apr 2014 09:54:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b3b4d3f5-0575-40f5-a802-36a257d3bb4c</guid><dc:creator>David Edwin</dc:creator><description>&lt;p&gt;Apologies for the confusion. Adding additional buttons for IO is optional is not required for the interface to work. The program will work without any additional IO. The incorrect scentence will be fixed in our next release.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: HID (Human Interface Device) Template Example code</title><link>https://devzone.nordicsemi.com/thread/6885?ContentTypeID=1</link><pubDate>Wed, 02 Apr 2014 02:12:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5636386b-b889-4f59-9c76-d7f44c1dffab</guid><dc:creator>Feng Du</dc:creator><description>&lt;p&gt;Hi, at the beginning of the code, there is s section of comment saying ,&lt;/p&gt;
&lt;p&gt;-# Alternatively you should be able to get the board to work directly with a iOS 7 device, Win 8/Win RT PC after adding
the required buttons for I/O.&lt;/p&gt;
&lt;p&gt;What does that mean? And additional wire needs to be done other than,&lt;/p&gt;
&lt;p&gt;Plug the Bluetooth low energy shield to the Arduino. The REQN and RDYN pins are selectable from pin 2 to 12. Select the Arduino pins to use for REQN and RDYN and put the jumpers to those pins. Reset of the Arduino is connected to the Reset of the nRF8001, so every time a sketch is downloaded from the Arduino IDE the nRF8001 is also reset. The SPI lines are routed through the central ICSP connector of the Arduino.&lt;/p&gt;
&lt;p&gt;Thanks a lot!
Feng&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: HID (Human Interface Device) Template Example code</title><link>https://devzone.nordicsemi.com/thread/6884?ContentTypeID=1</link><pubDate>Mon, 10 Feb 2014 15:44:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:53d2000c-f027-4e24-818a-abc9f1e8ba38</guid><dc:creator>Ole Morten</dc:creator><description>&lt;p&gt;As the comments clearly states, the function Timer1start() starts the timer with an interval of 4 seconds.&lt;/p&gt;
&lt;p&gt;As for the key sending, this happens from the loop() function. As you can see, it checks to see if the pipe is available, and if it is, it sends keypressA twice, first with element 2 set to 0x04 and then to 0. This is a key press and release, and the value comes from the document &lt;a href="http://www.usb.org/developers/devclass_docs/Hut1_11.pdf"&gt;Universal Serial Bus HID Usage Tables, table 12&lt;/a&gt;. BLE HID over GATT (HoG) is more or less just a wrapping of USB HID to be transported over BLE instead of USB, and understanding USB HID is therefore important to be able to fully understand HoG.&lt;/p&gt;
&lt;p&gt;PS: This site has code tags, which makes it much easier to read code. Please use it. Also, for so long code snippets, attaching a file is often easier.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>