public class DeviceInfoMesg extends Mesg
Modifier and Type | Field and Description |
---|---|
static int |
AntDeviceNumberFieldNum |
static int |
AntNetworkFieldNum |
static int |
AntTransmissionTypeFieldNum |
static int |
BatteryLevelFieldNum |
static int |
BatteryStatusFieldNum |
static int |
BatteryVoltageFieldNum |
static int |
CumOperatingTimeFieldNum |
static int |
DescriptorFieldNum |
static int |
DeviceIndexFieldNum |
protected static Mesg |
deviceInfoMesg |
static int |
DeviceTypeFieldNum |
static int |
HardwareVersionFieldNum |
static int |
ManufacturerFieldNum |
static int |
ProductFieldNum |
static int |
ProductNameFieldNum |
static int |
SensorPositionFieldNum |
static int |
SerialNumberFieldNum |
static int |
SoftwareVersionFieldNum |
static int |
SourceTypeFieldNum |
static int |
TimestampFieldNum |
developerFields, fields, localNum, name, num, systemTimeOffset
Constructor and Description |
---|
DeviceInfoMesg() |
DeviceInfoMesg(Mesg mesg) |
Modifier and Type | Method and Description |
---|---|
java.lang.Integer |
getAntDeviceNumber()
Get ant_device_number field
|
java.lang.Short |
getAntDeviceType()
Get ant_device_type field
|
AntNetwork |
getAntNetwork()
Get ant_network field
|
java.lang.Short |
getAntplusDeviceType()
Get antplus_device_type field
|
java.lang.Short |
getAntTransmissionType()
Get ant_transmission_type field
|
java.lang.Short |
getBatteryLevel()
Get battery_level field
Units: %
|
java.lang.Short |
getBatteryStatus()
Get battery_status field
|
java.lang.Float |
getBatteryVoltage()
Get battery_voltage field
Units: V
|
java.lang.Short |
getBleDeviceType()
Get ble_device_type field
|
java.lang.Long |
getCumOperatingTime()
Get cum_operating_time field
Units: s
Comment: Reset by new battery or charge.
|
java.lang.String |
getDescriptor()
Get descriptor field
Comment: Used to describe the sensor or location
|
java.lang.Short |
getDeviceIndex()
Get device_index field
|
java.lang.Short |
getDeviceType()
Get device_type field
|
java.lang.Integer |
getFaveroProduct()
Get favero_product field
|
java.lang.Integer |
getGarminProduct()
Get garmin_product field
|
java.lang.Short |
getHardwareVersion()
Get hardware_version field
|
java.lang.Short |
getLocalDeviceType()
Get local_device_type field
|
java.lang.Integer |
getManufacturer()
Get manufacturer field
|
java.lang.Integer |
getProduct()
Get product field
|
java.lang.String |
getProductName()
Get product_name field
Comment: Optional free form string to indicate the devices name or model
|
BodyLocation |
getSensorPosition()
Get sensor_position field
Comment: Indicates the location of the sensor
|
java.lang.Long |
getSerialNumber()
Get serial_number field
|
java.lang.Float |
getSoftwareVersion()
Get software_version field
|
SourceType |
getSourceType()
Get source_type field
|
DateTime |
getTimestamp()
Get timestamp field
Units: s
|
void |
setAntDeviceNumber(java.lang.Integer antDeviceNumber)
Set ant_device_number field
|
void |
setAntDeviceType(java.lang.Short antDeviceType)
Set ant_device_type field
|
void |
setAntNetwork(AntNetwork antNetwork)
Set ant_network field
|
void |
setAntplusDeviceType(java.lang.Short antplusDeviceType)
Set antplus_device_type field
|
void |
setAntTransmissionType(java.lang.Short antTransmissionType)
Set ant_transmission_type field
|
void |
setBatteryLevel(java.lang.Short batteryLevel)
Set battery_level field
Units: %
|
void |
setBatteryStatus(java.lang.Short batteryStatus)
Set battery_status field
|
void |
setBatteryVoltage(java.lang.Float batteryVoltage)
Set battery_voltage field
Units: V
|
void |
setBleDeviceType(java.lang.Short bleDeviceType)
Set ble_device_type field
|
void |
setCumOperatingTime(java.lang.Long cumOperatingTime)
Set cum_operating_time field
Units: s
Comment: Reset by new battery or charge.
|
void |
setDescriptor(java.lang.String descriptor)
Set descriptor field
Comment: Used to describe the sensor or location
|
void |
setDeviceIndex(java.lang.Short deviceIndex)
Set device_index field
|
void |
setDeviceType(java.lang.Short deviceType)
Set device_type field
|
void |
setFaveroProduct(java.lang.Integer faveroProduct)
Set favero_product field
|
void |
setGarminProduct(java.lang.Integer garminProduct)
Set garmin_product field
|
void |
setHardwareVersion(java.lang.Short hardwareVersion)
Set hardware_version field
|
void |
setLocalDeviceType(java.lang.Short localDeviceType)
Set local_device_type field
|
void |
setManufacturer(java.lang.Integer manufacturer)
Set manufacturer field
|
void |
setProduct(java.lang.Integer product)
Set product field
|
void |
setProductName(java.lang.String productName)
Set product_name field
Comment: Optional free form string to indicate the devices name or model
|
void |
setSensorPosition(BodyLocation sensorPosition)
Set sensor_position field
Comment: Indicates the location of the sensor
|
void |
setSerialNumber(java.lang.Long serialNumber)
Set serial_number field
|
void |
setSoftwareVersion(java.lang.Float softwareVersion)
Set software_version field
|
void |
setSourceType(SourceType sourceType)
Set source_type field
|
void |
setTimestamp(DateTime timestamp)
Set timestamp field
Units: s
|
addDeveloperField, addField, getActiveSubFieldIndex, getActiveSubFieldName, getDecoderMesgIndex, getDeveloperFields, getField, getField, getField, getFieldBigIntegerValue, getFieldBigIntegerValue, getFieldBigIntegerValue, getFieldBigIntegerValue, getFieldBigIntegerValue, getFieldBigIntegerValue, getFieldBigIntegerValues, getFieldBigIntegerValues, getFieldBigIntegerValues, getFieldBitsValue, getFieldBitsValue, getFieldByteValue, getFieldByteValue, getFieldByteValue, getFieldByteValue, getFieldByteValue, getFieldByteValue, getFieldByteValues, getFieldByteValues, getFieldByteValues, getFieldDoubleValue, getFieldDoubleValue, getFieldDoubleValue, getFieldDoubleValue, getFieldDoubleValue, getFieldDoubleValue, getFieldDoubleValues, getFieldDoubleValues, getFieldDoubleValues, getFieldFloatValue, getFieldFloatValue, getFieldFloatValue, getFieldFloatValue, getFieldFloatValue, getFieldFloatValue, getFieldFloatValues, getFieldFloatValues, getFieldFloatValues, getFieldIntegerValue, getFieldIntegerValue, getFieldIntegerValue, getFieldIntegerValue, getFieldIntegerValue, getFieldIntegerValue, getFieldIntegerValues, getFieldIntegerValues, getFieldIntegerValues, getFieldLongValue, getFieldLongValue, getFieldLongValue, getFieldLongValue, getFieldLongValue, getFieldLongValue, getFieldLongValues, getFieldLongValues, getFieldLongValues, getFields, getFieldShortValue, getFieldShortValue, getFieldShortValue, getFieldShortValue, getFieldShortValue, getFieldShortValue, getFieldShortValues, getFieldShortValues, getFieldShortValues, getFieldStringValue, getFieldStringValue, getFieldStringValue, getFieldStringValue, getFieldStringValue, getFieldStringValue, getFieldStringValues, getFieldStringValues, getFieldStringValues, getFieldValue, getFieldValue, getFieldValue, getFieldValue, getFieldValue, getFieldValue, getIsFieldAccumulated, getLocalNum, getName, getNum, getNumFields, getNumFieldValues, getNumFieldValues, getNumFieldValues, getNumFieldValues, getOverrideField, hasField, removeExpandedFields, removeField, setDecoderMessageIndex, setField, setFields, setFieldValue, setFieldValue, setFieldValue, setFieldValue, setFieldValue, setFieldValue, setLocalNum, timestampToDateTime, write, write
public static final int TimestampFieldNum
public static final int DeviceIndexFieldNum
public static final int DeviceTypeFieldNum
public static final int ManufacturerFieldNum
public static final int SerialNumberFieldNum
public static final int ProductFieldNum
public static final int SoftwareVersionFieldNum
public static final int HardwareVersionFieldNum
public static final int CumOperatingTimeFieldNum
public static final int BatteryVoltageFieldNum
public static final int BatteryStatusFieldNum
public static final int SensorPositionFieldNum
public static final int DescriptorFieldNum
public static final int AntTransmissionTypeFieldNum
public static final int AntDeviceNumberFieldNum
public static final int AntNetworkFieldNum
public static final int SourceTypeFieldNum
public static final int ProductNameFieldNum
public static final int BatteryLevelFieldNum
protected static final Mesg deviceInfoMesg
public DeviceInfoMesg()
public DeviceInfoMesg(Mesg mesg)
public DateTime getTimestamp()
public void setTimestamp(DateTime timestamp)
timestamp
- The new timestamp value to be setpublic java.lang.Short getDeviceIndex()
public void setDeviceIndex(java.lang.Short deviceIndex)
deviceIndex
- The new deviceIndex value to be setpublic java.lang.Short getDeviceType()
public void setDeviceType(java.lang.Short deviceType)
deviceType
- The new deviceType value to be setpublic java.lang.Short getBleDeviceType()
public void setBleDeviceType(java.lang.Short bleDeviceType)
bleDeviceType
- The new bleDeviceType value to be setpublic java.lang.Short getAntplusDeviceType()
public void setAntplusDeviceType(java.lang.Short antplusDeviceType)
antplusDeviceType
- The new antplusDeviceType value to be setpublic java.lang.Short getAntDeviceType()
public void setAntDeviceType(java.lang.Short antDeviceType)
antDeviceType
- The new antDeviceType value to be setpublic java.lang.Short getLocalDeviceType()
public void setLocalDeviceType(java.lang.Short localDeviceType)
localDeviceType
- The new localDeviceType value to be setpublic java.lang.Integer getManufacturer()
public void setManufacturer(java.lang.Integer manufacturer)
manufacturer
- The new manufacturer value to be setpublic java.lang.Long getSerialNumber()
public void setSerialNumber(java.lang.Long serialNumber)
serialNumber
- The new serialNumber value to be setpublic java.lang.Integer getProduct()
public void setProduct(java.lang.Integer product)
product
- The new product value to be setpublic java.lang.Integer getFaveroProduct()
public void setFaveroProduct(java.lang.Integer faveroProduct)
faveroProduct
- The new faveroProduct value to be setpublic java.lang.Integer getGarminProduct()
public void setGarminProduct(java.lang.Integer garminProduct)
garminProduct
- The new garminProduct value to be setpublic java.lang.Float getSoftwareVersion()
public void setSoftwareVersion(java.lang.Float softwareVersion)
softwareVersion
- The new softwareVersion value to be setpublic java.lang.Short getHardwareVersion()
public void setHardwareVersion(java.lang.Short hardwareVersion)
hardwareVersion
- The new hardwareVersion value to be setpublic java.lang.Long getCumOperatingTime()
public void setCumOperatingTime(java.lang.Long cumOperatingTime)
cumOperatingTime
- The new cumOperatingTime value to be setpublic java.lang.Float getBatteryVoltage()
public void setBatteryVoltage(java.lang.Float batteryVoltage)
batteryVoltage
- The new batteryVoltage value to be setpublic java.lang.Short getBatteryStatus()
public void setBatteryStatus(java.lang.Short batteryStatus)
batteryStatus
- The new batteryStatus value to be setpublic BodyLocation getSensorPosition()
public void setSensorPosition(BodyLocation sensorPosition)
sensorPosition
- The new sensorPosition value to be setpublic java.lang.String getDescriptor()
public void setDescriptor(java.lang.String descriptor)
descriptor
- The new descriptor value to be setpublic java.lang.Short getAntTransmissionType()
public void setAntTransmissionType(java.lang.Short antTransmissionType)
antTransmissionType
- The new antTransmissionType value to be setpublic java.lang.Integer getAntDeviceNumber()
public void setAntDeviceNumber(java.lang.Integer antDeviceNumber)
antDeviceNumber
- The new antDeviceNumber value to be setpublic AntNetwork getAntNetwork()
public void setAntNetwork(AntNetwork antNetwork)
antNetwork
- The new antNetwork value to be setpublic SourceType getSourceType()
public void setSourceType(SourceType sourceType)
sourceType
- The new sourceType value to be setpublic java.lang.String getProductName()
public void setProductName(java.lang.String productName)
productName
- The new productName value to be setpublic java.lang.Short getBatteryLevel()
public void setBatteryLevel(java.lang.Short batteryLevel)
batteryLevel
- The new batteryLevel value to be set