diff --git a/MQTT_IMPLEMENTATION.md b/MQTT_IMPLEMENTATION.md index faf29c3c3..3b5bdbba4 100644 --- a/MQTT_IMPLEMENTATION.md +++ b/MQTT_IMPLEMENTATION.md @@ -82,6 +82,7 @@ The MQTT bridge uses a slot-based architecture with up to 3 concurrent connectio | `analyzer-us` | mqtt-us-v1.letsmesh.net:443 | JWT (Ed25519) | WSS | | `analyzer-eu` | mqtt-eu-v1.letsmesh.net:443 | JWT (Ed25519) | WSS | | `meshmapper` | mqtt.meshmapper.cc:443 | JWT (Ed25519) | WSS | +| `meshrank` | meshrank.net:8883 | None (token in topic) | MQTT over TLS | | `custom` | User-configured | Username/Password | MQTT or WSS | | `none` | (disabled) | — | — | @@ -166,20 +167,33 @@ Each slot (1-3) supports the following commands: - `get mqttN.port` - Get custom server port for slot N - `get mqttN.username` - Get custom username for slot N - `get mqttN.password` - Get custom password for slot N +- `get mqttN.token` - Get per-slot token (e.g., MeshRank account token) +- `get mqttN.topic` - Get custom topic template for slot N #### Set Commands - `set mqtt1.preset analyzer-us` - Set slot 1 to LetsMesh Analyzer US - `set mqtt1.preset analyzer-eu` - Set slot 1 to LetsMesh Analyzer EU - `set mqtt1.preset meshmapper` - Set slot 1 to MeshMapper +- `set mqtt1.preset meshrank` - Set slot 1 to MeshRank (requires token) - `set mqtt1.preset custom` - Set slot 1 to custom broker (configure server/port/username/password) - `set mqtt1.preset none` - Disable slot 1 - `set mqttN.server ` - Set custom server hostname for slot N - `set mqttN.port ` - Set custom server port for slot N (1-65535) - `set mqttN.username ` - Set custom username for slot N - `set mqttN.password ` - Set custom password for slot N +- `set mqttN.token ` - Set per-slot token (required for MeshRank preset) +- `set mqttN.topic