mysa-js-sdk
    Preparing search index...

    Base interface for all MQTT message payloads.

    This interface defines the common structure that all MQTT messages must contain, providing essential metadata for message handling.

    interface MsgBasePayload {
        id: number;
        msg: number;
        time: number;
        ver: string;
    }

    Hierarchy (View Summary)

    Index

    Properties

    Properties

    id: number

    Unique identifier for the device or message source

    msg: number

    The message type identifier

    time: number

    Unix timestamp when the message was created

    ver: string

    Version string of the message format