Welcome Guest,Register Now
Log In

ANT Forum

Welcome guest, please Login or Register

   

what is the determining factor for the AP2 chip to close an open channel?

Rank

Total Posts: 1

Joined 2009-06-12

PM

Hi,

when a slave has lost the signal of the master it will automatically close the channel.

- Is this determined by a fixed number of rx failes, a fixed timebase, a combination of both or something else?
- Does this have any relation with the search time?      
RankRank

Total Posts: 47

Joined 2010-07-08

PM

By default, when a search times out, ANT will close the channel. So search timeout is what controls this behavior. If your search timeout is 10 seconds, then after 10 seconds of not finding anything, the channel will close. If your search timeout is infinite (set to 255) then the channel will never close automatically and search until it finds something.

It is important to remember that searching has very negative consequences on battery life, in particularly in coin cell applications, so infinite search is almost always a bad idea on battery operated devices.

At the application layer, you could specify to close the channel after a certain number of Rx fails, but this is not built into ANT.

You should also be aware that there are two searches - low and high priority, with the difference being that high priority can block other channels (if they exist) while low does not. You need to set both to known values. I also believe that low priority search runs first if both types are enabled. You can play with this in ANTware under the advanced tab.