24.11.2019, 16:30
(23.11.2019, 09:19)admin Wrote: Add logging to your script:
Code:mclient.ON_CONNECT = function(...) log('on_connect', ...)
Code:function mconnect() local fd log('connect', mclient:connect(broker)) fd = mclient:socket() -- fd ref is valid if fd then mclientfd = fd end end
I add log and when I reset Mqtt scritp this is the result:
When I send object to Mqtt don´t log anything.