Welcome Guest,Register Now
Log In

ANT Forum

Welcome guest, please Login or Register

You are here: Forum Home → ANT+ Forums → ANT+ Bike Power → Thread

   

Battery status event from PowerTap

Avatar
Rank

Total Posts: 16

Joined 2013-10-23

PM

Hi all,

I am using ANT+ SDK to record data from several powermeters on a Android app. Near everything is working fine, but I have some issues. First, it seems I receive no information about the battery status. The code is from the ANT+ plugin sampler (see below). I should add there is nothing printed also with the ANT+ Plugin Sampler app about battery status.

Other testimonies from this with a PowerTap powermeter (I have a SL+ model) ? Which powermeter is sending info about battery ?

Thanks,

Pierre

// Battery
BikePowerPcc.subscribeBatteryStatusEvent(
new AntPlusCommonPcc.IBatteryStatusReceiver()
{
@Override
public void onNewBatteryStatus(final long estTimestamp,
EnumSet<EventFlag> eventFlags, final long cumulativeOperatingTime,
final BigDecimal batteryVoltage, final BatteryStatus batteryStatus,
final int cumulativeOperatingTimeResolution, final int numberOfBatteries,
final int batteryIdentifier)
{
MyActivity.runOnUiThread(
new Runnable()
{
@Override
public void run()
{
BatteryVoltage = String.valueOf(batteryVoltage);
BatteryStatus = batteryStatus.toString();
}
});
}
});      

Signature

Avatar
RankRankRankRank

Total Posts: 296

Joined 0

PM

Yep, I have a PowerTap SL+ as well (bought in 2009) and it does NOT send the battery status page #82.
Cheers,
OMB      
Avatar
Rank

Total Posts: 16

Joined 2013-10-23

PM

Thanks for the info, I will try with a Power2max.

Pierre      

Signature

Avatar
Rank

Total Posts: 16

Joined 2013-10-23

PM

Oups, I now remember that Joule 2.0 computer is indicating battery power level from my PT SL+. So could it be an issue from the ANT+ Android SDK ?

Pierre      

Signature

Avatar
RankRankRankRank

Total Posts: 296

Joined 0

PM

bugno - 25 May 2016 06:01 AM
Oups, I now remember that Joule 2.0 computer is indicating battery power level from my PT SL+. So could it be an issue from the ANT+ Android SDK ?

Pierre

Does the Joule receive data from the hubs via ANT+?
I remember that the PowerTap hubs initially didn't "speak" ANT+. They had a proprietary protocol to talk to the Joule head sets. Saris didn't add ANT+ until about 2009.
I'm pretty (well, not 100%) sure that I never observed ANT+ battery status pages from my PowerTap SL+.

OMB      
Avatar
Rank

Total Posts: 16

Joined 2013-10-23

PM

I remember this proprietary protocol (2.4 wireless) and LYC wireless was used for this:
http://www.powertap.com/product/little-yellow-cervo-lyc-cpu

And I think my Joule 2.0 (2010) receive data only via ANT+. It is not compatible with PowerTap 2.4 wireless (See page 6 of https://www.powertap.com/Uploads/PDF/PowerTap-Manuals/joule-2.0-manual.pdf)

Pierre
     

Signature

Avatar
Rank

Total Posts: 16

Joined 2013-10-23

PM

For information, since my post, I have seen battery status sent by Power2Max (model?) and a PowerTap G3.      

Signature