Section 7.
Communication with the MQTT protocol
The LI-7815 Trace Gas Analyzers can communicate with devices using the Message
Queuing Telemetry Transport (MQTT) protocol. MQTT is a machine-to-machine
communication protocol that supports many programming languages, described at
github.com/mqtt/mqtt.github.io/wiki/libraries. The instrument uses the Eclipse Mos-
quito, an open source MQTT broker.
Here we provide basic examples that describe how to read data from the instrument
in a terminal program, send and receive calibration information in a terminal pro-
gram, and how to save data to a computer using a simple script written in the
Python language. These tutorials are for novice users.
Terminology
Here we provide a simple summary of terminology used in MQTT. These terms are
described in greater detail by other online resources.
l
Server:
The Trace Gas Analyzer is a server that sends information.
l
Client:
The computer or device that is receiving information. The server (e.g.,
Trace Gas Analyzer) can communicate with any client device that is configured
to run an acceptable programming language.
l
Broker:
Software that mediates communication between the server (Trace Gas
Analyzer) and client (your computer or data logger).
l
Topic:
A collection of information that the servers sends.
l
Subscribe:
A client's request for a topic; the client subscribes to a topic. When
subscribed, the publisher sends that topic to the client.
l
Publish:
The act of sending a topic to a client.
7-1
LI-7815 CO₂/H₂O Gas Analyzer
Содержание LI-7815
Страница 1: ...LI 7815 CO2 H2O Trace Gas Analyzer Instruction Manual...
Страница 2: ......
Страница 10: ...viii...
Страница 30: ...Section 2 Getting started 2 14 LI 7815 CO H O Gas Analyzer...
Страница 38: ...Section 3 Applications of the LI 7815 3 8 LI 7815 CO H O Gas Analyzer...
Страница 42: ...Section 4 Software overview 4 4 LI 7815 CO H O Gas Analyzer...
Страница 54: ...Section 4 Software overview 4 16 LI 7815 CO H O Gas Analyzer...
Страница 62: ...Section 5 Troubleshooting 5 8 LI 7815 CO H O Gas Analyzer...
Страница 70: ...Section 6 Maintenance 6 8 LI 7815 CO H O Gas Analyzer...
Страница 88: ...Appendix B Additional safety information B 6 LI 7815 CO H O Gas Analyzer...
Страница 92: ...Appendix C Specifications C 4 LI 7815 CO H O Gas Analyzer...
Страница 97: ......