HCC2 Development Tools and Samples
The tools listed below are required for creating and signing application containers to be uploaded to an HCC2 as signed Mender files. The samples provided are basic 'starter' applications, and are an initial starting point for a developer using the SDK.
These tools and samples can be downloaded from the Github repository located at: github.com/sensiaglobal/edgesdk_devtools
The edgesdk_devtools repository is required to deploy an application to an HCC2 device.
Info
It is recommended that the repository be deployed to your Linux instance in the folder:
$HOME/sdk
HCC2 Development Tools and Samples - Modbus
The table below lists the contents of this repository. Use this sample code for a Modbus SDK implementation.
It includes samples applications written in Python and C#.
Repo | OS | Description |
---|---|---|
edgesdk_devtools | Linux Only | Application signing tools |
edgesdk_python_api | Linux/Windows | pip package for the Python HCC2 Modbus SDK interface |
edgesdk_examplepython | Linux/Windows | Sample Python application |
edgesdk_dotnet6_api | Linux/Windows | Nuget package containing the C# HCC2 Modbus SDK interface |
edgesdk_examplecsharp | Linux/Windows | Sample C# application (using .net6.0) |
edgesdk_docs | Linux/Windows | This documentation pack |
HCC2 Development Tools and Samples - RESTful
The table below lists the contents of this repository. Use this sample code with the HCC2 REST API interface. It includes sample applications written in Python and C#.
Repo | OS | Description |
---|---|---|
edgesdk_devtools | Linux Only | Application signing tools |
restapi_sample_interface | Linux/Windows | Sample Python application |
restapi_sample_interface_dotnet | Linux/Windows | Sample C# application |
restapi_python_application_template | Linux/Windows | Sample Python application template |
edgesdk_docs | Linux/Windows | This documentation pack |
Note
These code examples herein ARE PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED.
Warning
The devtools include a number of shell scripts which require execution rights to be granted post installation.
To apply execution rights, navigate to your devtools folder and run the command:
chmod +x *.sh
Edge SDK Dev Tools Setup
In your Linux environment, extract / clone the edgesdk_devtools
to your chosen location and then carefully follow the instructions in the readme.md file.