lua-mosquitto
lua-mosquitto copied to clipboard
Lua bindings to the libmosquitto MQTT client library.
which is dead code, see discussion in #35
Fixes #26 I decided to to create separate functions for all v5 functionality because of the following reason: - This lib is a wrapper for libmosquitto and they did the...
I was wondering why the deprecated luaL_checkint is being used instead of luaL_checkinteger. I see that it also made the fix in #30 necessary. Could we not just replace it...
Closes #20 and #23
None of the mqttv5 support functions are implemented yet. I'm considering what the APIs shoudl look like? I believe ~all of the _v5 functions should just be automatically called IFF...
Callback functions (`on_connect`, `on_message`, etc.) are called from non-lua code; which I cannot see as documented to be `longjmp` safe. Lua C api functions will longjmp out on failure to...
This causes issues for a few reasons. e.g. Coroutines can die: ```lua local mqtt = require("mosquitto") print("Main thread:", coroutine.running()) local client do local co = coroutine.create(function() print("Calling mqtt.new from:", coroutine.running())...
Hi, I am using lua lanes to run os threads to collect data and have an mqtt client running as one of the thread. After some time or sometimes immediately...
It seems the default reconnect behaviour is to keep retrying every 1 second. It would be nice to enable reconnect_exponential_backoff via this function.