Libertas OS API Documentation
    Preparing search index...

    Type Alias LibertasDeviceCallback

    LibertasDeviceCallback: (
        device: LibertasDevice,
        action: LibertasDeviceAction,
        data: LibertasDeviceRsp,
        tag?: any,
        ref?: number,
    ) => void

    The signature of a device callback function.

    Type declaration

    For a "status response," if the ref is defined, the status refers to a status against a request; otherwise, it represents the device status (Timeout). Subscription reports have no ref number associated.