Skip to content
This repository has been archived by the owner on Jan 23, 2024. It is now read-only.

Commit

Permalink
Needed to add report ID 3 for BLE support to work
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryochan7 committed Apr 20, 2022
1 parent adb454b commit 321e6de
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion scc/drivers/sc_by_bt.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,10 @@ def flush(self):
""" Flushes all prepared control messages to the device """
while len(self._cmsg):
msg = self._cmsg.pop()
self._hidrawdev.sendFeatureReport(msg)
# Feature report data must be sent with report ID 3
# or Input/output error will occur with later BlueZ versions (5.64)
# Does not affect older BlueZ versions
self._hidrawdev.sendFeatureReport(msg, 3)


def input(self, idata):
Expand Down

0 comments on commit 321e6de

Please sign in to comment.