<?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>Custom HID</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/38899/custom-hid</link><description>Hi, 
 I&amp;#39;m trying to build a custom HID device. I&amp;#39;m not able to receive any bytes on the host machine (I&amp;#39;m using an HID API). The Nordic board connects to the bluetooth of the computer, but fails to send any data. 
 
 Some numbers are displayed when I</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 17 Oct 2018 08:54:02 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/38899/custom-hid" /><item><title>RE: Custom HID</title><link>https://devzone.nordicsemi.com/thread/153152?ContentTypeID=1</link><pubDate>Wed, 17 Oct 2018 08:54:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0442213b-0db6-4c47-866f-bcb9a0099fe5</guid><dc:creator>Hakon</dc:creator><description>&lt;p&gt;What do you mean by handle? I can&amp;#39;t find any sort of handle related to output report in the code.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom HID</title><link>https://devzone.nordicsemi.com/thread/152738?ContentTypeID=1</link><pubDate>Fri, 12 Oct 2018 17:45:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:720b61b3-0d9a-4d15-a47a-e1f3dc5d1776</guid><dc:creator>bscdb</dc:creator><description>&lt;p&gt;&lt;span&gt;Thanks Hakon!! Can you tell me how does the host gets the handle of output report? Does it get through the&lt;/span&gt;&lt;span&gt;&amp;nbsp;interrupt transfer or control transfer? What have we used in our code?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom HID</title><link>https://devzone.nordicsemi.com/thread/152351?ContentTypeID=1</link><pubDate>Wed, 10 Oct 2018 11:45:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bed63cad-d3d6-4b6f-ab16-6f9f143da2ac</guid><dc:creator>Hakon</dc:creator><description>&lt;p&gt;Have you tried reading *p_evt-&amp;gt;params.char_write.data in &lt;span&gt;on_hid_rep_char_write()&lt;/span&gt;?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom HID</title><link>https://devzone.nordicsemi.com/thread/152115?ContentTypeID=1</link><pubDate>Mon, 08 Oct 2018 17:55:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1d0df1b9-00fd-47cd-926a-54ca3e7a50ac</guid><dc:creator>bscdb</dc:creator><description>&lt;p&gt;&lt;span&gt;Hi Hakon,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thankyou for your reply. You are correct it is sending caps on &amp;amp; off information to the host (PC) but does not output a report. But the OUTPUT_REPORT_BIT_MASK_CAPS_LOCK uses the default value in HID table. What if it was an arbitrary value? So instead of caps lock should I keep polling for a value from host and then may be light an led?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Currently I&amp;#39;m able to send arbitrary information to the host using generic HID descriptor (uses vendor defined page). There is no driver issue. I&amp;#39;m also able to connect to the bluetooth of host. But I&amp;#39;m not able to receive data from host. How do I change on_hid_rep_char_write() in order to receive data?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom HID</title><link>https://devzone.nordicsemi.com/thread/150651?ContentTypeID=1</link><pubDate>Thu, 27 Sep 2018 09:17:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cb527db3-4fc4-4782-939c-09e2d03ffaf6</guid><dc:creator>Hakon</dc:creator><description>&lt;p&gt;Keypresses for the most part. Caps lock information is also sent back to the keyboard device.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom HID</title><link>https://devzone.nordicsemi.com/thread/150647?ContentTypeID=1</link><pubDate>Thu, 27 Sep 2018 09:09:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:35c88a04-dd9d-440a-879e-08bfa0122f9a</guid><dc:creator>bscdb</dc:creator><description>&lt;p&gt;I&amp;#39;m working on Windows 10. What kind of data does the keyboard example send?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom HID</title><link>https://devzone.nordicsemi.com/thread/150607?ContentTypeID=1</link><pubDate>Thu, 27 Sep 2018 07:36:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b942fcbe-7e43-40f1-9978-6104142f0607</guid><dc:creator>Hakon</dc:creator><description>&lt;p&gt;You should be able to run the keyboard example on most of the newer versions of Windows. If not then you should make sure it works before trying a custom application. What Windows version are you working with?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom HID</title><link>https://devzone.nordicsemi.com/thread/150520?ContentTypeID=1</link><pubDate>Wed, 26 Sep 2018 14:53:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1b19f8a7-4fa3-4bbf-a0e6-6ed39e6618e6</guid><dc:creator>bscdb</dc:creator><description>&lt;p&gt;Nope its a keyboard example so I think Windows is not allowing a custom keyboard to send data for security reasons. So I implemented gamepad &amp;amp; I was able to receive the data.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I limited data to 8bits for testing purpose. There is no driver error so bluetooth connects just fine and I get similar results on HID API as pasted above. So is it actually sending data through report? I dont know if the code is working and how I should progress to make it work!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom HID</title><link>https://devzone.nordicsemi.com/thread/150518?ContentTypeID=1</link><pubDate>Wed, 26 Sep 2018 14:31:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c6ab2968-1fc9-4e89-8d2c-ac8bc92078d2</guid><dc:creator>Hakon</dc:creator><description>&lt;p&gt;If you try to run the unmodified example, do you receive any data?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom HID</title><link>https://devzone.nordicsemi.com/thread/150451?ContentTypeID=1</link><pubDate>Wed, 26 Sep 2018 11:13:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8f27aec8-9890-4c80-b06e-0ee03eb6a942</guid><dc:creator>bscdb</dc:creator><description>&lt;p&gt;Yes I have attached my main file. There are changes in hids_init and event handler.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom HID</title><link>https://devzone.nordicsemi.com/thread/150423?ContentTypeID=1</link><pubDate>Wed, 26 Sep 2018 09:15:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d8f5dd11-b472-491d-8fed-d140c84ff4fa</guid><dc:creator>Hakon</dc:creator><description>&lt;p&gt;Hey,&lt;/p&gt;
&lt;p&gt;Have you made any modifications to the HID example code?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>