<?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 Keyboard - When is it ready to transfer?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/37578/usb-hid-keyboard---when-is-it-ready-to-transfer</link><description>Hi everyone, I&amp;#39;m currently working on an application that uses the USBD HID Keyboard class. However for this particular application I need to know when the USBD is done with the configuration and addressing so that keypresses can be transferred. If I</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 22 Feb 2019 15:43:03 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/37578/usb-hid-keyboard---when-is-it-ready-to-transfer" /><item><title>RE: USB Hid Keyboard - When is it ready to transfer?</title><link>https://devzone.nordicsemi.com/thread/172554?ContentTypeID=1</link><pubDate>Fri, 22 Feb 2019 15:43:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f8ea7eca-96f2-4b16-beae-f3ee9ee3c888</guid><dc:creator>nine-fox</dc:creator><description>&lt;p&gt;My current thought is that, since all operating system OS will send SET_IDLE after usb enumeration. Can we just use this signal to start sending data?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: USB Hid Keyboard - When is it ready to transfer?</title><link>https://devzone.nordicsemi.com/thread/172553?ContentTypeID=1</link><pubDate>Fri, 22 Feb 2019 15:39:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d01b32f7-e775-4ce9-b7cb-00daecd438ea</guid><dc:creator>nine-fox</dc:creator><description>&lt;p&gt;Hi Sigurd, thanks for your answer. However, the investigation shows that, no &lt;span&gt;APP_USBD_HID_USER_EVT_OUT_REPORT_READY event under&amp;nbsp;&lt;/span&gt;MAC OS. While Windows works well, may I ask is there any other way to test?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Vincent&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: USB Hid Keyboard - When is it ready to transfer?</title><link>https://devzone.nordicsemi.com/thread/145546?ContentTypeID=1</link><pubDate>Thu, 23 Aug 2018 14:54:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a746832e-2bc8-4593-8502-2fca6001fc53</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi Anton,&lt;/p&gt;
&lt;p&gt;Note&amp;nbsp;that i&lt;span&gt;f you are using the latest revision of the nRF52840, there are some erratas that has not been properly applied in our SDK;&lt;/span&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/34605/usb-not-enumerating-after-reset/133051#133051"&gt;please see this thread&lt;/a&gt;&lt;span&gt;.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Br,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Sigurd&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: USB Hid Keyboard - When is it ready to transfer?</title><link>https://devzone.nordicsemi.com/thread/145356?ContentTypeID=1</link><pubDate>Wed, 22 Aug 2018 14:54:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:526f8f65-b117-4c0d-9586-9061bcbe267e</guid><dc:creator>AntonHellbe</dc:creator><description>&lt;p&gt;Hi Sigurd,&lt;br /&gt;&lt;br /&gt;Thanks for the answer, we will try it out and see if it works.&lt;br /&gt;&lt;br /&gt;Br,&lt;br /&gt;Anton&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: USB Hid Keyboard - When is it ready to transfer?</title><link>https://devzone.nordicsemi.com/thread/145263?ContentTypeID=1</link><pubDate>Wed, 22 Aug 2018 09:24:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2813d310-2f99-416f-90f5-27cf093e5639</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I assume that you are testing the&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.0.0/usbd_hid_composite_example.html?cp=4_0_0_4_5_49_4"&gt;usbd_hid_composite example&lt;/a&gt;.&amp;nbsp;&lt;/p&gt;
[quote userid="73389" url="~/f/nordic-q-a/37578/usb-hid-keyboard---when-is-it-ready-to-transfer"]Are there any other flags or event handlers that can be useful to detect when the USBD is ready to transmit?[/quote]
&lt;p&gt;You should be able to send the key after you get the first APP_USBD_HID_USER_EVT_OUT_REPORT_READY event in the&amp;nbsp;hid_kbd_user_ev_handler().&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>