node-red/packages/node_modules/@node-red/nodes/core/network
Nick O'Leary b8f1386ad0
Dynamic MQTT connections (#3189)
* add mqtt-control
- adds auto-connect option to broker
- add new node mqtt-control
- adds i18n messages
- adds documentation

* documentation tweaks

* built in documentation improvements

* fix tip layout causing oversized editor

* remove unused requires

* add missing `unsubscribe` dropdown option
- oddly forgotten - now added

* ensure clientid is updated dynamically

* [rewrite] move mqtt-control login into mqtt-in

* Remove dynamic label

* remove redundant mqtt-control code left overs

* Callback for brokerConn.connect (improve done())
- done is now called on connect callback

* fix race condition if connect/disconnect too fast
- node.connected and node.client.connected getting out of sync

* fix connection fail when switching protocol 3 ~ 5
- ensure protocolId is correct for protocolVersion

* change msg.subscribe prop to `msg.topic`

* unsub all topics if msg.topic is `true`

* delete temprary debugger statements

* Final rework of dynamic mqtt connections

Co-authored-by: Steve-Mcl <sdmclaughlin@gmail.com>
2021-10-14 12:05:06 +01:00
..
lib Move io to network 2019-08-21 14:23:24 +01:00
05-tls.html Add translations to message catalog 2021-06-14 15:54:05 +09:00
05-tls.js Fixes from testing 2021-05-19 10:41:24 +01:00
06-httpproxy.html Change types from text/x-red to text/html in node html files 2020-01-15 11:40:48 +09:00
06-httpproxy.js Move io to network 2019-08-21 14:23:24 +01:00
10-mqtt.html Dynamic MQTT connections (#3189) 2021-10-14 12:05:06 +01:00
10-mqtt.js Dynamic MQTT connections (#3189) 2021-10-14 12:05:06 +01:00
21-httpin.html Fix sizing of HTTP Response header fields 2021-10-04 10:52:36 +01:00
21-httpin.js Fix for #2935 2021-04-16 13:26:11 +01:00
21-httprequest.html Add option to only send http response errors to Catch node 2021-10-04 14:04:59 +01:00
21-httprequest.js Add option to only send http response errors to Catch node 2021-10-04 14:04:59 +01:00
22-websocket.html Allow websocket client node to send pings 2021-07-08 10:51:36 +01:00
22-websocket.js Allow websocket client node to send pings 2021-07-08 10:51:36 +01:00
31-tcpin.html hide unused input field (#2823) 2021-01-16 16:58:13 +00:00
31-tcpin.js Fix for incorrect tcpout connection count 2021-09-03 13:00:06 +01:00
32-udp.html Change types from text/x-red to text/html in node html files 2020-01-15 11:40:48 +09:00
32-udp.js Fix UDP node to not not use port if unassigned 2021-09-16 16:22:01 +01:00