-93-
v7.3
Cloud Connectors
Meshlium
X
treme
12.1.7.4.2. MQTT
MQTT is a stateful communication protocol over TCP. Using this protocol, the Cloud Connector is a client of
the Sofia2 platform, that initially opens a connection with the platform, maintains it alive during that time, and
periodically sends an MQTT packet containing the sensor measurements. In case of disconnection, the connector
periodically tries to reconnect.
The parameters of the MQTT protocol are:
•
Server:
IP or machine name of the MQTT gateway in the Sofia2 server.
•
Port:
Port of the MQTT gateway in the Sofia2 server.
•
KeepAlive:
Interval in seconds that the connector will use to check the status of the connection.
•
Connection Timeout:
Timeout to establish a connection.
•
Response Timeout:
Timeout to wait response from the Sofia2 server.
•
Auth user:
Optional. MQTT protocol authentication user.
•
Auth password:
Optional. MQTT protocol authentication password.
Figure:
Sofia2 MQTT protocol
12.1.7.4.3. Websocket
It is a stateful communication protocol over HTTP. Using this protocol, the Cloud Connector is a client of Sofia2
platform, that initially open a connection with the platform, maintains it alive during a defined time, and periodically
sends a HTTP packet containing the sensor measurements. In case of disconnection, the connector periodically
tries to reconnect.
The parameters of the Websocket protocol are:
•
Endpoint:
URL of the Websocket gateway of Sofia2 platform. It is the server that will receive requests from
clients.
•
Timeout:
Timeout for any operation with the server.
Figure:
Sofia2 Websocket protocol
Содержание Meshlium Xtreme
Страница 1: ......
Страница 67: ... 67 v7 3 Cloud Connectors MeshliumXtreme Figure Cloud Connector main menu on the Manager System ...
Страница 72: ... 72 v7 3 Cloud Connectors MeshliumXtreme Figure Arrow Waspmote display ...
Страница 197: ... 197 v7 3 Database management MeshliumXtreme Figure phpMyAdmin panel ...