-150-
v7.3
Cloud Connectors
Meshlium
X
treme
12.3.17. MQTT
MQTT is a publish/subscribe, extremely simple and lightweight messaging protocol, designed by IBM for
constrained devices and low-bandwidth, high-latency or unreliable networks, where battery power is critical. Due
to its features of delivery assurance and bandwidth reduction, MQTT is being used by some Cloud platforms such
as IBM or Carriots, which means that Waspmote data can be stored inside them or in any other one based on this
protocol.
More information:
http://mqtt.org/faq
.
With this plugin, Waspmote sensor data can be directly integrated with a MQTT broker.
Figure: MQTT plugin
12.3.17.1.
Configuration
The broker is a key agent in MQTT protocol. The broker is a server which receives all the frames and distributes
each one of them to the subscribers clients.
MQTT plugin is located in:
Manager System > Cloud Connector > IoT Platforms > MQTT Solutions
In Server/Broker Configuration, the user can set:
•
IP Address:
Server IP address.
•
Port number:
Server port number.
•
User:
Server user name to log in the MQTT system.
•
Password:
Server password to log in the MQTT server.
•
Topic template:
Topic of your message. The user can use these wild-cards creating a personalized structure:
-
#MESHLIUM#: Identifier for Meshlium
-
#ID#: Unique identifier for data
-
#ID_WASP#: Identifier for Waspmote
-
#SENSOR#: Sensor identification
•
Message template:
Data structure of your message. The user can use these wild-cards creating a customized
content:
-
#ID#: Unique identifier for data
-
#ID_WASP#: Identifies the Waspmote unit
-
#ID_SECRET#: Secret identifier
-
#SENSOR#: Identifies the sensor
-
#VALUE#: Value obtained from the sensor
-
#TS(“c”)#: Date with custom format. The parameter passed in this wild-card corresponds to the same
ones you can use in PHP date function (see format parameters in
http://php.net/manual/es/function.date.
php#refsect1-function.date-parameters
).
Содержание 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 ...