info from server

This commit is contained in:
2026-03-21 15:36:50 +01:00
parent fb6a1d00f7
commit 72bbd9fcbd
3 changed files with 18 additions and 29 deletions
+5
View File
@@ -202,6 +202,11 @@ function handleData(wss, receivedData, rdsWss) {
rdsdec.decodeGroup(parseInt(a, 16), parseInt(b, 16), parseInt(c, 16), parseInt(d, 16), errors);
legacyRdsPiBuffer = null;
break;
case receivedLine.startsWith("!"):
wss.clients.forEach((client) => {
client.send(receivedLine.trim());
});
break;
}
}