public static class AntPlusFitnessEquipmentPcc.CommandStatus
extends java.lang.Object
To confirm that the control request was successful, the command status may be requested from the fitness equipment. It is a requirement that fitness equipment that supports the FE-C use case be able to send this.
Modifier and Type | Class and Description |
---|---|
static class |
AntPlusFitnessEquipmentPcc.CommandStatus.CommandId
The command ID sent to the fitness equipment.
|
static class |
AntPlusFitnessEquipmentPcc.CommandStatus.Status
The command status of the last received command by the fitness equipment.
|
Modifier and Type | Field and Description |
---|---|
static |
CREATOR
CREATOR is used by Android parceling system.
|
java.math.BigDecimal |
draftingFactor
The drafting factor is used to set the resistance reduction due to travelling behind a virtual competitor.
|
java.math.BigDecimal |
grade
Grade of simulated track.
|
static java.lang.String |
KEY_DEFAULT_COMMANDSTATUSKEY
Default IPC key
|
AntPlusFitnessEquipmentPcc.CommandStatus.CommandId |
lastReceivedCommandId
Indicates data page number of the last control page received.
|
int |
lastReceivedSequenceNumber
0 to 254: Sequence number used by Slave in last received command request.
|
byte[] |
rawResponseData
Response data bytes specific to received command ID.
|
java.math.BigDecimal |
rollingResistanceCoefficient
The coefficient of rolling resistance is a dimensionless factor used to quantify rolling resistance based on the friction between the bicycle tires and the track surface.
|
AntPlusFitnessEquipmentPcc.CommandStatus.Status |
status
The command status of the last received command by the fitness equipment.
|
java.math.BigDecimal |
targetPower
The target power for fitness equipment operating in target power mode.
|
java.math.BigDecimal |
totalResistance
Percentage of maximum resistance to be applied.
|
java.math.BigDecimal |
windResistanceCoefficient
Product of Frontal Surface Area, Drag Coefficient and Air Density.
|
java.lang.Integer |
windSpeed
Speed of simulated wind acting on the cyclist.
|
Constructor and Description |
---|
AntPlusFitnessEquipmentPcc.CommandStatus()
Creates a command status object.
|
AntPlusFitnessEquipmentPcc.CommandStatus(Parcel in)
Parcel constructor
|
Modifier and Type | Method and Description |
---|---|
int |
describeContents() |
void |
writeToParcel(Parcel dest,
int flags) |
public static final java.lang.String KEY_DEFAULT_COMMANDSTATUSKEY
public AntPlusFitnessEquipmentPcc.CommandStatus.CommandId lastReceivedCommandId
public int lastReceivedSequenceNumber
public AntPlusFitnessEquipmentPcc.CommandStatus.Status status
public byte[] rawResponseData
AntPlusFitnessEquipmentPcc.CommandStatus
.public java.math.BigDecimal totalResistance
AntPlusFitnessEquipmentPcc.CommandStatus.CommandId.BASIC_RESISTANCE
.
Units: %
Valid range: 0% - 100%
Resolution: 0.5%
public java.math.BigDecimal targetPower
AntPlusFitnessEquipmentPcc.CommandStatus.CommandId.TARGET_POWER
.
Units: W
Valid range: 0W - 1000W
Resolution: 0.25W
public java.math.BigDecimal windResistanceCoefficient
AntPlusFitnessEquipmentPcc.CommandStatus.CommandId.WIND_RESISTANCE
.
Units: kg/m
Valid range: 0kg/m - 1.86kg/m
Resolution: 0.01kg/m
public java.lang.Integer windSpeed
AntPlusFitnessEquipmentPcc.CommandStatus.CommandId.WIND_RESISTANCE
.
Units: km/h
Valid range: -127km/h - 127km/h
Resolution: 1km/h
public java.math.BigDecimal draftingFactor
AntPlusFitnessEquipmentPcc.CommandStatus.CommandId.WIND_RESISTANCE
.
The drafting factor scales the total wind resistance depending on the position of the user relative to other virtual competitors.
The drafting scale factor ranges from 0.0 to 1.0, where 0.0 removes all air resistance from the simulation, and 1.0 indicates no drafting effects (e.g. cycling alone, or in the lead of a pack).
Units: none
Valid range: 0.00 - 1.00
Resolution: 0.01
public java.math.BigDecimal grade
AntPlusFitnessEquipmentPcc.CommandStatus.CommandId.TRACK_RESISTANCE
.
Units: %
Valid range: -200.00% - 200.00%
Resolution: 0.01
public java.math.BigDecimal rollingResistanceCoefficient
AntPlusFitnessEquipmentPcc.CommandStatus.CommandId.TRACK_RESISTANCE
.
Units: none
Valid range: 0 - 0.0127
Resolution: 5x10^-5
public static finalCREATOR
public AntPlusFitnessEquipmentPcc.CommandStatus()
public AntPlusFitnessEquipmentPcc.CommandStatus(Parcel in)
in
- Parcel with object dataCopyright © 2015 Dynastream Innovations Inc. All Rights Reserved.