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

   

Channel timeout and channel close function

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. I am using the ANT+ SDK, from the Developers->Resources->Downloads->Software tab for Windows PC, to establish a communication between the ANT+ USB stick and the heart rate monitor.

Questions:
1) If no signal is received from the heart rate monitor, the ANT+ USB stick closes the channel after a short "search time". How do I prevent or stop the ANT+ USB stick from a timeout? I do want the ANT+ USB stick to continue searching without at timeout. Could you please show the C++ code modification which I need to make to the ANT+ SDK to achieve this?

2) I would like to programatically decide when to turn off the channel and thus close the channel in an ANT+ USB stick. Could you please show the C++ code modification which I need to make to the ANT+ SDK to allow my own control method to control the closing of the wireless channel?

Thank you for your help.      
RankRankRankRank

Total Posts: 120

Joined 2013-05-07

PM

Hi Adai,

1) You can set the low and high priority search time-outs to infinite. See the ANT Channel Search App Note on our downloads page

2) There should be an function in the channel API called "closeChannel" that you can call to close the channel at an application defined time.

BK.      
Rank

Total Posts: 7

Joined 2021-09-29

PM

Hi, if the heart rate monitor moves far away from the display and then disconnects, when it comes back together after a few minutes, the connection doesn't resume, why?
Thank you
Greetings