This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

MQTT Client example
#4
(08.08.2016, 06:11)admin Wrote: MQTT packages:
https://dl.openrb.com/lm-16.07-rc/pkg/li...-1_mxs.ipk
https://dl.openrb.com/lm-16.07-rc/pkg/li...-1_mxs.ipk
https://dl.openrb.com/lm-16.07-rc/pkg/lu...-1_mxs.ipk

Lua library:
https://github.com/flukso/lua-mosquitto/

Hi,

All working. I use Resident script with 60 sec loop. All subscriptions received just in time.

Should I use resident script only?

And just in case: I use login_set before connect
client:login_set("login","pass")
Reply


Messages In This Thread
MQTT Client example - by antoandruhy - 25.07.2016, 10:20
RE: MQTT Client example - by npinguin - 06.08.2016, 14:27
RE: MQTT Client example - by admin - 08.08.2016, 06:11
RE: MQTT Client example - by Safar - 18.08.2016, 00:12
RE: MQTT Client example - by dejwoo - 17.02.2017, 09:25
RE: MQTT Client example - by eilert - 08.03.2017, 21:04

Forum Jump: