Class VendorModelMessageStatus
java.lang.Object
org.openremote.agent.protocol.bluetooth.mesh.transport.MeshMessage
org.openremote.agent.protocol.bluetooth.mesh.transport.GenericStatusMessage
org.openremote.agent.protocol.bluetooth.mesh.transport.VendorModelMessageStatus
To be used as a wrapper class for when creating the VendorModelMessageStatus Message.
-
Field Summary
FieldsFields inherited from class org.openremote.agent.protocol.bluetooth.mesh.transport.MeshMessage
messageTtl, mMessage -
Constructor Summary
ConstructorsConstructorDescriptionVendorModelMessageStatus(AccessMessage message, int modelIdentifier) Constructs the VendorModelMessageStatus mMessage. -
Method Summary
Modifier and TypeMethodDescriptionfinal byte[]intReturns the model identifier of model the for this messageintReturns the opCode of this messageMethods inherited from class org.openremote.agent.protocol.bluetooth.mesh.transport.GenericStatusMessage
getAid, getAkf, getParameters, getSrcAddressMethods inherited from class org.openremote.agent.protocol.bluetooth.mesh.transport.MeshMessage
getAszmic, getDst, getMessage, getMessageTtl, getSrc, setMessageTtl
-
Field Details
-
LOG
-
-
Constructor Details
-
VendorModelMessageStatus
Constructs the VendorModelMessageStatus mMessage.- Parameters:
message- Access MessagemodelIdentifier- model identifier
-
-
Method Details
-
getOpCode
public int getOpCode()Description copied from class:MeshMessageReturns the opCode of this message- Specified by:
getOpCodein classMeshMessage- Returns:
- opcode
-
getAccessPayload
public final byte[] getAccessPayload() -
getModelIdentifier
public int getModelIdentifier()Returns the model identifier of model the for this message
-