@@ -5,27 +5,27 @@ The dependencies differ slightly based on the environment you use, and the requi
5
5
* [ ** luasocket** ] ( https://luarocks.org/modules/luasocket/luasocket ) to establish TCP connections to the MQTT broker.
6
6
This is a listed dependency in the luamqtt rockspec, so it will automatically be installed if you use LuaRocks to
7
7
install luamqtt. To install it manually:
8
- luarocks install luasocket
8
+ luarocks install luasocket
9
9
10
10
* [ ** copas** ] ( https://github.com/keplerproject/copas ) module for asynchoneous IO. Copas is an advanced co-routine
11
11
scheduler with far more features than the included ` ioloop ` . For anything more than a few devices, or for devices which
12
12
require network IO beyond mqtt alone, Copas is the better alternative. Copas is also pure-Lua, but has parallel network
13
13
IO (as opposed to sequential network IO in ` ioloop ` ), and has features like; threads, timers, locks, semaphores, and
14
14
non-blocking clients for http(s), (s)ftp, and smtp.
15
- luarocks install copas
15
+ luarocks install copas
16
16
17
17
* [ ** luasec** ] ( https://github.com/brunoos/luasec ) module for SSL/TLS based connections. This is optional and may be
18
18
skipped if you don't need secure network connections (e.g. broker is located in your local network). It's not listed
19
19
in package dependencies, please install it manually like this:
20
- luarocks install luasec
20
+ luarocks install luasec
21
21
22
22
* [ ** LuaBitOp** ] ( http://bitop.luajit.org/ ) library to perform bitwise operations, which is required only on
23
23
Lua 5.1. It's not listed in package dependencies, please install it manually like this:
24
- luarocks install luabitop
24
+ luarocks install luabitop
25
25
26
26
* [ ** LuaLogging** ] ( https://github.com/lunarmodules/lualogging/ ) to enable logging by the MQTT client. This is optional
27
27
but highly recommended for long running clients. This is a great debugging aid when developing your clients. Also when
28
28
using OpenResty as your runtime, you'll definitely want to use this, see
29
29
[ openresty.lua] ( https://xhaskx.github.io/luamqtt/examples/openresty.lua.html ) for an example.
30
30
It's not listed in package dependencies, please install it manually like this:
31
- luarocks install lualogging
31
+ luarocks install lualogging
0 commit comments