--
You received this message because you are subscribed to the Google Groups "btstack-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to btstack-dev...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/btstack-dev/402efbe5-aa7a-4a40-8ca6-18d9f4128bf1n%40googlegroups.com.
Hi Matthias,
I just gave that a shot. I changed the size field in hids_device_report_t within src/ble/gatt-service/hids_device.h from uint8_t to uint16_t. The HID report descriptor as found from /sys/kernel/debug/hid/.../rdesc is still cut off after the first 57 bytes.
If I am not mistaken, isn't the hids_device_report_t for handling the individual report IDs and not the HID report descriptor? The HID report descriptor seems to be stored in a hids_device_t in the hid_descriptor field, where the hid_descriptor_size is declared as uint16_t. From what I can tell, whenever it gets passed around, e.g. in att_read_callback (att_handle == instance->hid_report_map_handle), the calls are all with length parameters that are uint16_t, so I'm having trouble figuring out where it's getting miscast as uint8_t and causing the HID report descriptor/map to get truncated.
Kenji
You received this message because you are subscribed to a topic in the Google Groups "btstack-dev" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/btstack-dev/wZWUd7fjDTo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to btstack-dev...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/btstack-dev/406773E6-968D-45F5-916F-6E1D8F1FA3E5%40gmail.com.