Welcome Guest,Register Now
Log In

ANT Forum

Welcome guest, please Login or Register

   

ANT sometimes not work

Rank

Total Posts: 1

Joined 0

PM

Hello,

I have a strange problem with ANT+ on my SE Live with Walkman phone. I'm developing an application to work with ANT+. The problem is that sometimes the channel opens, the ANT+ notification appears and everything works, but sometimes it doesn't appear and it doesn't work.

When it doesn't work, claimInterface() returns true, but when I try to open the channel, I don't receive any ANT_RX_MESSAGE_ACTION. After some time and a lot of tries, it starts working again.

Where should I search for the problem?
Thanks      
Avatar
RankRankRankRank

Total Posts: 129

Joined 2010-11-30

PM

When you open a slave channel, it must search for the sensor transmitting the data before you connect and start receiving. You will not instantly receive data when you open the channel, and the amount of time a search takes to find the sensor varies dependant on a number of factors.

You should probably start with the ANT Basics page before trying to debug this.