public abstract class ARHAFrame extends Object implements IRHAFrame
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
Modifier and Type | Field and Description |
---|---|
protected byte[] |
_payload |
protected Byte |
frameSequence |
protected byte |
primaryHeader |
protected byte |
secondaryHeader |
START_OF_FRAME
Modifier | Constructor and Description |
---|---|
protected |
ARHAFrame() |
protected |
ARHAFrame(byte primaryHeader,
byte secondaryHeader) |
Modifier and Type | Method and Description |
---|---|
protected void |
build(String[] fields) |
protected void |
buildPayload() |
protected byte[] |
calculateCS(byte[] message,
int start,
int end) |
void |
clearFrameSequence() |
byte[] |
getBytes() |
Byte |
getFrameSequence() |
Date |
getMessageTime() |
List<ASerialType> |
getPayloadObjects() |
protected void |
parse() |
void |
setFrameSequence(byte seq) |
protected void |
setPayloadObjects(List<ASerialType> v) |
protected abstract void |
updatePayloadObjects() |
protected byte primaryHeader
protected byte secondaryHeader
protected Byte frameSequence
protected byte[] _payload
protected ARHAFrame()
protected ARHAFrame(byte primaryHeader, byte secondaryHeader)
protected void buildPayload()
protected void parse()
protected void build(String[] fields)
public Date getMessageTime()
getMessageTime
in interface IFrame
protected abstract void updatePayloadObjects()
protected void setPayloadObjects(List<ASerialType> v)
public List<ASerialType> getPayloadObjects()
public Byte getFrameSequence()
public void setFrameSequence(byte seq)
public void clearFrameSequence()
protected byte[] calculateCS(byte[] message, int start, int end)
Copyright © 2015. All rights reserved.