RePhone_on_Linux
RePhone_on_Linux copied to clipboard
Callback functions are not working
Hi,
Tried callback functions for mqtt - does not work Tried the example for http get (Page 35 of lua_for_rePhone manula) - this also does not work
We have tried this
function onmessage_cb_func(length, topic, msg)
-- print('in on message')
print(msg)
-- return msg
end
mqtt_id = mqtt.create({host = "xyz.pqr.com", port = 1883, qos = 2, onmessage = onmessage_cb_func})
The above code doesn't work There is an issue with the lib regards. Sid
I have given up on it already... ultimately, a piece of junk. Should have gone for the established combination with Arduino.