jlennox / HeartRate

Bluetooth heart rate monitor
MIT License
109 stars 35 forks source link

Unable to initialize bluetooth service. Exiting. #5

Closed jeffcrouse closed 2 years ago

jeffcrouse commented 6 years ago

I'm almost certain this is a problem with my computer/Bluetooth, so I'm sorry for posting here. But I'm hoping someone knows what is going on.

Unable to initialize bluetooth service. Exiting. Specified argument was out of range of valid values. Parameter name: Unable to locate heart rate device.

This is the error I am getting, both with the pre-built binary and with the project in Visual Studio. I've also tried with "Heart Rate Monitor" https://www.microsoft.com/en-us/p/heart-beat-monitor/9wzdncrdkw2v?activetab=pivot%3aoverviewtab

I am using a Polar OH1. The strange thing is, both applications worked once (and it worked well!), and then they never work again. According to Windows, the device is paired properly. But after one use, none of the applications can detect it anymore. Has anyone experienced this?

jlennox commented 6 years ago

That is interesting. My first assumption would be it's a pairing issue. I'd try to do what I could to remove the pairing record and repair.

I do not have this setup on my local system, I'm infact not certain where my Polar monitor is.

Perhaps this tool will provide you with more information: http://www.nirsoft.net/utils/bluetoothcl.html

NirSoft also has additional tools that may (or may not) be helpful regarding bluetooth: https://launcher.nirsoft.net/utilities_list.html

I have never used any of them but that is where I would start.

rkantos commented 5 years ago

Experiencing the same issue With Wahoo Tickr on Windows 10

ardittristan commented 5 years ago

For me this happens when another program/instance is already using the heart rate sensor, maybe try checking if there are other programs that are reading out the sensor. (It might also be your phone being connected to the sensor)

HumbleDeer commented 3 years ago

Check your taskbar for a heart rate counter. The app may already be open.