Hierarchy

  • EventEmitter
    • Znp

Constructors

  • Parameters

    • path: string
    • baudRate: number
    • rtscts: boolean

    Returns Znp

Methods

  • Parameters

    • clusterId: ClusterId
    • payload: Buffer<ArrayBufferLike>
    • OptionalwaiterID: number

    Returns Promise<void>

  • Parameters

    • type: Type
    • subsystem: Subsystem
    • command: string
    • target: undefined | string | number
    • transid: undefined | number
    • state: undefined | number
    • timeout: number = timeouts.default

    Returns {
        ID: number;
        start: () => { ID: number; promise: Promise<ZpiObject<"Response">> };
    }