Welcome Guest,Register Now
Log In

ANT Forum

Welcome guest, please Login or Register

   

Enable/Disable in Ant+

Rank

Total Posts: 2

Joined 2014-03-10

PM

Hi,

When I look at your demo there is enable/disable for Ant+, but there is no function in API that does that, also the AntPlusPluginSampler doesn't have enable and disable.

Could you let me know what API function to use for enabe/disable.

Thanks,
SJ.      
Avatar
RankRankRankRank

Total Posts: 745

Joined 2012-09-14

PM

Hi SJ,

Only the old whole chip interface allowed you to "enable/disable" ANT, when apps did not share the radio.

In the new interface, if no apps are using ANT, then ANT does not run in the background. It is only enabled on demand by apps which request it. The only way to "enable" ANT is to bind to the radio service, which could mean unbinding/rebinding or restarting an app, plugin PCC, etc.

Cheers