Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

coneccted but no mouse movements #1

Open
henry63 opened this issue Feb 12, 2024 · 0 comments
Open

coneccted but no mouse movements #1

henry63 opened this issue Feb 12, 2024 · 0 comments

Comments

@henry63
Copy link

henry63 commented Feb 12, 2024

Hi,

This code is really fantastic. It fits my needs at 95%
Unfortunatly, I experience an issue : in 75% of my tests, the mouse is detected and connected, but no mouvements are reporte.
I keep getting 0s : (x and y are always 0).
16:30:26.325 -> Characteristic: uuid: 0x2a4d, handle: 19 0x0013, props: 0x1a
16:30:26.325 -> Descriptor: uuid: 0x2902, handle: 20
16:30:26.325 -> id 0 buttons 0, x 0, y 0

Even more strange, it often take several trials before the mouse connects ;ie the mouse connect but no mouse report is read, then
Scan Ended
16:29:53.795 -> Name: Bluetooth4.0Mouse, Address: e7:b4:c2:b8:c2:bf, appearance: 962, serviceUUID: 0x1812
16:29:53.795 -> Client List Size: 1
16:29:53.828 -> Connected
16:29:53.828 -> Reconnected client
16:29:53.828 -> Connected to: e7:b4:c2:b8:c2:bf
16:29:53.828 -> RSSI: -69
16:29:54.719 -> HID REPORT MAP char not found.
16:29:54.719 -> Done with this device!
16:29:54.719 -> Success! we should now be getting notifications!
16:29:54.719 -> Mouse to XAC
16:29:54.719 -> e7:b4:c2:b8:c2:bf Disconnected - Starting scan
16:29:54.750 -> onResult: AdvType= 0
16:29:54.750 -> Advertised HID Device found: Name: Bluetooth4.0Mouse, Address: e7:b4:c2:b8:c2:bf, appearance: 962, serviceUUID: 0x1812
16:29:54.750 -> Scan Ended
16:29:54.750 -> Name: Bluetooth4.0Mouse, Address: e7:b4:c2:b8:c2:bf, appearance: 962, serviceUUID: 0x1812
16:29:54.750 -> Client List Size: 1
16:29:54.850 -> Connected
16:29:54.850 -> Reconnected client
16:29:54.850 -> Connected to: e7:b4:c2:b8:c2:bf
16:29:54.850 -> RSSI: -67
16:29:55.639 -> HID REPORT MAP char not found.
6:29:54.719 -> Done with this device!
16:29:54.719 -> Success! we should now be getting notifications!
16:29:54.719 -> Mouse to XAC
16:29:54.719 -> e7:b4:c2:b8:c2:bf Disconnected - Starting scan
16:29:54.750 -> onResult: AdvType= 0
16:29:54.750 -> Advertised HID Device found: Name: Bluetooth4.0Mouse, Address: e7:b4:c2:b8:c2:bf, appearance: 962, serviceUUID: 0x1812
16:29:54.750 -> Scan Ended
16:29:54.750 -> Name: Bluetooth4.0Mouse, Address: e7:b4:c2:b8:c2:bf, appearance: 962, serviceUUID: 0x1812
16:29:54.750 -> Client List Size: 1
16:29:54.850 -> Connected
16:29:54.850 -> Reconnected client

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant