From 2b4b4235d692b32f5dc18e1fda39917365857336 Mon Sep 17 00:00:00 2001 From: xengineering Date: Sat, 20 Dec 2025 13:18:55 +0100 Subject: Switch ClientId to `siaserver` The old version `sia-server` was problematic since the MQTT specification [1] ensures only this list of valid characters: 0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ For every other character the broker might support this or not. [1]: https://docs.oasis-open.org/mqtt/mqtt/v3.1.1/os/mqtt-v3.1.1-os.html#_Toc398718031 --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main.go') diff --git a/main.go b/main.go index d4ef33b..eae80ba 100644 --- a/main.go +++ b/main.go @@ -15,7 +15,7 @@ import ( const ( OPENCCU = `http://127.0.0.1:8080` BROKER = `tcp://127.0.0.1:1883` - CLIENT_ID = `sia-server` + CLIENT_ID = `siaserver` TOPIC_PREFIX = `sia` QOS = byte(0) RETAINED = true -- cgit v1.2.3-70-g09d2