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.
This commit is contained in:
1 parent
028a5dcadd
commit
90467ddd13
3 files changed
+4
-1
No files matched your search
Submodule
+1
Submodule .build-wt-028a5dca added at 028a5dcadd.
@@ -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) | — | — |
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in new issue
Block a user