<?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>question on zephyr usb hid</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/102517/question-on-zephyr-usb-hid</link><description>hi support team, 
 we have usb hid demo, the path is \ncs\v2.4.0\zephyr\samples\subsys\usb\hid. 
 i have tested it and changed the binterval to 1 as below: ncs default binterval value is 9; 
 
 and now i want to send hid data for more than 1byte（1 byte</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 04 Aug 2023 05:45:55 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/102517/question-on-zephyr-usb-hid" /><item><title>RE: question on zephyr usb hid</title><link>https://devzone.nordicsemi.com/thread/439806?ContentTypeID=1</link><pubDate>Fri, 04 Aug 2023 05:45:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:203c2ec3-6bfd-4c14-88a5-7bf6035470de</guid><dc:creator>William.wei</dc:creator><description>&lt;p&gt;Thanks haakonsh,&lt;/p&gt;
&lt;p&gt;Yes, i forget this, i believe you are correct. let me try again.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;WIlliam.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: question on zephyr usb hid</title><link>https://devzone.nordicsemi.com/thread/439781?ContentTypeID=1</link><pubDate>Thu, 03 Aug 2023 19:54:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d5aafc0e-6b30-4b48-8c0a-708e491de082</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;Hey William,&lt;/p&gt;
&lt;p&gt;wMaxPacketSize is set to 16 bytes, so your HID report is split into several packets.&amp;nbsp;See the reported packets sizes in wireshark and compare with HID report size and you&amp;#39;ll see that the totalt packet size is 28 bytes larger for&amp;nbsp;32, 64, and 128byte HID reports.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I guess there&amp;#39;s a framing overhead of 28bytes when splitting the reports, so a 32byte HID report is split into 3 packets, each sent at 1ms intervals.&lt;/p&gt;
&lt;p&gt;The USBD peripheral only supports a maximum of 64byte packet payloads&amp;nbsp;btw.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;BR,&lt;br /&gt;Håkon Holdhus.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>