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
2024-09-17 14:23:43 +01:00
2024-10-10 11:05:08 +01:00
2023-09-19 14:58:44 -04:00
2022-11-07 10:42:07 +09:00
2018-09-28 16:21:49 +01:00
2021-04-27 17:30:30 +01:00
2024-10-10 11:05:08 +01:00
2024-08-31 04:32:01 +02:00
2016-04-07 21:51:12 +01:00
2023-09-18 21:03:46 +01:00
2019-01-28 14:40:42 +00:00
2020-09-29 20:28:15 +01:00
2024-12-10 15:25:23 +00:00

Node-RED

https://nodered.org

Build Status

Low-code programming for event-driven applications.

Node-RED: Low-code programming for event-driven applications

Quick Start

Check out https://nodered.org/docs/getting-started/ for full instructions on getting started.

  1. sudo npm install -g --unsafe-perm node-red
  2. node-red
  3. Open http://localhost:1880

Getting Help

More documentation can be found here.

For further help, or general discussion, please use the Node-RED Forum or slack team.

Developers

If you want to run the latest code from git, here's how to get started:

  1. Clone the code:

     git clone https://github.com/node-red/node-red.git
     cd node-red
    
  2. Install the node-red dependencies

     npm install
    
  3. Build the code

     npm run build
    
  4. Run

     npm start
    

Contributing

Before raising a pull-request, please read our contributing guide.

This project adheres to the Contributor Covenant 1.4. By participating, you are expected to uphold this code. Please report unacceptable behavior to any of the project's core team at team@nodered.org.

Authors

Node-RED is a project of the OpenJS Foundation.

It is maintained by:

Copyright OpenJS Foundation and other contributors, https://openjsf.org under the Apache 2.0 license.

Description
No description provided
Readme Pixar Cite this repository 84 MiB
Languages
JavaScript 99.8%
HTML 0.2%