• Wait for one asynchronous DAQ, EVENT (0xFD), or SERV (0xFC) packet from the slave.

    Parameters

    • handle: string

      Connection handle returned by XcpCreateConnection.

    • timeout: number = 1000

      Maximum time to wait in milliseconds. Defaults to 1000.

    Returns Promise<null | number[]>

    Raw packet bytes, or null if timeout elapses with no packet received.

    If the handle is unknown or the transport does not support asynchronous indications.