Skip to content

Latest commit

 

History

History
 
 

snap

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

EdgeX Modbus Device Service Snap

edgex-device-modbus

This directory contains the snap packaging of the EdgeX Modbus device service.

The snap is built automatically and published on the Snap Store as edgex-device-modbus.

For usage instructions, please refer to Device Modbus section in Getting Started using Snaps.

Build from source

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.

Obtain a Secret Store token

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-modbus command.

To manually connect and obtain a token:

sudo snap connect edgexfoundry:edgex-secretstore-token edgex-device-modbus:edgex-secretstore-token

Please refer here for further information.