tuhi/tuhi
Peter Hutterer 726362107b wacom: append multiple nordic answers to each other
On the Spark, the 0xc9 CRC comes almost immediately after the 0xc8
end-of-sequence. This causes a race condition where sometimes we process the
0xc8 before the 0xc9 arrives, other times the 0xc9 overwrites the current
nordic_answer value before we get to it - triggering an unexpected opcode
exception.

Fix this by appending the nordic answer and only ever pulling off enough to
satisfy the current request.

Fixes #90
2018-02-14 11:25:13 +10:00
..
__init__.py __init__: remove empty line that snuck in during rebasing 2018-01-24 21:39:56 +10:00
base.py tuhi: hook up live mode 2018-02-14 06:23:25 +10:00
ble.py ble: drop the 'event' argument from device-added 2018-02-13 14:51:40 +01:00
config.py config: store the protocol used by the device in the config file 2018-02-09 13:31:11 +10:00
dbusserver.py live-mode: properly pack the fds over DBus 2018-02-14 06:23:25 +10:00
drawing.py janitor: silence deprecated warnings 2018-02-02 10:46:47 +10:00
uhid.py wacom: create a uhid device on live mode 2018-02-14 06:23:25 +10:00
wacom.py wacom: append multiple nordic answers to each other 2018-02-14 11:25:13 +10:00