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 StringmTypepublic StringmBrandpublic StringmModelpublic StringmSerialNumberHexpublic StringmSynchropublic StringmPreamblepublic StringmFlagspublic IntegermPressurepublic IntegermTemperaturepublic IntegermCrcpublic StringmdataBinpublic StringmDataHexpublic StringmFullMsgHexpublic StringmCreatedAtpublic StringmModifiedAtpublic StringmCommentpublic booleanmLocked
-
Constructor Summary
Constructors Constructor Description TpmsInfo(DeviceInfo deviceInfo)TpmsInfo(TpmsInfo tpmsInfo)
-
Method Summary
Modifier and Type Method Description StringgetType()StringgetBrand()StringgetModel()StringgetSerialNumberHex()StringgetSynchro()StringgetPreamble()StringgetFlags()IntegergetPressure()IntegergetTemperature()IntegergetCrc()StringgetBinData()StringgetHexData()Return hex payload, according to fullMsgHex and dataHex content StringgetCreatedAt()StringgetComment()StringgetCustomName()voidsetModifiedAt(String modifiedAt)voidsetComment(@NonNull() String comment)StringgetModifiedAt()If modified at value isn't provided by kaiju, an empty string is returned. booleanisLocked()intgetCostUnlock()Indicate the token cost to unlock the TPMS. static TpmsInfovalueOf(DeviceInfo deviceInfo)StringtoString()-
-
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)
-
-
-
-