lua-mqtt supplies two independents modules :
Their API are compatible as much as possible.
lua-mqtt is in beta stage.
It's developed for Lua 5.3 & 5.4 (and transpilable by Teal to Lua 5.1 & 5.2).
lua-mqtt source can be downloaded from Framagit.
The Teal type definition of these modules are available here.
lua-mqtt is available via LuaRocks:
luarocks install lua-mqtt
or manually, with:
The test suite requires the module lua-TestAssertion.
Copyright and License
Copyright © 2022-2023 François Perrad
This library is licensed under the terms of the MIT/X11 license, like Lua itself.