Industrial
Electronic Devices
ADFweb.com S.r.l.
User Manual
NMEA2000 / MQTT
Document code: MN67949_ENG Revision 1.000 Page 28 of 32
TEMPLATE STRING: DEFINITION OF MQTT PAYLOAD
In the section “Set Communication” of the SW67939, it is possible to define a Template string for the MQTT messages. The template is
necessary in order to define the structure of the payload of the MQTT message and the info contained.
It is possible to have a simple text format or a JSON format.
The definition of the template can be done using Key words, used to link a specific information from/to CAN. The key words used and their
meanings are:
VALUE: value of the NMEA2000 data
TIME: date and time of the MQTT message
DESC: description of the message
Warning:
The key words must be defined between “$” chars in order to be recognized (Ex.: $VALUE$).