zigbee-herdsman
    Preparing search index...
    Index

    Properties

    cluster: Cluster
    command: Command
    header: ZclHeader
    payload: any

    Methods

    • Parameters

      • commandName:
            | "add"
            | "remove"
            | "getAlarm"
            | "queryNextImageRequest"
            | "checkin"
            | "enrollReq"
            | "arm"
            | FoundationCommandName

      Returns boolean

    • Utils

      Parameters

      • parameter: Parameter
      • entry: any
      • remainingBufferBytes: number | undefined

      Returns boolean

    • Creating

      Parameters

      • frameType: FrameType
      • direction: Direction
      • disableDefaultResponse: boolean
      • manufacturerCode: number | undefined
      • transactionSequenceNumber: number
      • commandKey:
            | string
            | number
            | Readonly<
                {
                    ID: number;
                    name: string;
                    parameters: readonly Parameter[];
                    required?: true;
                    response?: number;
                },
            >
      • clusterKey:
            | string
            | number
            | Readonly<
                {
                    attributes: Readonly<Record<string, Attribute>>;
                    commands: Readonly<Record<string, Command>>;
                    commandsResponse: Readonly<Record<string, Command>>;
                    ID: number;
                    manufacturerCode?: number;
                    name: string;
                },
            >
      • payload: any
      • customClusters: CustomClusters
      • reservedBits: number = 0

      Returns ZclFrame