Skip to content
OPCUA device service golang version
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin
cmd
internal/driver
.dockerignore
.gitignore
LICENSE.txt
Makefile
README.md
VERSION
go.mod
version.go

README.md

OPC-UA Device Service

Overview

This repository is a Go-based EdgeX Foundry Device Service which uses OPC-UA protocol to interact with the devices or IoT objects.

Prerequisite

  • MongoDB
  • Edgex-go
  • OPCUA Server

Predefined configuration

Servers and Nodes

Modify configuration-driver.toml file which under ./cmd/res folder

[[Servers]]
  Name = "SimulationServer"
  [[Servers.Nodes]]
    NodeID = "ns=5;s=Counter1"
  [[Servers.Nodes]]
    NodeID = "ns=5;s=Random1"

Device list

Define devices info for device-sdk to auto upload device profile and create device instance. Please modify configuration.toml file which under ./cmd/res folder

# Pre-define Devices
[[DeviceList]]
  Name = "SimulationServer"
  Profile = "OPCUA-Server"
  Description = "OPCUA device is created for test purpose"
  Labels = [ "test" ]
  [DeviceList.Addressable]
    Address = "Burning-Laptop"
    Port = 53530
    Protocol = "TCP"
    Path = "/OPCUA/SimulationServer"

Installation and Execution

make build
make run

Reference

You can’t perform that action at this time.