MqttProxyMessage

data class MqttProxyMessage(val message: MqttClientProxyMessage) : MeshEvent(source)

The device asked the host to relay an MQTT message on its behalf (MQTT client proxy).

When ModuleConfig.mqtt.proxy_to_client_enabled is set, the firmware tunnels its MQTT traffic through the connected phone/host instead of its own network stack. Inbound frames surface here; hosts publish them to the broker and feed broker traffic back with RadioClient.sendRaw(ToRadio(mqttClientProxyMessage = …)).

Since

0.2.0

Constructors

Link copied to clipboard
constructor(message: MqttClientProxyMessage)

Properties

Link copied to clipboard
val message: MqttClientProxyMessage

the wire MqttClientProxyMessage