From 90467ddd13941a41cbd26935d60f8d9d896539a9 Mon Sep 17 00:00:00 2001 From: agessaman Date: Sat, 18 Jul 2026 18:57:01 -0700 Subject: [PATCH] feat(mqtt): add meshtexas preset for MQTT connections Introduced a new MQTT preset for the meshtexas connection, allowing users to connect to mqtt.meshtexas.org with JWT authentication over WSS. This addition increases the number of built-in presets to 27, enhancing the flexibility of the MQTT implementation. --- .build-wt-028a5dca | 1 + MQTT_IMPLEMENTATION.md | 1 + src/helpers/MQTTPresets.h | 3 ++- 3 files changed, 4 insertions(+), 1 deletion(-) create mode 160000 .build-wt-028a5dca diff --git a/.build-wt-028a5dca b/.build-wt-028a5dca new file mode 160000 index 000000000..028a5dcad --- /dev/null +++ b/.build-wt-028a5dca @@ -0,0 +1 @@ +Subproject commit 028a5dcaddd69b4be80cc595d33d450be1c46e8b diff --git a/MQTT_IMPLEMENTATION.md b/MQTT_IMPLEMENTATION.md index f6f2a6b04..40e56fd3c 100644 --- a/MQTT_IMPLEMENTATION.md +++ b/MQTT_IMPLEMENTATION.md @@ -120,6 +120,7 @@ The MQTT bridge uses a slot-based architecture with up to 6 concurrent connectio | `flmesh` | mcmqtt.jntconnections.com:443 | JWT (Ed25519) | WSS | | `inwmesh` | scope.inwmesh.org:8883 | Username/password (per slot via `mqttN.username` / `mqttN.password`) | MQTT over TLS | | `rflab` | mqtt.rflab.io:443 | JWT (Ed25519) | WSS | +| `meshtexas` | mqtt.meshtexas.org:443 | JWT (Ed25519) | WSS | | `custom` | User-configured | Username/Password | MQTT or WSS | | `none` | (disabled) | — | — | diff --git a/src/helpers/MQTTPresets.h b/src/helpers/MQTTPresets.h index 38289d724..b3fcf5a89 100644 --- a/src/helpers/MQTTPresets.h +++ b/src/helpers/MQTTPresets.h @@ -105,7 +105,7 @@ static const char ISRG_ROOT_X1[] PROGMEM = "-----END CERTIFICATE-----\n"; // Number of built-in presets -static const int MQTT_PRESET_COUNT = 26; +static const int MQTT_PRESET_COUNT = 27; // Built-in preset definitions (stored in flash) static const MQTTPresetDef MQTT_PRESETS[MQTT_PRESET_COUNT] = { @@ -141,6 +141,7 @@ static const MQTTPresetDef MQTT_PRESETS[MQTT_PRESET_COUNT] = { { "ipnt.uk", "wss://mqtt.ipnt.uk:443", "mqtt.ipnt.uk", ISRG_ROOT_X1, MQTT_AUTH_JWT, MQTT_TOPIC_MESHCORE, 0, true, 55, nullptr, nullptr }, { "flmesh", "wss://mcmqtt.jntconnections.com:443", "mcmqtt.jntconnections.com", GTS_ROOT_R4, MQTT_AUTH_JWT, MQTT_TOPIC_MESHCORE, 0, true, 55, nullptr, nullptr }, { "corecomms", "wss://mqtt.corecomms.net:443/mqtt", "mqtt.corecomms.net", GTS_ROOT_R4, MQTT_AUTH_JWT, MQTT_TOPIC_MESHCORE, 0, true, 55, nullptr, nullptr }, + { "meshtexas", "wss://mqtt.meshtexas.org:443/mqtt", "mqtt.meshtexas.org", GTS_ROOT_R4, MQTT_AUTH_JWT, MQTT_TOPIC_MESHCORE, 0, true, 55, nullptr, nullptr }, }; // Find a preset by name, returns nullptr if not found