springbok / MLM2PRO-GSPro-Connector

GSPro Connector for the MLM2PRO Launch Monitor
GNU General Public License v3.0
49 stars 6 forks source link

Error connecting to MLM2PRO over bluetooth #105

Closed sam-hamer closed 1 month ago

sam-hamer commented 5 months ago

I am getting the following error when attempting to connect with bluetooth:

2024-06-12:18:24:11,804 DEBUG [bluetooth_device_service.py:66] Characteristics for service {daf9b2a4-e4db-4be4-816d-298a050f25cd} has been discovered: ServiceState.RemoteServiceDiscovered 2024-06-12:18:24:11,804 DEBUG [bluetooth_device_service.py:77] Subscribing to notifications for service: {daf9b2a4-e4db-4be4-816d-298a050f25cd} characteristic: {02e525fd-7960-4ef0-bfb7-de0f514518ff} on MLM2-M2P13. 2024-06-12:18:24:11,804 DEBUG [bluetooth_device_service.py:91] Characteristic descriptor is invalid for {02e525fd-7960-4ef0-bfb7-de0f514518ff} on MLM2-M2P13. 2024-06-12:18:24:11,804 DEBUG [bluetooth_device_base.py:201] An error has occurred: Characteristic descriptor is invalid for {02e525fd-7960-4ef0-bfb7-de0f514518ff} on MLM2-M2P13. 2024-06-12:18:24:11,820 DEBUG [bluetooth_device_base.py:117] Disconnecting from device: MLM2-M2P13

Attached full log. mlm2pro-gspro-connect.log

springbok commented 5 months ago

Have you got the device paired with windows? If so unpair it and try again.

Have you connected to it before via the connector?

When you search for BT devices in Windows what devices can you see advertised?

sam-hamer commented 5 months ago

Thanks for the quick response,

springbok commented 5 months ago

Maybe that is the issue, I've not tested that setup.

Are you able to connect to other BT devices, have you got advanced discovery turned on?

sam-hamer commented 5 months ago

Yeah, I have advanced discovery enabled, and I am able to connect other devices. Though, when connecting it seems to send a request through macOS, and it shares the device with the windows VM. Wondering if that might be part of the issue?