Package org.osgi.service.zigbee
Interface ZCLHeader
public interface ZCLHeader
This interface represents the ZCL Frame Header.
- 
Method SummaryModifier and TypeMethodDescriptionshortReturns the command identifier of this frame.shortReturns the Frame Control field of this frame.intReturns the manufacturer code of this frame.byteReturns the transaction Sequence Number of this frame.booleanChecks the client server direction of the frame.booleanChecks the frame Type Sub-field of the frame control field.booleanChecks if the default response is disabled.booleanChecks if the frame is manufacturer specific.
- 
Method Details- 
getCommandIdshort getCommandId()Returns the command identifier of this frame.- Returns:
- the command identifier of this frame.
 
- 
getManufacturerCodeint getManufacturerCode()Returns the manufacturer code of this frame.- Returns:
- the manufacturer code if the ZCL Frame is manufacturer specific, otherwise returns -1.
 
- 
isClusterSpecificCommandboolean isClusterSpecificCommand()Checks the frame Type Sub-field of the frame control field.- Returns:
- true if the frame control field states that the command is cluster specific. Returns false otherwise.
 
- 
isManufacturerSpecificboolean isManufacturerSpecific()Checks if the frame is manufacturer specific.- Returns:
- true if the ZCL frame is manufacturer specific (that is, the Manufacturer Specific Sub-field of the ZCL Frame Control Field is 1.
 
- 
isClientServerDirectionboolean isClientServerDirection()Checks the client server direction of the frame.- Returns:
- the isClientServerDirection value.
 
- 
isDefaultResponseDisabledboolean isDefaultResponseDisabled()Checks if the default response is disabled.- Returns:
- trueif the ZCL Header Frame Control Field "Disable Default Response Sub-field" is 1. Returns- falseotherwise.
 
- 
getSequenceNumberbyte getSequenceNumber()Returns the transaction Sequence Number of this frame.- Returns:
- the transaction sequence number of this frame.
 
- 
getFrameControlFieldshort getFrameControlField()Returns the Frame Control field of this frame.- Returns:
- the frame control field of this frame.
 
 
-