On some phones (currently observed on one older Android device),
the received GATT HID reports are processed slower, which leads to noticeable delayed movements.
A possible solution would be a rate limitation for sending GATT data.
Open for discussion:
Relative data (mouse movements):
Should we discard received UART HID data if sent too fast
OR
should the ESP32 sum up mouse movement values & send them accumulated in one report?
Absolute data (mouse clicks & keyboard keys):
I think these should be sent ASAP (when the rate limiting timeout is finished), without further modification.
@ChrisVeigl what's your opinion?
On some phones (currently observed on one older Android device),
the received GATT HID reports are processed slower, which leads to noticeable delayed movements.
A possible solution would be a rate limitation for sending GATT data.
Open for discussion:
Relative data (mouse movements):
Should we discard received UART HID data if sent too fast
OR
should the ESP32 sum up mouse movement values & send them accumulated in one report?
Absolute data (mouse clicks & keyboard keys):
I think these should be sent ASAP (when the rate limiting timeout is finished), without further modification.
@ChrisVeigl what's your opinion?