marco.canta Active Member Licensed User Longtime User Oct 16, 2016 #1 Good morning, I can use a brocker MQTT internet? I made a program B4J and using "CloudMQTT" exchange you information using the internet, so I can also send messages outside the local network. I would now like to connect my Arduino / Wemos to this external brokers (CloudMQTT). If possible, how can I do? Thanks Marco
Good morning, I can use a brocker MQTT internet? I made a program B4J and using "CloudMQTT" exchange you information using the internet, so I can also send messages outside the local network. I would now like to connect my Arduino / Wemos to this external brokers (CloudMQTT). If possible, how can I do? Thanks Marco
Erel B4X founder Staff member Licensed User Longtime User Oct 17, 2016 #2 Yes. Something like: Code: Copy Client.Initialize(stream, "m11.cloudmqtt.com", 12312, ...) Dim options As MqttConnectOptions options.Initialize(username, password) Client.Connect2(options) Upvote 0
Yes. Something like: Code: Copy Client.Initialize(stream, "m11.cloudmqtt.com", 12312, ...) Dim options As MqttConnectOptions options.Initialize(username, password) Client.Connect2(options)