Hi,
I would like to use "MQTT Chat with Auto Discovery" with internet cloud service.
I tried with the free service on https://www.maqiatto.com with the following code:
but I have a connection error (success=false):
How can I solve it ?
Do you know a simple way to connect to a free MQTT cloud service ?
Thank you.
I would like to use "MQTT Chat with Auto Discovery" with internet cloud service.
I tried with the free service on https://www.maqiatto.com with the following code:
B4X:
client.Initialize("client", "tcp://maqiatto.com:8883", "android" & Rnd(1, 10000000))
Dim mo As MqttConnectOptions
mo.Initialize("my username", "my password")
client.Connect2(mo)
but I have a connection error (success=false):
"Error connecting: (MqttException) Unexpected error (6)"
How can I solve it ?
Do you know a simple way to connect to a free MQTT cloud service ?
Thank you.