<?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>Generic USB HID IN Report failing to receive on macOS</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/68480/generic-usb-hid-in-report-failing-to-receive-on-macos</link><description>Hello! 
 Hardware: nrf52840 IDE: Segger Embedded Studio SDK: nrf5 SDK 17.0.2 
 I&amp;#39;ve been having trouble getting IN reports to work on macOS. I based my code off of the generic mouse example in /example/peripheral/usbd_hid_generic/ to set an IN report</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 28 May 2021 04:00:48 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/68480/generic-usb-hid-in-report-failing-to-receive-on-macos" /><item><title>RE: Generic USB HID IN Report failing to receive on macOS</title><link>https://devzone.nordicsemi.com/thread/312249?ContentTypeID=1</link><pubDate>Fri, 28 May 2021 04:00:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2f81c0cc-be30-4fdd-afeb-f160b7187eed</guid><dc:creator>prnthp</dc:creator><description>&lt;p&gt;I managed to fix it.&lt;/p&gt;
&lt;p&gt;The subclass in APP_USBD_HID_GENERIC_GLOBAL_DEF must not be&amp;nbsp;APP_USBD_HID_SUBCLASS_BOOT. I used&amp;nbsp;APP_USBD_HID_SUBCLASS_NONE instead. This was actually an unrelated fix to get it to work with my Android system.&lt;/p&gt;
&lt;p&gt;Full define:&lt;/p&gt;
&lt;pre&gt;APP_USBD_HID_GENERIC_GLOBAL_DEF(m_app_hid_generic,
                                HID_GENERIC_INTERFACE,
                                hid_user_ev_handler,
                                ENDPOINT_LIST(),
                                reps,
                                REPORT_IN_QUEUE_SIZE,
                                REPORT_OUT_MAXSIZE,
                                REPORT_FEATURE_MAXSIZE,
                                APP_USBD_HID_SUBCLASS_NONE,
                                APP_USBD_HID_PROTO_GENERIC
                                );&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Generic USB HID IN Report failing to receive on macOS</title><link>https://devzone.nordicsemi.com/thread/312233?ContentTypeID=1</link><pubDate>Thu, 27 May 2021 23:40:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6e1bdf1c-2839-4dd5-a76e-6fb151e76e05</guid><dc:creator>prnthp</dc:creator><description>[deleted]&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Generic USB HID IN Report failing to receive on macOS</title><link>https://devzone.nordicsemi.com/thread/285280?ContentTypeID=1</link><pubDate>Wed, 16 Dec 2020 10:42:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:293926df-1248-481e-8cf5-746bbcc89a53</guid><dc:creator>Carl Richard</dc:creator><description>&lt;p&gt;Hi again!&lt;br /&gt;&lt;br /&gt;My apologies for the slow updates on this issue. I&amp;#39;ve haven&amp;#39;t managed to progress on this myself and created an internal ticket for the developers to look at. Will report back as soon as possible.&lt;br /&gt;&lt;br /&gt;I have not managed to reproduce the application working &amp;quot;after some time&amp;quot; (~5 minutes in my case).&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Thank you for you patience.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Carl Richard&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Generic USB HID IN Report failing to receive on macOS</title><link>https://devzone.nordicsemi.com/thread/283416?ContentTypeID=1</link><pubDate>Sun, 06 Dec 2020 05:58:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:99698d0c-1332-4e45-802f-61246999bde0</guid><dc:creator>prnthp</dc:creator><description>&lt;p&gt;I&amp;#39;m not sure how long &amp;quot;after some time&amp;quot; is, so I left the device connected for at least an hour and didn&amp;#39;t see any change. Below is a link to my Wireshark capture in case you can spot anything wrong.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/nrf_5F00_usb_5F00_start_5F00_out.pcapng"&gt;devzone.nordicsemi.com/.../nrf_5F00_usb_5F00_start_5F00_out.pcapng&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Generic USB HID IN Report failing to receive on macOS</title><link>https://devzone.nordicsemi.com/thread/283412?ContentTypeID=1</link><pubDate>Sat, 05 Dec 2020 23:23:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:627d02db-d309-4ee5-863e-c86c1b2ed862</guid><dc:creator>prnthp</dc:creator><description>&lt;p&gt;Hello there!&lt;/p&gt;
&lt;p&gt;Sorry, I do not have any updates as I&amp;#39;ve been working on other aspects of the project. I&amp;#39;ll test out waiting for some time like you said. I have Wireshark set up to snoop the USB bus. I&amp;#39;ll report back if anything comes up. Thank you!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Generic USB HID IN Report failing to receive on macOS</title><link>https://devzone.nordicsemi.com/thread/282730?ContentTypeID=1</link><pubDate>Tue, 01 Dec 2020 15:44:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:57f4f341-153b-469f-a7e0-ba994a52b360</guid><dc:creator>Carl Richard</dc:creator><description>&lt;p&gt;Hi!&lt;br /&gt;&lt;br /&gt;Apologies for the very late answer. I&amp;#39;ve been trying to fix the issue, though no success yet. Have you been able to debug your code in SES to see if it gives any indications to what might be happening?&lt;br /&gt;&lt;br /&gt;I did have some interesting observations, as the application did start to work after being connected to the mac for some time. I&amp;#39;m not sure what triggered the behavior, but it seems like the device is waiting for some kind of event before it starts working. Will report back when I know more.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Carl Richard&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Generic USB HID IN Report failing to receive on macOS</title><link>https://devzone.nordicsemi.com/thread/280969?ContentTypeID=1</link><pubDate>Thu, 19 Nov 2020 17:15:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3acfcba0-dabd-4d25-b1cd-15793282b6d2</guid><dc:creator>prnthp</dc:creator><description>&lt;p style="text-align:left;"&gt;Hello!&lt;/p&gt;
&lt;p style="text-align:left;"&gt;To me, it seems like the fix at the end of that thread doesn&amp;rsquo;t actually apply to app_usbd_hid_generic.c, but I provided it in case it had any clues. I did try adding that line to after similar lines but it didn&amp;rsquo;t help.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Generic USB HID IN Report failing to receive on macOS</title><link>https://devzone.nordicsemi.com/thread/280959?ContentTypeID=1</link><pubDate>Thu, 19 Nov 2020 16:01:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:edd1e09f-9c59-4967-9048-91b73e4698e9</guid><dc:creator>Carl Richard</dc:creator><description>&lt;p&gt;Hi!&lt;br /&gt;&lt;br /&gt;I&amp;#39;m looking into it. Did you try to apply the fix at the end of the thread you linked?&lt;br /&gt;&lt;br /&gt;And are you able to provide some debug level logs from your device?&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Carl Richard&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>