Class TpmsInfo
-
- All Implemented Interfaces:
-
java.io.Serializable
public class TpmsInfo implements Serializable
Used to represents a Remote TpmsInfo, this class contains all informations about the used parameters to generate this Remote. - Temperature - Pressure - Brand - Model - Identifier Contains information about the task in @Task Contains recommanded parameters to perform a Tx GeneratedTxConfig Warning about specific Logic: To perform a Tx we need to get a frequency, dataRate, modulation... These information is provided by @GeneratedTxConfig If @GeneratedTxConfig is missing, config of @RxTxConfig must be used. If @GeneratedTxConfig and @RxTxConfig are missing -> return 0.
-
-
Field Summary
Fields Modifier and Type Field Description public String
mType
public String
mBrand
public String
mModel
public String
mSerialNumberHex
public String
mSynchro
public String
mPreamble
public String
mFlags
public Integer
mPressure
public Integer
mTemperature
public Integer
mCrc
public String
mdataBin
public String
mDataHex
public String
mFullMsgHex
public String
mCreatedAt
public String
mModifiedAt
public String
mComment
public boolean
mLocked
-
Constructor Summary
Constructors Constructor Description TpmsInfo(DeviceInfo deviceInfo)
TpmsInfo(TpmsInfo tpmsInfo)
-
Method Summary
Modifier and Type Method Description String
getType()
String
getBrand()
String
getModel()
String
getSerialNumberHex()
String
getSynchro()
String
getPreamble()
String
getFlags()
Integer
getPressure()
Integer
getTemperature()
Integer
getCrc()
String
getBinData()
String
getHexData()
Return hex payload, according to fullMsgHex and dataHex content String
getCreatedAt()
String
getComment()
String
getCustomName()
void
setModifiedAt(String modifiedAt)
void
setComment(@NonNull() String comment)
String
getModifiedAt()
If modified at value isn't provided by kaiju, an empty string is returned. boolean
isLocked()
int
getCostUnlock()
Indicate the token cost to unlock the TPMS. static TpmsInfo
valueOf(DeviceInfo deviceInfo)
String
toString()
-
-
Constructor Detail
-
TpmsInfo
TpmsInfo(DeviceInfo deviceInfo)
-
TpmsInfo
TpmsInfo(TpmsInfo tpmsInfo)
-
-
Method Detail
-
getSerialNumberHex
String getSerialNumberHex()
-
getSynchro
String getSynchro()
-
getPreamble
String getPreamble()
-
getPressure
Integer getPressure()
-
getTemperature
Integer getTemperature()
-
getBinData
@NonNull() String getBinData()
-
getHexData
@NonNull() String getHexData()
Return hex payload, according to fullMsgHex and dataHex content
-
getCreatedAt
String getCreatedAt()
-
getComment
@NonNull() String getComment()
-
getCustomName
String getCustomName()
-
setModifiedAt
void setModifiedAt(String modifiedAt)
-
setComment
void setComment(@NonNull() String comment)
-
getModifiedAt
@NonNull() String getModifiedAt()
If modified at value isn't provided by kaiju, an empty string is returned.
-
getCostUnlock
int getCostUnlock()
Indicate the token cost to unlock the TPMS.
-
valueOf
static TpmsInfo valueOf(DeviceInfo deviceInfo)
-
-
-
-