Welcome Guest,Register Now
Log In

ANT Forum

Welcome guest, please Login or Register

You are here: Forum Home → ANT+ Forums → ANT+ Heart Rate Monitor → Thread

   

C++ or Python code for Dynastream USB2 stick to communicate with HRM

Rank

Total Posts: 2

Joined 2017-05-15

PM

I have a Scosche Armband Heart Rate Monitor which is capable of communicating with an ANT+ Dynastream USB2 stick. The Developers->Resources->Downloads->Software tab provides ANT+ SDK for Windows PC and recommends use of Microsoft Visual Studio C# 2010 Express version. I am interested in writing C++ or Python code in my computer to enable my Dynastream USB2 stick to communicate and decode data from the HRM broadcast signal.

Questions:

1) Microsoft Visual Studio Community 2017 is unable to compile/build the provided ANT+ SDK for Windows in C++/C#. It gives numerous errors, warnings, and missing files. I am unable to use Microsoft Visual Studio 2010 Express as it has been phased out and is unavailable for download. Which IDE do you use for successful build of the provided ANT+ SDK in C++?

2) Is there are any C++ code example for ANT+ USB2 stick to communicate with a HRM, other than the one provided on the Software tab in ANT+ website?

3) Is there a Python library for ANT+ to enable Dynastream ANT+ USB2 stick to communicate with a HRM, besides this one https://pypi.python.org/pypi/ant/0.1.0 ? (It is preferred if the library is compatible with Python3.6 and is actively managed/updated)

4) Is there any Python code example for Dynastream ANT+ USB2 stick to communicate with a HRM?
     
RankRankRankRank

Total Posts: 120

Joined 2013-05-07

PM

Hi Adia,

1) Visual Studios 2015 Express
2) We have C sample code for embedded platforms available on our website, but I believe you are looking for PC sample code. While we don't have something for C++, we have a C# library you can use to kick-start your development. Please read the app note: ANT AN Using the SimulANT+ Library for Simulating ANT+ Devices in C#.
3) I don't know if this will be helpful for you, but there is the IronPython scripting interface in SimulANT+ you can use to script simulators. You can use it to receive data from a Scoshe Armband using a USB2.
4) Nothing from the ANT+ alliance, but there may be third party examples on GitHub.

BK