diff options
| author | xengineering <me@xengineering.eu> | 2025-12-20 13:18:55 +0100 |
|---|---|---|
| committer | xengineering <me@xengineering.eu> | 2025-12-20 13:18:55 +0100 |
| commit | 2b4b4235d692b32f5dc18e1fda39917365857336 (patch) | |
| tree | 1ccbc752d2efbfd469d632db0d8bd33477d68669 | |
| parent | b58d415169180e58c0661a09c97d311e2eb0c96a (diff) | |
| download | sia-server-2b4b4235d692b32f5dc18e1fda39917365857336.tar sia-server-2b4b4235d692b32f5dc18e1fda39917365857336.tar.zst sia-server-2b4b4235d692b32f5dc18e1fda39917365857336.zip | |
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
| -rw-r--r-- | main.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |
