public static enum AntPlusBikePowerPcc.CalibrationId extends java.lang.Enum<AntPlusBikePowerPcc.CalibrationId>
Enum Constant and Description |
---|
CAPABILITIES
The power meter sent its current calibration capabilities.
|
CTF_MESSAGE
The power meter returned a CTF specific calibration message.
|
CTF_SERIAL_NUMBER_ACK
The CTF power meter returned a serial number command acknowledgment.
|
CTF_SLOPE_ACK
The CTF power meter returned a slope command acknowledgment.
|
CTF_ZERO_OFFSET
The CTF power meter returned a zero offset value.
|
CUSTOM_CALIBRATION_RESPONSE
The power meter returned a response to a custom calibration request.
|
CUSTOM_CALIBRATION_UPDATE_SUCCESS
The power meter returned a response to a custom calibration parameter update request.
|
GENERAL_CALIBRATION_FAIL
The power meter failed to perform a calibration request.
|
GENERAL_CALIBRATION_SUCCESS
The power meter successfully performed a calibration successfully.
|
INVALID
Invalid field.
|
UNRECOGNIZED
The value sent by the plugin service was unrecognized probably indicating an upgrade of the PCC is required to handle the value.
|
Modifier and Type | Method and Description |
---|---|
int |
getIntValue()
Convert enum to equivalent int value
|
static AntPlusBikePowerPcc.CalibrationId |
getValueFromInt(int intValue)
Convert int to equivalent enum value
|
static AntPlusBikePowerPcc.CalibrationId |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AntPlusBikePowerPcc.CalibrationId[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AntPlusBikePowerPcc.CalibrationId GENERAL_CALIBRATION_SUCCESS
public static final AntPlusBikePowerPcc.CalibrationId GENERAL_CALIBRATION_FAIL
public static final AntPlusBikePowerPcc.CalibrationId CTF_MESSAGE
public static final AntPlusBikePowerPcc.CalibrationId CTF_ZERO_OFFSET
public static final AntPlusBikePowerPcc.CalibrationId CTF_SLOPE_ACK
public static final AntPlusBikePowerPcc.CalibrationId CTF_SERIAL_NUMBER_ACK
public static final AntPlusBikePowerPcc.CalibrationId CAPABILITIES
public static final AntPlusBikePowerPcc.CalibrationId CUSTOM_CALIBRATION_RESPONSE
public static final AntPlusBikePowerPcc.CalibrationId CUSTOM_CALIBRATION_UPDATE_SUCCESS
public static final AntPlusBikePowerPcc.CalibrationId INVALID
public static final AntPlusBikePowerPcc.CalibrationId UNRECOGNIZED
public static AntPlusBikePowerPcc.CalibrationId[] values()
for (AntPlusBikePowerPcc.CalibrationId c : AntPlusBikePowerPcc.CalibrationId.values()) System.out.println(c);
public static AntPlusBikePowerPcc.CalibrationId valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int getIntValue()
public static AntPlusBikePowerPcc.CalibrationId getValueFromInt(int intValue)
intValue
- integer to convertCopyright © 2015 Dynastream Innovations Inc. All Rights Reserved.