coneccted but no mouse movements
Opened this issue · 0 comments
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