I'm developing a FIDO security key with esp32s2, and I need to perform write of buffer with length greater then max HID_REPORT_COUNT (64 bytes).
I have extended HIDusb, with a custom CTAPHID class similar to HIDgeneric with a different hid report descriptor. I'm also using version from tag 2.0.1 of this repository.
So when data is less then 64 bytes write goes right, but when I start to split data in chunk the second and subsequent writes returns -1.
I'm developing a FIDO security key with esp32s2, and I need to perform write of buffer with length greater then max HID_REPORT_COUNT (64 bytes).
I have extended HIDusb, with a custom CTAPHID class similar to HIDgeneric with a different hid report descriptor. I'm also using version from tag 2.0.1 of this repository.
So when data is less then 64 bytes write goes right, but when I start to split data in chunk the second and subsequent writes returns -1.
This is mi report desc:
instantiated with:
Is there any chance to make this work?
EDIT: It seems that multiple write can't b performed in onData callback. Can close this issue.