public static class AntPlusBikePowerPcc.CalibrationMessage
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
java.lang.Integer |
calibrationData
The calibration data sent by the power sensor.
|
AntPlusBikePowerPcc.CalibrationId |
calibrationId
The calibration ID sent by the power sensor.
|
static |
CREATOR
CREATOR is used by Android parceling system.
|
java.lang.Integer |
ctfOffset
The CTF Zero Offset sent by the CTF power sensor.
|
static java.lang.String |
KEY_DEFAULT_CALIBRATIONMESSAGEKEY
Default IPC key
|
byte[] |
manufacturerSpecificData
The 6 manufacturer specific bytes sent by the power sensor.
|
Constructor and Description |
---|
AntPlusBikePowerPcc.CalibrationMessage(AntPlusBikePowerPcc.CalibrationId calibrationId,
java.lang.Integer calibrationData,
java.lang.Integer ctfOffset,
byte[] manufacturerSpecificData)
Constructor for calibration message.
|
AntPlusBikePowerPcc.CalibrationMessage(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_CALIBRATIONMESSAGEKEY
public final AntPlusBikePowerPcc.CalibrationId calibrationId
public final java.lang.Integer calibrationData
AntPlusBikePowerPcc.CalibrationId.GENERAL_CALIBRATION_SUCCESS
or AntPlusBikePowerPcc.CalibrationId.GENERAL_CALIBRATION_FAIL
.public final java.lang.Integer ctfOffset
AntPlusBikePowerPcc.CalibrationId.CTF_ZERO_OFFSET
.public final byte[] manufacturerSpecificData
AntPlusBikePowerPcc.CalibrationId.CUSTOM_CALIBRATION_RESPONSE
or AntPlusBikePowerPcc.CalibrationId.CUSTOM_CALIBRATION_UPDATE_SUCCESS
.public static finalCREATOR
public AntPlusBikePowerPcc.CalibrationMessage(AntPlusBikePowerPcc.CalibrationId calibrationId, java.lang.Integer calibrationData, java.lang.Integer ctfOffset, byte[] manufacturerSpecificData)
calibrationId
- The calibration ID sent by the power sensorcalibrationData
- The calibration data sent by the power sensorctfOffset
- The CTF Zero Offset sent by the CTF power sensormanufacturerSpecificData
- The 6 manufacturer specific bytes sent by the power sensorpublic AntPlusBikePowerPcc.CalibrationMessage(Parcel in)
in
- Parcel with object dataCopyright © 2015 Dynastream Innovations Inc. All Rights Reserved.