<?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>BLE Input/Output Maximum HID Report Size</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/115353/ble-input-output-maximum-hid-report-size</link><description>Hi, I&amp;#39;m trying to send 64-byte reports for INPUT and OUTPUT: 1 byte for report ID and 63 bytes of data. However, the HID service code doesn&amp;#39;t seem to handle incoming OUTPUT reports or send out outbound INPUT reports when attempting 64-byte reports (or</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 10 Oct 2024 05:10:22 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/115353/ble-input-output-maximum-hid-report-size" /><item><title>RE: BLE Input/Output Maximum HID Report Size</title><link>https://devzone.nordicsemi.com/thread/505646?ContentTypeID=1</link><pubDate>Thu, 10 Oct 2024 05:10:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7fb85af0-2de0-42c0-9744-4e27db236907</guid><dc:creator>terrorants</dc:creator><description>&lt;p&gt;This seemed to do the trick. Thanks for the support!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE Input/Output Maximum HID Report Size</title><link>https://devzone.nordicsemi.com/thread/505557?ContentTypeID=1</link><pubDate>Wed, 09 Oct 2024 12:12:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7ef81679-8020-4fc4-90ff-ac77c87a6189</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;For HID over Bluetooth, the&amp;nbsp;&lt;span&gt;maximum length of an attribute value should be 512 octets (bytes), see &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/110191/large-hid-report_map_data-have-problem/478729"&gt;this post&lt;/a&gt;.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I tried building the peripheral_hids_keyboard sample, and it seems that the default MTU length is set around the size where you stop receiving the packets.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_BT_L2CAP_TX_MTU=65
CONFIG_BT_BUF_ACL_TX_SIZE=27
CONFIG_BT_BUF_ACL_RX_SIZE=69
CONFIG_BT_CTLR_DATA_LENGTH_MAX=69&lt;/pre&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Can you try to increase&amp;nbsp;CONFIG_BT_L2CAP_TX_MTU and&amp;nbsp;CONFIG_BT_BUF_ACL_RX_SIZE in your prj.conf file? Increasing&amp;nbsp;CONFIG_BT_CTLR_DATA_LENGTH_MAX will also enable you to send more data in one packet (Increasing MTU will split data into multiple packets if data length cannot fit the full payload in one packet).&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;br /&gt;Jørgen&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE Input/Output Maximum HID Report Size</title><link>https://devzone.nordicsemi.com/thread/505451?ContentTypeID=1</link><pubDate>Wed, 09 Oct 2024 04:07:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:67dc11cd-c78a-47bc-8831-ed56f7f8ec57</guid><dc:creator>terrorants</dc:creator><description>&lt;p&gt;Here&amp;#39;s the relevant portion of the report descriptor:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;    0x85, 0x02, /* Report ID */
    0x95, 0x3f,  /*   REPORT COUNT (63) */
    0x75, 0x08,        /*   REPORT_SIZE (8) */
    0x15, 0x00,        /*   LOGICAL_MINIMUM (0) */
    0x26, 0xff, 0x00,  /*   LOGICAL_MAXIMUM (255) */
	0x09, 0x01,        /*   USAGE (Vendor Usage 1) */
    0x81, 0x02,        /*   INPUT (Data,Var,Abs) */

    0x85, 0x02, /* Report ID */
    0x95, 0x3f,   /*   REPORT COUNT (63) */
    0x75, 0x08,        /*   REPORT_SIZE (8) */
    0x15, 0x00,        /*   LOGICAL_MINIMUM (0) */
    0x26, 0xff, 0x00,  /*   LOGICAL_MAXIMUM (255) */
	0x09, 0x01,        /*   USAGE (Vendor Usage 1) */
    0x91, 0x02,        /*   OUTPUT (Data,Var,Abs) */&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>