zigbee-herdsman
Preparing search index...
zspec/zcl/zclFrame
ZclFrame
Class ZclFrame
Index
Properties
cluster
command
header
payload
Methods
is
Cluster
is
Command
to
Buffer
to
String
conditions
Valid
create
from
Buffer
Properties
Readonly
cluster
cluster
:
Cluster
Readonly
command
command
:
Command
Readonly
header
header
:
ZclHeader
Readonly
payload
payload
:
any
Methods
is
Cluster
isCluster
(
clusterName
:
ClusterName
|
FoundationCommandName
)
:
boolean
Parameters
clusterName
:
ClusterName
|
FoundationCommandName
Returns
boolean
is
Command
isCommand
(
commandName
:
|
"add"
|
"remove"
|
"getAlarm"
|
"checkin"
|
"enrollReq"
|
"arm"
|
FoundationCommandName
,
)
:
boolean
Parameters
commandName
:
|
"add"
|
"remove"
|
"getAlarm"
|
"checkin"
|
"enrollReq"
|
"arm"
|
FoundationCommandName
Returns
boolean
to
Buffer
toBuffer
()
:
Buffer
Returns
Buffer
to
String
toString
()
:
string
Returns
string
Static
conditions
Valid
conditionsValid
(
parameter
:
ParameterDefinition
,
entry
:
any
,
remainingBufferBytes
:
null
|
number
,
)
:
boolean
Utils
Parameters
parameter
:
ParameterDefinition
entry
:
any
remainingBufferBytes
:
null
|
number
Returns
boolean
Static
create
create
(
frameType
:
FrameType
,
direction
:
Direction
,
disableDefaultResponse
:
boolean
,
manufacturerCode
:
undefined
|
number
,
transactionSequenceNumber
:
number
,
commandKey
:
string
|
number
,
clusterKey
:
string
|
number
,
payload
:
any
,
customClusters
:
CustomClusters
,
reservedBits
?:
number
,
)
:
ZclFrame
Creating
Parameters
frameType
:
FrameType
direction
:
Direction
disableDefaultResponse
:
boolean
manufacturerCode
:
undefined
|
number
transactionSequenceNumber
:
number
commandKey
:
string
|
number
clusterKey
:
string
|
number
payload
:
any
customClusters
:
CustomClusters
reservedBits
:
number
= 0
Returns
ZclFrame
Static
from
Buffer
fromBuffer
(
clusterID
:
number
,
header
:
undefined
|
ZclHeader
,
buffer
:
Buffer
,
customClusters
:
CustomClusters
,
)
:
ZclFrame
Parsing
Parameters
clusterID
:
number
header
:
undefined
|
ZclHeader
buffer
:
Buffer
customClusters
:
CustomClusters
Returns
ZclFrame
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
On This Page
Properties
cluster
command
header
payload
Methods
is
Cluster
is
Command
to
Buffer
to
String
conditions
Valid
create
from
Buffer
zigbee-herdsman
Loading...
Utils