interface EmberEzspEventMap {
    greenpowerMessage: [
        sequenceNumber: number,
        commandIdentifier: number,
        sourceId: number,
        frameCounter: number,
        gpdCommandId: number,
        gpdCommandPayload: Buffer<ArrayBufferLike>,
        gpdLink: number,
    ];
    incomingMessage: [
        type: EmberIncomingMessageType,
        apsFrame: EmberApsFrame,
        lastHopLqi: number,
        sender: number,
        messageContents: Buffer<ArrayBufferLike>,
    ];
    messageSent: [
        status: SLStatus,
        type: EmberOutgoingMessageType,
        indexOrDestination: number,
        apsFrame: EmberApsFrame,
        messageTag: number,
    ];
    ncpNeedsResetAndInit: [status: EzspStatus];
    stackStatus: [status: SLStatus];
    touchlinkMessage: [
        sourcePanId: number,
        sourceAddress: `0x${string}`,
        groupId: number,
        lastHopLqi: number,
        messageContents: Buffer<ArrayBufferLike>,
    ];
    trustCenterJoin: [
        newNodeId: number,
        newNodeEui64: `0x${string}`,
        status: EmberDeviceUpdate,
        policyDecision: EmberJoinDecision,
        parentOfNewNodeId: number,
    ];
    zdoResponse: [
        apsFrame: EmberApsFrame,
        sender: number,
        messageContents: Buffer<ArrayBufferLike>,
    ];
}

Properties

greenpowerMessage: [
    sequenceNumber: number,
    commandIdentifier: number,
    sourceId: number,
    frameCounter: number,
    gpdCommandId: number,
    gpdCommandPayload: Buffer<ArrayBufferLike>,
    gpdLink: number,
]

Ezsp.ezspGpepIncomingMessageHandler

incomingMessage: [
    type: EmberIncomingMessageType,
    apsFrame: EmberApsFrame,
    lastHopLqi: number,
    sender: number,
    messageContents: Buffer<ArrayBufferLike>,
]

ezspIncomingMessageHandler

messageSent: [
    status: SLStatus,
    type: EmberOutgoingMessageType,
    indexOrDestination: number,
    apsFrame: EmberApsFrame,
    messageTag: number,
]

Ezsp.ezspMessageSentHandler

ncpNeedsResetAndInit: [status: EzspStatus]

An error was detected that requires resetting the NCP.

stackStatus: [status: SLStatus]

Ezsp.ezspStackStatusHandler

touchlinkMessage: [
    sourcePanId: number,
    sourceAddress: `0x${string}`,
    groupId: number,
    lastHopLqi: number,
    messageContents: Buffer<ArrayBufferLike>,
]

Ezsp.ezspMacFilterMatchMessageHandler

trustCenterJoin: [
    newNodeId: number,
    newNodeEui64: `0x${string}`,
    status: EmberDeviceUpdate,
    policyDecision: EmberJoinDecision,
    parentOfNewNodeId: number,
]

Ezsp.ezspTrustCenterJoinHandler

zdoResponse: [
    apsFrame: EmberApsFrame,
    sender: number,
    messageContents: Buffer<ArrayBufferLike>,
]

Ezsp.ezspIncomingMessageHandler