uwburn / cardia

Heart rate monitoring client for gamers
GNU General Public License v3.0
93 stars 24 forks source link

Wahoo Tickr: Error configuring HRP device #54

Open thoraxe opened 5 months ago

thoraxe commented 5 months ago

Windows 11 2024-06-14 16:02:34,184 [1] INFO MGT.Cardia.Program - Starting Cardia 2024-06-14 16:02:34,258 [1] DEBUG MGT.Cardia.BtHrpBundle - Retrieving heart rate capable devices 2024-06-14 16:02:34,268 [1] DEBUG MGT.Cardia.BtHrpBundle - Attempting to retrieve async result... 2024-06-14 16:02:34,374 [1] DEBUG MGT.Cardia.BtHrpBundle - Found 1 heart rate capable deices 2024-06-14 16:02:34,376 [1] DEBUG MGT.Cardia.BtHrpBundle - TICKR 0474: id = \?\BTHLEDevice#{0000180d-0000-1000-8000-00805f9b34fb}_c13862494c9c#9&1586d54d&1&0022#{6e3bb679-4372-40c8-9eaa-4509df260cd8}, default = False, enabled = True, paired = False 2024-06-14 16:02:42,785 [1] DEBUG MGT.HRM.HRP.BtHrp - Starting HRP 2024-06-14 16:02:42,789 [1] DEBUG MGT.HRM.HRP.BtHrp - Getting GattDeviceService TICKR 0474 with id \?\BTHLEDevice#{0000180d-0000-1000-8000-00805f9b34fb}_c13862494c9c#9&1586d54d&1&0022#{6e3bb679-4372-40c8-9eaa-4509df260cd8} 2024-06-14 16:02:43,374 [1] DEBUG MGT.HRM.HRP.BtHrp - Failed to instantiate GattDeviceService 2024-06-14 16:02:43,374 [1] DEBUG MGT.HRM.HRP.BtHrp - Getting all GattCharacteristic... 2024-06-14 16:02:43,374 [1] WARN MGT.HRM.HRP.BtHrp - Error configuring HRP device System.NullReferenceException: Object reference not set to an instance of an object. at MGT.HRM.HRP.BtHrp.d__77.MoveNext() 2024-06-14 16:02:43,378 [1] DEBUG MGT.HRM.HRP.BtHrp - Stopping HRP 2024-06-14 16:02:43,378 [1] DEBUG MGT.HRM.HRP.BtHrp - Stopping timeout timer 2024-06-14 16:02:43,378 [1] DEBUG MGT.HRM.HRP.BtHrp - Resetting counters

A different HR app (https://github.com/jlennox/HeartRate) works fine.

Happy to troubleshoot more if you point me in the right direction.

uwburn commented 5 months ago

Hi, atm i don't have the dev environment installed as recently i had to reinstall Windows, so i can't help in much detail.

The only suggestion i can give is to be sure to properly pair the Bluethooth device from Windows settings BEFORE attempting to use it from Cardia.

BTW, thanks for pointing out another working implementation, i might look at it to see if is possible to improve device connection.

thoraxe commented 5 months ago

If the other device wasn't paired before, I wouldn't have been able to use it with the other app.