public class RHAAddAttributesToCluster extends ARHAFrame
The Host may send the command Add Attributes To Cluster to add attribute definitions to a cluster. The command allows definitions of as many attributes as the maximum payload size of a serial frame allows. For a cluster with large number of attributes, the Host may send this command as many times as it needs to add all the attributes.
Keep in mind that Module may have automatically added the mandatory attributes (See 8.3.1.1), so a simple Host implementation may not need to send this command, or only send it to add optional attributes.
IRHAFrame.Bootload, IRHAFrame.Debug, IRHAFrame.Diagnostics, IRHAFrame.GeneralClusters, IRHAFrame.HAClusters, IRHAFrame.NetworkComissioning, IRHAFrame.OTABootload, IRHAFrame.PrimaryHeader, IRHAFrame.SecurityConfig, IRHAFrame.Utility, IRHAFrame.ZCLMessages, IRHAFrame.ZDOMessages, IRHAFrame.ZigBeeSupportConfig
_payload, frameSequence, primaryHeader, secondaryHeader
START_OF_FRAME
Constructor and Description |
---|
RHAAddAttributesToCluster() |
RHAAddAttributesToCluster(byte frameSequence,
byte[] payload) |
RHAAddAttributesToCluster(byte frameSequence,
String[] fields) |
RHAAddAttributesToCluster(String[] fields) |
Modifier and Type | Method and Description |
---|---|
SerialList<AttributeDefinition> |
getAttributeDefinitionList() |
ClusterID |
getClusterID() |
UInt8 |
getClusterServerClient() |
UInt8 |
getEndpointID() |
void |
setAttributeDefinitionList(SerialList<AttributeDefinition> val) |
void |
setClusterID(ClusterID val) |
void |
setClusterServerClient(UInt8 val) |
void |
setEndpointID(UInt8 val) |
protected void |
updatePayloadObjects() |
build, buildPayload, calculateCS, clearFrameSequence, getBytes, getFrameSequence, getMessageTime, getPayloadObjects, parse, setFrameSequence, setPayloadObjects
public RHAAddAttributesToCluster()
public RHAAddAttributesToCluster(byte frameSequence, byte[] payload)
public RHAAddAttributesToCluster(byte frameSequence, String[] fields)
public RHAAddAttributesToCluster(String[] fields)
protected void updatePayloadObjects()
updatePayloadObjects
in class ARHAFrame
public UInt8 getEndpointID()
public void setEndpointID(UInt8 val)
getEndpointID
public ClusterID getClusterID()
public void setClusterID(ClusterID val)
getClusterID
public UInt8 getClusterServerClient()
public void setClusterServerClient(UInt8 val)
getClusterServerClient
public SerialList<AttributeDefinition> getAttributeDefinitionList()
public void setAttributeDefinitionList(SerialList<AttributeDefinition> val)
getAttributeDefinitionList
Copyright © 2015. All rights reserved.