Methods
isCluster
- isCluster(clusterName): boolean
Returns boolean
isCommand
- isCommand(commandName): boolean
Returns boolean
toBuffer
- toBuffer(): Buffer
Returns Buffer
toString
- toString(): string
Returns string
Static
conditionsValid
- conditionsValid(parameter, entry, remainingBufferBytes): boolean
Parameters
entry: any
remainingBufferBytes: number
Returns boolean
Static
create
- create(frameType, direction, disableDefaultResponse, manufacturerCode, transactionSequenceNumber, commandKey, clusterKey, payload, customClusters, reservedBits?): Frame
Parameters
disableDefaultResponse: boolean
manufacturerCode: number
transactionSequenceNumber: number
commandKey: string | number
clusterKey: string | number
payload: any
Optional
reservedBits: number
Static
fromBuffer
- fromBuffer(clusterID, header, buffer, customClusters): Frame
Parameters
clusterID: number
buffer: Buffer
Properties
Readonly
payload
payload: any
Private
writePayloadCluster
writePayloadCluster: any
Private
writePayloadGlobal
writePayloadGlobal: any
Static
Private
parsePayload
parsePayload: any
Static
Private
parsePayloadCluster
parsePayloadCluster: any
Static
Private
parsePayloadGlobal
parsePayloadGlobal: any
Utils