HID report map data size limit?

Hi guys. May I ask some questions for ble_app_hids_keyboard_pca10056_s113 project from 17.1.0 nRF5 SDK:

Sadly a similar ticket was there but there were no clear answer:  Is there a limit to HID report map data?

My setup is NRF52840-QIAA with s113, 3 BLE services (DIS, BAS, HID similar to the original keyboard example).

Thanks to HID keyboard + Mouse combo answers  BLE HID Mouse and BLE HID keyboard integration in the same program with nrf52 dk. Need urgent help

I also tested this and the report map data was added successfully.

So now I'm trying to add consumer control as well.

https://github.com/Rallare/nrf51_ble_app_hids_kbd_consumercontrol/blob/eb9253685fe097f9b0c88212bb51c5e5ff3f7e08/main.c#L220

May I ask what's the size limit of report_map_data[] array? Will this be 251, similar to LE data length extension feature?

Or can this size be indefinite depending on how many BLE services and characteristics are supported?

Parents Reply
  • Thank you, Kenneth.

    "We see a failure mode where the HID enumeration fails because the GATT Read fails (due to a malformed packet exceeding MTU error). "

    Then how about

    [1] can I set the ATT_MTU size higher, like 510 so that I can set the report_map_data[] array size to 500?

    or

    [2] Have two HID services?

    HID service 1 has keyboard

    HID service 2 has mouse + consumer control

Children
Related