MVI69E-LDM-MQTT ♦ MQ Telemetry Transport
Obtaining Sample Applications
CompactLogix® Platform
Quick Start Guide
ProSoft Technology, Inc.
Page 8 of 54
2
Obtaining Sample Applications
2.1
MVI69E-LDM-MQTT Zip File
The MVI69E-LDM-MQTT zip file is available at
. This file
contains both the
Generic
and
SparkplugB
implementations.
1
Navigate to the
MVI69E-LDM
product webpage.
2
Create a folder on your PC named
C:\Workspace
and download the
MVI69E-LDM-
MQTT-xxx.zip
(where
xxx
is version number) to this folder.
3
Unzip the file in this folder.
4
Make note of the location of the firmware file.
The interface library contains the following components:
c:\Workspace\
Subfolder
Description
aws-iot-device-sdk-
embedded-C
Open source library AWS IoT Device SDK C v4.0.0
cJSON
cJSON, open source C library to parse JSON formatted
configuration file
mqtt-ldm
MQTT-LDM Library root folder
build
Location where target binaries are created during build
docker
Toolchain to build source code and Docker®
configuration files to start container with build
environment
mqtt-ldm-lib
Source code of the library mqtt-ldm-lib, wrapper on top of
the AWS IoT Device SDK
scripts
Build scripts
mqtt-ldm-sample-
app-mvi69e
Source code of the sample application, with default
configuration file; firmware build scripts and some runtime
scripts; and optional Visual Studio 2017 solution and
project files; Visual Studio 2017 solution and project files
for sample application (optional)
src
Source code of the sample application
test-*
Folders with sample configurations file and certificates to
connect to different MQTT brokers
Firmware\ mvi69e-
ldm.firmware_<version>_
<date>.firmware
MVI69E-LDM MQTT sample application
mvi69e-ldm
Source code of dependency libraries required to
communicate with the PLC
tahu
Eclipse Tahu, an open source library with implementation
of the Sparkplug format of encoding/decoding
LDM_MQTT_.ACD
CompactLogix Ladder Logic file