<?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>nRF52820 USB Generic HID communication</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/66431/nrf52820-usb-generic-hid-communication</link><description>Hi, 
 I am trying to implement Generic HID that can transmit/receive data like CDC using the generic HID example source of nRF52820 SDK 17.0.2. 
 But I can&amp;#39;t do both sending and receiving data. The HID descriptor is a setting value previously used when</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 29 Sep 2020 09:41:38 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/66431/nrf52820-usb-generic-hid-communication" /><item><title>RE: nRF52820 USB Generic HID communication</title><link>https://devzone.nordicsemi.com/thread/272012?ContentTypeID=1</link><pubDate>Tue, 29 Sep 2020 09:41:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:20eff378-c7e4-4f57-a5b5-8ed38b49e264</guid><dc:creator>moon.kim</dc:creator><description>&lt;p&gt;After reinstalling the HID driver on the PC, the problem was resolved.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52820 USB Generic HID communication</title><link>https://devzone.nordicsemi.com/thread/271902?ContentTypeID=1</link><pubDate>Tue, 29 Sep 2020 00:09:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e6c0c6fd-c60c-4c86-9564-d435f2f3c8b9</guid><dc:creator>moon.kim</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;After I modified as below, sending data from PC to my device via generic HID was successful.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;#define REPORT_OUT_MAXSIZE  63	//0

/**
 * @brief Feature report maximum size. HID generic class will reserve
 *        this buffer size + 1 memory space. 
 */
#define REPORT_FEATURE_MAXSIZE  31

/**
 * @brief HID generic class endpoints count.
 * */
#define HID_GENERIC_EP_COUNT  2

/**
 * @brief List of HID generic class endpoints.
 * */
#define ENDPOINT_LIST()                                      \
(                                                            \
        HID_GENERIC_EPIN,                                     \
        HID_GENERIC_EPOUT                                     \
)&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;However, sending data to PC using app_usbd_hid_generic_in_report_set on my device does not work.&lt;/p&gt;
&lt;p&gt;What&amp;#39;s wrong with settings?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52820 USB Generic HID communication</title><link>https://devzone.nordicsemi.com/thread/271796?ContentTypeID=1</link><pubDate>Mon, 28 Sep 2020 13:18:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:311ef8e4-d1f0-4467-8b36-f66dd91b500d</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;What exactly do you mean by &amp;quot;&lt;span&gt;I can&amp;#39;t do both sending and receiving data&amp;quot;. Are you trying to send and receive simultaneously or what? Can you explain in detail what you&amp;#39;re trying to do and what problems/errors you&amp;#39;re seeing when trying to implement it?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Simon&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>