lua-mqtt
Overview
lua-mqtt supplies two independents modules :
- mqtt331 : a client library for MQTT 3.1.1
- mqtt5 : a client library for MQTT 5
Their API are compatible as much as possible.
There are designed to work with any kind of socket library : luasocket, luasec, cqueues.
Status
lua-mqtt is in beta stage.
It's developed for Lua 5.3 & 5.4.
Download
lua-mqtt source can be downloaded from Framagit.
The Teal type definition of these modules are available here.
Installation
lua-mqtt is available via LuaRocks:
luarocks install lua-mqtt
or manually, with:
make install
Test
The test suite requires the module lua-TestAssertion.
make test
Copyright and License
Copyright © 2022-2023 François Perrad
This library is licensed under the terms of the MIT/X11 license, like Lua itself.