From 8835512f306d2d39cb3128ff92ac04a3ab4b5609 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcel=20St=C3=B6r?= Date: Sun, 15 Mar 2020 09:34:12 +0100 Subject: [PATCH] Fix connect() params in example --- docs/modules/mqtt.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/modules/mqtt.md b/docs/modules/mqtt.md index fd1e36bc..f9944baa 100644 --- a/docs/modules/mqtt.md +++ b/docs/modules/mqtt.md @@ -82,7 +82,7 @@ m:on("overflow", function(client, topic, data) end) -- for TLS: m:connect("192.168.11.118", secure-port, 1) -m:connect("192.168.11.118", 1883, 0, function(client) +m:connect("192.168.11.118", 1883, false, function(client) print("connected") -- Calling subscribe/publish only makes sense once the connection -- was successfully established. You can do that either here in the