We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Which should i use ?
mqttClient:on("message", function(conn, topic, data) uart.write(0, data) end)
i've got this crashed by using uart.write
PANIC: unprotected error in call to Lua API (mqtt.lua:16: bad argument #2 to 'write' (
The text was updated successfully, but these errors were encountered:
I think maybe the data is nil, can you check it with
--uart.write(0, data) if data then uart.write(0, data)
Sorry, something went wrong.
thanks will give a try ~
No branches or pull requests
Which should i use ?
mqttClient:on("message", function(conn, topic, data)
uart.write(0, data)
end)
i've got this crashed by using uart.write
PANIC: unprotected error in call to Lua API (mqtt.lua:16: bad argument #2 to 'write' (
The text was updated successfully, but these errors were encountered: