This directory contains the snap packaging of the EdgeX MQTT device service.
The snap is built automatically and published on the Snap Store as edgex-device-mqtt.
For usage instructions, please refer to Device MQTT section in Getting Started using Snaps.
Execute the following command from the top-level directory of this repo:
snapcraft
This will create a snap package file with .snap
extension. It can be installed locally by setting the --dangerous
flag:
sudo snap install --dangerous <snap-file>
The snapcraft overview provides additional details.
The edgex-secretstore-token
snap slot makes it possible to automatically receive a token from a locally installed platform snap.
If the snap is built and installed locally, the interface will not auto-connect. You can check the status of the connections by running the snap connections edgex-device-mqtt
command.
To manually connect and obtain a token:
sudo snap connect edgexfoundry:edgex-secretstore-token edgex-device-mqtt:edgex-secretstore-token
Please refer here for further information.