MVI56E-LDM-MQTT ♦ MQ Telemetry Transport
ControlLogix® Platform
11 Firmware
11.1 Firmware Contents
The sample application installed to the MVI56E-LDM contains files that are included in
the MVI56E-LDM-MQTT zip file. The contents of the zip file were copied to the Windows
10 PC's C:\Workspace folder in Chapter 2.
Although they are installed on the module with the module webpage's Firmware
Download process, the files can be FTP'd independently as well.
When the module is rebooted after the upgrade, the sample application starts via script:
/etc/init.d/S88-mqtt.
If the module has other custom files and/or the firmware update is not desirable, then the
following files from C:\Workspace can be installed over FTP connection to the module:
#
File location on Windows 10 PC
1
C:\Workspace\mqtt-ldm-sample-
app-mvi56e\firmware
mvi56e-
ldm.firmware_<version>_<date>
.firmware
2
C:\Workspace\mqtt-ldm-sample-
app-mvi56e\
config.json
3
C:\Workspace\mqtt-ldm-sample-
app-mvi56e\
root_ca.cer
4
C:\Workspace\mqtt-ldm-sample-
app-mvi56e\
S10-syslog
5
C:\Workspace\mqtt-ldm-sample-
app-mvi56e\
S88-mqtt
6
C:\Workspace\mqtt-ldm-sample-
app-mvi56e\test-generic
11.2 Run the Application
After the installation and configuration are complete, the application can be started either
automatically after device reboot (if the script /etc/init.d/S88-mqtt was installed), or it
can be started manually via telnet terminal by navigating to the folder /spft/sample/mqtt
and running the command ./mqtt-ldm-sample-app-mvi56e.
ProSoft Technology, Inc.
FTP to folder on
Description
MVI56E-LDM
/psft/sample/mqtt
MQTT-LDM sample application. After building a
custom application, copy the .firmware file to the
module.
/psft/sample/mqtt
Configuration file. Its structure is described in detail
in section Configuration File Details starting on
page 44.
Root CA certificate of the server's SSL certificate's
/psft/sample/mqtt
chain.
/etc/init.d
Optional,for logging. The service syslog should be
started in order to enable logging. The service can
be started automatically at system reboot by
copying of the script file S10-syslog to the folder
/etc/init.d. Note that the script configures log file
location as /www/html/log/messages.txt, i.e.
under embedded web server's content location.
This allows viewing of the log file's content at:
http://192.168.0.250/log/messages.txt (IP
address of the module).
/etc/init.d
This script starts the sample application on the
MVI56E-LDM after module reboot.
/psft/sample/mqtt
Configuration file and certificates, specific for the
Generic type of MQTT Brokers.
Firmware
Quick Start Guide
Page 52 of 55
Need help?
Do you have a question about the MVI56E-LDM-MQTT and is the answer not in the manual?