Libertas OS API Documentation
    Preparing search index...

    Type Alias LibertasVirtualDeviceCallback

    LibertasVirtualDeviceCallback: (
        device: LibertasVirtualDevice,
        ref: number,
        action: LibertasDeviceAction,
        data: LibertasVirtualDeviceReq,
        tag?: any,
    ) => void

    The signature of virtual device I/O callback function.

    Type declaration

    The callback is used to notify a request to the virtual device. Each request has an internal assigned ref number by the engine. The ref number must be passed back in the corresponding response.