lua-mqtt


Overview

lua-mqtt supplies two independents modules :

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 (and transpilable by Teal to Lua 5.1 & 5.2).

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 © 2022-2023 François Perrad

This library is licensed under the terms of the MIT/X11 license, like Lua itself.