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

Thanks, bug report and integration #1

Open
sur1v opened this issue Feb 24, 2023 · 2 comments
Open

Thanks, bug report and integration #1

sur1v opened this issue Feb 24, 2023 · 2 comments

Comments

@sur1v
Copy link

sur1v commented Feb 24, 2023

Hello @julr, thanks a lot for this little tool, as been of great help to add ANT HRM data to my stream.

I also want to report a bug related with my sensor (I think) listed as "ANT USBStick2", just got it from Amazon. It works, but the ID never gets detected, latest libusb-win32 driver installed using Zadig. I can still use it using 0 as sensor ID, works great!

Finally I wanted to ask for an integration with Cardia, that will emulate a electrocardiogram activity with the information. I think that project is also in C#. Having a PR there would be great! I'll do it myself but I'm not very proficient at C#.

Thanks again for this!

@julr
Copy link
Owner

julr commented Feb 25, 2023

Thanks for your report.
The search functionality is actually done by the USB dongle itself. However the search timeout is configured (hard coded) to be 30 seconds (see ant-net/Device/HeartRateMonitor.cs#L18
) which I took from specification but this seems to be too short with your device combo. I will make this configurable the next time I work on it. However if it works with id 0 then you can use that as a "workaround" if there are no other ANT+ sensors in receiving range. It will just take a little longer to initially connect, that's all. Or you can try to search multiple times until it is found.

Regarding the integration to Cardia, I sadly don't have time for this but this project is already split up between the UI/App and the actually handling of the ANT+ receiver and sensors. It should be rather straight forward to use the ANT+ .Net Library to add support.

@sur1v
Copy link
Author

sur1v commented Feb 25, 2023

Thanks for your quick reply, indeed after pressing it a couple of times the sensor ID was found and now is working even faster and saving the ID, also saving me time on each use. Thanks again and I will try to implement it as soon as I have a Windows VM running with VS.

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

2 participants