* 'main' of https://github.com/xJARiD/MeshCore-EastMesh:
  docs: updated release notes for waev
  feat(mqtt): add Waev broker

# Conflicts:
#	release-notes.yml
This commit is contained in:
prabathbr committed 2026-06-26 12:21:21 +10:00
commit b2365c4ac0
8 files changed
+86 -13

No files matched your search

+8
View File
@@ -2454,6 +2454,8 @@ void MyMesh::handleCommand(uint32_t sender_timestamp, char *command, char *reply
sprintf(reply, "> %s", mqtt.isEndpointEnabled(0x01) ? "on" : "off");
} else if (strcmp(command, "get mqtt.meshmapper") == 0) {
sprintf(reply, "> %s", mqtt.isEndpointEnabled(0x10) ? "on" : "off");
} else if (strcmp(command, "get mqtt.waev") == 0) {
sprintf(reply, "> %s", mqtt.isEndpointEnabled(0x20) ? "on" : "off");
} else if (strcmp(command, "get mqtt.letsmesh-eu") == 0 || strcmp(command, "get mqtt.letsmesh.eu") == 0) {
sprintf(reply, "> %s", mqtt.isEndpointEnabled(0x02) ? "on" : "off");
} else if (strcmp(command, "get mqtt.letsmesh-us") == 0 || strcmp(command, "get mqtt.letsmesh.us") == 0) {
@@ -2512,6 +2514,12 @@ void MyMesh::handleCommand(uint32_t sender_timestamp, char *command, char *reply
} else {
strcpy(reply, "Err - max 2 mqtt brokers");
}
} else if (memcmp(command, "set mqtt.waev ", 14) == 0) {
if (mqtt.setEndpointEnabled(0x20, memcmp(&command[14], "on", 2) == 0)) {
strcpy(reply, "OK");
} else {
strcpy(reply, "Err - max 2 mqtt brokers");
}
} else if (memcmp(command, "set mqtt.letsmesh-eu ", 21) == 0 || memcmp(command, "set mqtt.letsmesh.eu ", 21) == 0) {
if (mqtt.setEndpointEnabled(0x02, memcmp(&command[21], "on", 2) == 0)) {
strcpy(reply, "OK");