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
#2
Like this, port is optional and defaults to 1883:
Code:
broker = '10.85.0.4'

If you need to set a custom port then pass it as a second parameter to connect:
Code:
client:connect('10.85.0.4', 12345)
Reply


Messages In This Thread
mqtt client - by JohnTH - 08.12.2017, 11:33
RE: mqtt client - by admin - 08.12.2017, 11:51

Forum Jump: