You are here: Forum Home → ANT Developers Forums → ANT in Mobile Phones → Thread
Dynastream Developer
<Trackpoint>
<Time>2013-09-15T16:32:41Z</Time>
<Position> </Position>
<AltitudeMeters>285.0000000</AltitudeMeters>
<DistanceMeters>18547.8877109</DistanceMeters>
<Cadence>61</Cadence>
<Speed>2.2500000</Speed>
</Trackpoint>
<Trackpoint>
<Time>2013-09-15T16:32:42Z</Time>
<Position> </Position>
<AltitudeMeters>285.0000000</AltitudeMeters>
<DistanceMeters>18549.8936339</DistanceMeters>
<Cadence>-4055350</Cadence>
<Speed>2.2500000</Speed>
</Trackpoint>
<Trackpoint>
<Time>2013-09-15T16:32:43Z</Time>
<Position> </Position>
<AltitudeMeters>285.0000000</AltitudeMeters>
<DistanceMeters>18551.9295769</DistanceMeters>
<Cadence>60</Cadence>
<Speed>2.2500000</Speed>
</Trackpoint>
public void onNewCalculatedCadence(final long estTimestamp,
final EnumSet<EventFlag> eventFlags,
final BigDecimal calculatedCadence) {
myBikeStat.setPedalCadence(calculatedCadence.intValue());
{snip}
}
logout.writeBytes(CADENCE_START_TAG
+ Integer.toString(myBikeStat.getPedalCadence())
+ CADENCE_END_TAG);
Dynastream Developer
Dynastream Developer
Dynastream Developer
Ian Haigh