node-red/packages/node_modules/@node-red/nodes
meeki007 abceb1185b
Update 10-mqtt.js to meet mqtt specification of 23 length clientid
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.
2024-12-12 11:15:23 -05:00
..
core Update 10-mqtt.js to meet mqtt specification of 23 length clientid 2024-12-12 11:15:23 -05:00
examples Merge pull request #4854 from kazuhitoyokoi/master-fixexample 2024-09-17 13:49:05 +01:00
icons Add svg icons for nodes 2023-08-16 19:21:31 +09:00
locales missing getSubscriptions in the docs while its implemented 2024-10-29 13:38:32 +01:00
.npmignore Add pack-modules grunt task 2018-10-25 11:18:13 +01:00
99-sample.html.demo Change icon path from png to svg 2022-05-05 20:38:55 +09:00
99-sample.js.demo
LICENSE Update package readmes and licenses 2022-01-27 12:49:48 +00:00
README.md Add README files to each package 2018-08-21 13:43:11 +01:00
index.js pull out editor-client and editor-api 2018-08-17 22:10:54 +01:00
package.json Bump for 4.0.5 2024-10-10 11:05:08 +01:00

README.md

@node-red/nodes

Node-RED core nodes module.

This provides all of the core Node-RED nodes.

Source

The main Node-RED modules are maintained as a monorepo on GitHub.