Skip to content

Commit 73507bf

Browse files
committed
feat(mqtt): add gomesh to broker presets table
1 parent e240543 commit 73507bf

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

MQTT_IMPLEMENTATION.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,7 @@ below documents the current build.
157157
| `mesh-chaun14` | `mqtt://mqtt.mesh.chaun14.fr:1884` | User/pass (username is the device public key) | `set mqttN.password` |
158158
| `wcmesh` | `wss://mqtt.wcmesh.com:443` | JWT ||
159159
| `atvirastinklas` | `wss://mqtt-mc.atvirastinklas.lt:443` | JWT ||
160+
| `gomesh` | `wss://mqtt.gomesh.dev:443` | JWT ||
160161
| `custom` | your own broker | User/pass, or JWT when `mqttN.audience` is set | `set mqttN.server` (see [custom broker setup](#custom-brokers)) |
161162
| `none` | (slot disabled) |||
162163

src/helpers/MQTTPresets.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ static const char ISRG_ROOT_X1[] PROGMEM =
127127
"-----END CERTIFICATE-----\n";
128128

129129
// Number of built-in presets
130-
static const int MQTT_PRESET_COUNT = 32;
130+
static const int MQTT_PRESET_COUNT = 33;
131131

132132
// Built-in preset definitions (stored in flash)
133133
static const MQTTPresetDef MQTT_PRESETS[MQTT_PRESET_COUNT] = {
@@ -171,6 +171,8 @@ static const MQTTPresetDef MQTT_PRESETS[MQTT_PRESET_COUNT] = {
171171
// LetsMesh-compatible JWT; TLS is Let's Encrypt (ISRG Root X1), not GTS.
172172
{ "wcmesh", "wss://mqtt.wcmesh.com:443", "mqtt.wcmesh.com", ISRG_ROOT_X1, MQTT_AUTH_JWT, MQTT_TOPIC_MESHCORE, 0, true, 55, nullptr, nullptr },
173173
{ "atvirastinklas","wss://mqtt-mc.atvirastinklas.lt:443", "mqtt-mc.atvirastinklas.lt", GTS_ROOT_R4, MQTT_AUTH_JWT, MQTT_TOPIC_MESHCORE, 0, true, 55, nullptr, nullptr },
174+
// JWT token auth; LE Gen-Y ECDSA chain (YE2 → Root YE → X2) still anchors at ISRG Root X1.
175+
{ "gomesh", "wss://mqtt.gomesh.dev:443", "mqtt.gomesh.dev", ISRG_ROOT_X1, MQTT_AUTH_JWT, MQTT_TOPIC_MESHCORE, 0, true, 55, nullptr, nullptr },
174176
};
175177

176178
// Find a preset by name, returns nullptr if not found

0 commit comments

Comments
 (0)