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
  • Hello,

    Are you able to perform an on-air sniffer trace? E.g. using ellisys, frontline or for instance nrf sniffer? I just want to understand whether the problem is related to the size of the report map (and not that it may be fragmented over several att mtu packet (which should not be a problem, since it should be re-assembled when entire packet is read)). The report map can (afaik) only be 255bytes, this is not due to limitation in BLE, but limitation in the USB spec for HID devices (and the HID over GATT for BLE inherit these limitations, even if the BLE transport could support larger packets).

    Edit: All that said, there is no problem to exchange larger ATT MTU in any case no.

    Kenneth

Children
Related