interface MQTTData {
    device: string;
    message: string;
    options?: {
        qos?: number;
    };
    topic: string;
}

Properties

device: string

Device to receive message

message: string

Message scope

options?: {
    qos?: number;
}

Options of the publishing message

Type declaration

  • Optional qos?: number

    Default 0

topic: string

Topic of the message