Welcome Guest,Register Now
Log In

ANT Forum

Welcome guest, please Login or Register

   

How can a see battery status on a AntPlusHeartRatePcc on android?

Rank

Total Posts: 1

Joined 2015-01-12

PM

How can a see battery status on a AntPlusHeartRatePcc on android?      
Avatar
RankRankRankRank

Total Posts: 745

Joined 2012-09-14

PM

The "ANT+ Plugins Sampler" application source code in the ANT+ Plugins API has an example, but almost every PCC inherits from the "AntPlusCommonPcc" class which has the proper subscription method (subscribeBatteryStatusEvent) to listen for Battery Status (link).