Welcome Guest,Register Now
Log In

ANT Forum

Welcome guest, please Login or Register

   

how to control ANT+ device searches and avoid searching nearby devices

Rank

Total Posts: 3

Joined 2017-03-08

PM

Hi,
I'm able to search nearby Ant+ devices(my bike speed and distance sensor) using ANT+ plugin sampler, and fetching the device number from there and storing it in my app. My requirement is, next time when I connect, I just want to use the stored device number and avoid searching for nearby devices again. Like it happens in STRAVA App - once you pair or bind the sensor with app, it wont search for the device every time you open the app.. could anybody help me with some sample code or hint how and where can I set the antDeviceNumber and use it seamlessly..