Skip to content

gdbself/opcua-animal-server

 
 

Repository files navigation

OPC UA Animal Server

OPC UA Server for the OPC UA Companion Specification for Animals - A Tutorial

This repository shows how to use the OPC UA Animal companion specification from the repository: https://github.com/Pro/opcua-animal-cs

The corresponding Tutorial can be found here: https://opcua.rocks/custom-information-models/

Build

First clone this repository and initialize the git submodule:

git clone https://github.com/Pro/opcua-animal-server
cd opcua-animal-server
git submodule update --init --recursive

Then just run CMake and make:

mkdir build
cd build
cmake ..
make -j

Run

After building the repository, just run the executable:

cd build
./server_animal

Then use e.g. UaExpert to connect to the server. The Endpoint URL is printed in the terminal, but should be the default: opc.tcp://localhost:4840

Docker build and Run

Docker

opcua-animal-serverFork的,修改了一下内容:

  • 使用静态编译生成最终的二进制文件
  • 添加了dockerfile

更多IoT技术分享,请关注源码先生

About

OPC UA Server for the OPC UA Companion Specification for Animals - A Tutorial

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 55.0%
  • CMake 42.1%
  • Dockerfile 2.9%