Class ConfigCompositionDataStatus
java.lang.Object
org.openremote.agent.protocol.bluetooth.mesh.transport.MeshMessage
org.openremote.agent.protocol.bluetooth.mesh.transport.ConfigStatusMessage
org.openremote.agent.protocol.bluetooth.mesh.transport.ConfigCompositionDataStatus
To be used as a wrapper class for when creating the ConfigCompositionDataStatus Message.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.openremote.agent.protocol.bluetooth.mesh.transport.ConfigStatusMessage
ConfigStatusMessage.StatusCodeNames
-
Field Summary
FieldsFields inherited from class org.openremote.agent.protocol.bluetooth.mesh.transport.ConfigStatusMessage
mStatusCode, mStatusCodeName
Fields inherited from class org.openremote.agent.protocol.bluetooth.mesh.transport.MeshMessage
messageTtl, mMessage
-
Constructor Summary
ConstructorsConstructorDescriptionConfigCompositionDataStatus
(AccessMessage message) Constructs the ConfigCompositionDataStatus mMessage. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns the 16-bit company identifier assigned by Bluetooth SIG.int
getCrpl()
Returns a 16-bit value representing the minimum number of replay protection list entries in a device.Returns the number of elements existing in this node.int
Returns a 16-bit features field indicating the device features.int
Returns the opCode of this messageint
Returns the 16-bit vendor assigned assigned product identifier.int
Returns the 16-bit vendor assigned product version identifier.boolean
Returns if the friend feature is supported.boolean
Returns if the low power feature is supported.boolean
Returns if the proxy feature is supported.boolean
Returns if the relay feature is supported.Methods inherited from class org.openremote.agent.protocol.bluetooth.mesh.transport.ConfigStatusMessage
decode, getAid, getAkf, getParameters, getStatusCode, getStatusCodeName
Methods inherited from class org.openremote.agent.protocol.bluetooth.mesh.transport.MeshMessage
getAszmic, getDst, getMessage, getMessageTtl, getSrc, setMessageTtl
-
Field Details
-
LOG
-
-
Constructor Details
-
ConfigCompositionDataStatus
Constructs the ConfigCompositionDataStatus mMessage.- Parameters:
message
- Access Message
-
-
Method Details
-
getCompanyIdentifier
public int getCompanyIdentifier()Returns the 16-bit company identifier assigned by Bluetooth SIG.- Returns:
- company identifier
-
getProductIdentifier
public int getProductIdentifier()Returns the 16-bit vendor assigned assigned product identifier.- Returns:
- product identifier
-
getVersionIdentifier
public int getVersionIdentifier()Returns the 16-bit vendor assigned product version identifier.- Returns:
- version identifier
-
getCrpl
public int getCrpl()Returns a 16-bit value representing the minimum number of replay protection list entries in a device.- Returns:
- crpl
-
getFeatures
public int getFeatures()Returns a 16-bit features field indicating the device features.- Returns:
- features field
-
isRelayFeatureSupported
public boolean isRelayFeatureSupported()Returns if the relay feature is supported.- Returns:
- true if relay features is supported or false otherwise
-
isProxyFeatureSupported
public boolean isProxyFeatureSupported()Returns if the proxy feature is supported.- Returns:
- true if proxy feature is supported or false otherwise
-
isFriendFeatureSupported
public boolean isFriendFeatureSupported()Returns if the friend feature is supported.- Returns:
- true if friend feature is supported or false otherwise
-
isLowPowerFeatureSupported
public boolean isLowPowerFeatureSupported()Returns if the low power feature is supported.- Returns:
- true if low power feature is supported or false otherwise
-
getElements
Returns the number of elements existing in this node.- Returns:
- number of elements
-
getOpCode
public int getOpCode()Description copied from class:MeshMessage
Returns the opCode of this message- Specified by:
getOpCode
in classMeshMessage
- Returns:
- opcode
-