you have to prepend "tcp://". but that just opens the door to another problem. i thought there might be an issue with the library, but i had no problem messaging using it with mosquitto. looks like there's something funny with crystalmq.
Ok, yes thank you now I got no error in code but I can't log in. I use same credentials to log in from arduino MKR1010 there are no problems.
cloudmqtt.com have shut down and I need to find another free mqtt broker. Do you know if thera are free broker that I can use?
[CODE lang="b4x" title="TCP:// code" highlight="1"]client.Initialize("tommyjohansson", "tcp://freemqttbroker.sfodo.crystalmq.com:1883", clientId)[/CODE]