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 device callback function.

    Type declaration

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