MQTT-based Device Connection¶
EnOS Cloud provides a device side SDK for MQTT protocol-based device-side development.
If the provided MQTT SDK cannot meet your needs, you can develop a custom device-side SDK according to EnOS device protocol provided for you in this section to establish an MQTT-protocol-based data transfer channel between the device and EnOS.
MQTT Ports¶
Domain |
Port |
Protocol |
Supports Certificate-Based Two-Way Authentication |
---|---|---|---|
mqtt-{env} |
11883 |
TCP |
No |
mqtt-{env} |
18883 |
TCP + TLS |
Yes |
Where, “{env}” is the domain name of the EnOS environment. For example, if your logged-in EnOS domain is “app-portal-cn5.envisioniot.com”, the domain name will be “mqtt-cn5.envisioniot.com”.
Supported MQTT Versions¶
MQTT v3.1.1 on port 18883 if you use the certificate-based two-way authentication.
MQTT v3.1.1 on port 11883 if you use the secret-based one-way authentication.