finds.dev← search

// the find

alongL/opcuaServer

C · updated Feb 2023

A opcua server implentmented by open62541. add data model and can be write by client.

A minimal single-file demo OPC UA server built on open62541, exposing a toy 'student' data model where some fields (age, height, weight) are client-writable and others (name, gender) aren't. It's aimed at someone trying to understand open62541's node/address-space and write-callback API without wading through the library's own scattered examples.

Shows the full write-callback lifecycle in one file: define a node, mark it writable or read-only, and react when a client changes a value — that's the part people usually struggle to piece together from open62541's docs. Uses string-indexed node IDs instead of only numeric ones, a detail most toy examples skip. Small enough to read start to finish in a few minutes.

Zero stars, zero forks, no commits since February 2023 — nothing suggests anyone besides the author has used this. Ships a vendored open62541.h amalgamation with no pinned version or submodule, so it'll quietly drift out of sync with upstream. No license file, no tests, and build instructions amount to 'type make'. No mention of OPC UA security policies or encryption, so there's no signal this is safe to use as a template beyond a localhost demo.

View on GitHub →

// want more like this?

We dig through GitHub every week and send a few repos picked for what you actually care about — each with an honest take like this one.

Get finds in your inbox → Search again →