<?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>usb hid how to send 6 bytes of data</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/62229/usb-hid-how-to-send-6-bytes-of-data</link><description>usb hid how to send 6 bytes of data, app_usbd_hid_kbd_key_control can only send 1 key value, I see that app_usbd_hid_kbd_ctx_t can fill 6 bytes, please see 
 
 typedef struct { app_usbd_hid_ctx_t hid_ctx; //!&amp;lt; HID class context. 
 struct app_usbd_hid_kbd_ctx_internal_s</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 17 Jun 2020 11:18:16 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/62229/usb-hid-how-to-send-6-bytes-of-data" /><item><title>RE: usb hid how to send 6 bytes of data</title><link>https://devzone.nordicsemi.com/thread/255495?ContentTypeID=1</link><pubDate>Wed, 17 Jun 2020 11:18:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:56e43863-bffc-44ef-9be8-48312781832d</guid><dc:creator>Sigurd</dc:creator><description>[quote user="guangnian.hzm"]Recall app_ usbd_ hid_ kbd_ key_ Control will return a failure[/quote]
&lt;p&gt;&amp;nbsp;What error-code is&amp;nbsp;&lt;span&gt;app_usbd_hid_kbd_key_control() returning ?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: usb hid how to send 6 bytes of data</title><link>https://devzone.nordicsemi.com/thread/255451?ContentTypeID=1</link><pubDate>Wed, 17 Jun 2020 09:31:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d917dd99-ae87-4546-a1c2-b5a44a93c9ac</guid><dc:creator>guangnian.hzm</dc:creator><description>&lt;p&gt;If I call app_ usbd_ hid_ kbd_ key（），but not return 。What should I do?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: usb hid how to send 6 bytes of data</title><link>https://devzone.nordicsemi.com/thread/255449?ContentTypeID=1</link><pubDate>Wed, 17 Jun 2020 09:28:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e1681124-e43f-47e9-ba7c-4644b2e75232</guid><dc:creator>guangnian.hzm</dc:creator><description>&lt;p&gt;thank you ,&amp;nbsp;I implemented this function, tested 35000 times, and failed 20 times. The specific situation is to call app_ usbd_ hid_ kbd_ key_ Control function does not return app_ USBD_ HID_ USER_ EVT_ IN_ REPORT_ DONE。 Recall app_ usbd_ hid_ kbd_ key_ Control will return a failure. When I test, the packet frequency is 300ms and the packet size is 40 bytes.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: usb hid how to send 6 bytes of data</title><link>https://devzone.nordicsemi.com/thread/253843?ContentTypeID=1</link><pubDate>Mon, 08 Jun 2020 14:28:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3bf2e090-2249-40a2-92f8-bc8d8258053d</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;See &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/38271/writing-words-to-usb-composite-keyboard-in-usbd_hid_composite"&gt;this post&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>