Properties
Readonly
payload
payload: any
Methods
isCommand
- isCommand(
commandName:
| "add"
| "remove"
| "getAlarm"
| "checkin"
| "enrollReq"
| "arm"
| FoundationCommandName,
): boolean Returns boolean
toBuffer
- toBuffer(): Buffer<ArrayBufferLike>
Returns Buffer<ArrayBufferLike>
toString
- toString(): string
Returns string
Static
conditionsValid
- conditionsValid(
parameter: ParameterDefinition,
entry: any,
remainingBufferBytes: null | number,
): boolean 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 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
Utils