Class ConfigAppKeyAdd
java.lang.Object
org.openremote.agent.protocol.bluetooth.mesh.transport.MeshMessage
org.openremote.agent.protocol.bluetooth.mesh.transport.ConfigAppKeyAdd
To be used as a wrapper class to create the ConfigAppKeyAdd message.
-
Field Summary
FieldsFields inherited from class org.openremote.agent.protocol.bluetooth.mesh.transport.MeshMessage
messageTtl, mMessage
-
Constructor Summary
ConstructorsConstructorDescriptionConfigAppKeyAdd
(NetworkKey networkKey, ApplicationKey appKey) Constructs ConfigAppKeyAdd message. -
Method Summary
Methods inherited from class org.openremote.agent.protocol.bluetooth.mesh.transport.MeshMessage
getAszmic, getDst, getMessage, getMessageTtl, getSrc, setMessageTtl
-
Field Details
-
LOG
-
-
Constructor Details
-
ConfigAppKeyAdd
public ConfigAppKeyAdd(NetworkKey networkKey, ApplicationKey appKey) throws IllegalArgumentException Constructs ConfigAppKeyAdd message.- Parameters:
appKey
- application key for this message- Throws:
IllegalArgumentException
- if any illegal arguments are passed
-
-
Method Details
-
getNetKey
Returns the Network key that is needs to be sent to the node- Returns:
- app key
-
getAppKey
Returns the application key that is needs to be sent to the node- Returns:
- app key
-
getOpCode
public int getOpCode()Description copied from class:MeshMessage
Returns the opCode of this message- Specified by:
getOpCode
in classMeshMessage
- Returns:
- opcode
-
getAkf
public final int getAkf() -
getAid
public final int getAid() -
getParameters
public final byte[] getParameters()
-