mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
MQTT clientid: If automatically generating a clientid for user it should be =< 23 Right now it generates length of 24. See mqtt specifications --> http://docs.oasis-open.org/mqtt/mqtt/v3.1.1/os/mqtt-v3.1.1-os.html#_Toc385349242 "The Server MUST allow ClientIds which are between 1 and 23 UTF-8 encoded bytes in length,..." As 23 is the minimum we should shoot for this specification. I noticed this when connecting to a mqtt server that was set to minimum spec. it would not connect! Sure I can generate my own ID or fill it in with less than 23 but it did confuse me for 15min.