Added doc to 6_MQTT.md

This commit is contained in:
gianrico
2017-11-11 17:16:04 +01:00
parent c0875fd9a2
commit 7feeba3ed8
+7 -2
View File
@@ -1,7 +1,7 @@
# MQTT
Detailed information (a JSON object) is published to an MQTT topic. The JSON object contains the number of changes, the region, the URL of the image, etc.
MQTT protocol is a light-weight Machine to Machine (M2M) protocol widely used in Internet of things.
Detailed information (a JSON object) is published to an MQTT topic. The JSON object contains the number of changes, the region, the URL of the image, etc.
## Parameters
@@ -21,10 +21,11 @@ The parameters of the MQTT output can be found in the **config/io.xml** file, bu
### Secure
If checked, enable SSL/TLS support.
**PLEASE NOTE**: when SSL/TLS support is enabled, the server certificate issuer is verified against the CA (Certification Authority) files available in /etc/ssl/certs.
### Verifycn
If checked, the MQTT server FQDN or ip address must match the CN of the server certificate.
If checked, the MQTT server FQDN or ip address must match the CN (Common Name) of the server certificate.
### Server
@@ -61,3 +62,7 @@ A JSON object is published to the topic of the MQTT broker you have configured.
]
## Example
It is possible to subscribe multiple distributed IoT devices to the same MQTT topic and perform specific actions upon the detection of a motion.
Devices with more resources could fetch the image to perform further elaboration.