Type Alias MqttClientProxyMessage
MqttClientProxyMessage: Message<"meshtastic.MqttClientProxyMessage"> & {
payloadVariant: {
case: "data";
value: Uint8Array;
} | {
case: "text";
value: string;
} | {
case: undefined;
value?: undefined;
};
retained: boolean;
topic: string;
}
Type declaration
payloadVariant: {
case: "data";
value: Uint8Array;
} | {
case: "text";
value: string;
} | {
case: undefined;
value?: undefined;
}
retained: boolean
topic: string
This message will be proxied over the PhoneAPI for the client to deliver to the MQTT server