MQTTCloud Uri

User avatar
arunbm123
Posts: 96
Joined: Fri Feb 23, 2018 5:36 am

MQTTCloud Uri

Postby arunbm123 » Fri Mar 08, 2019 3:34 am

hi

What is correct way to specify MQTTCLOUD url

the Server is m14.cloudmqtt.com

thanks

ESP_cermak
Posts: 69
Joined: Thu Nov 01, 2018 8:32 am

Re: MQTTCloud Uri

Postby ESP_cermak » Sat Mar 09, 2019 5:59 pm

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

Who is online

Users browsing this forum: forrest, Google [Bot] and 93 guests