Page 1 of 1

MQTTCloud Uri

Posted: Fri Mar 08, 2019 3:34 am
by arunbm123
hi

What is correct way to specify MQTTCLOUD url

the Server is m14.cloudmqtt.com

thanks

Re: MQTTCloud Uri

Posted: Sat Mar 09, 2019 5:59 pm
by ESP_cermak
Hi,

If you are using esp-mqtt, then it should be
{schema}://{user}:{password}@m14.cloudmqtt.com:{port}
where {schema} is
- *mqtt* for tcp connection
- *mqtts* for tls connection
- *ws* for connection over websockets
- *wss* for TLS connection over websockets