Relay calls between Z2M and EZSP-layer and handle any error that might occur via queue & waitress.

Anything post start that requests anything from the EZSP layer must run through the request queue for proper execution flow.

Hierarchy (view full)

Constructors

Properties

hasZdoMessageOverhead: boolean
manufacturerID: ManufacturerCode
stackConfig: StackConfig

Methods

  • Routine to update the network key and broadcast the update to the network after a set time. NOTE: This should run at a large interval, but before the uint32_t of the frame counter is able to reach all Fs (can't wrap to 0). This may disrupt sleepy end devices that miss the update, but they should be able to TC rejoin (in most cases...). On the other hand, the more often this runs, the more secure the network is...

    Returns Promise<void>

  • Return the EUI 64 of the local node This call caches the results on the host to prevent frequent EZSP transactions. Check against BLANK_EUI64 for validity.

    Returns Promise<`0x${string}`>

  • Return the PAN ID of the local node. This call caches the results on the host to prevent frequent EZSP transactions. Check against INVALID_PAN_ID for validity.

    Returns Promise<number>

  • Return the radio channel (uint8_t) of the current network. This call caches the results on the host to prevent frequent EZSP transactions. Check against INVALID_RADIO_CHANNEL for validity.

    Returns Promise<number>

  • WARNING: Adapter impl. Starts timer immediately upon returning

    Parameters

    • networkAddress: undefined | number
    • endpoint: number
    • frameType: FrameType
    • direction: Direction
    • transactionSequenceNumber: undefined | number
    • clusterID: number
    • commandIdentifier: number
    • timeout: number

    Returns {
        cancel: (() => void);
        promise: Promise<ZclPayload>;
    }

    • cancel: (() => void)
        • (): void
        • Returns void

    • promise: Promise<ZclPayload>