Skip to content
forked from gopcua/opcua

[WIP] Simple OPC UA implementation in Go Programming Language

License

Notifications You must be signed in to change notification settings

dwhutchison/gopcua

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gopcua

CircleCI

GoDoc GitHub

gopcua provides easy and painless encoding/decoding of OPC UA protocol in pure Golang.

Disclaimer

THIS IS STILL EXPERIMENTAL PROJECT, ANY IMPLEMENTATION INCLUDING EXPORTED APIs MAY CHANGE DRASTICALLY IN THE FUTURE

Quickstart

See example directory for sample codes.

Run

git clone https://github.com/wmnsk/gopcua.git
cd examples/sender
go run sender.go --ip <dst IP> --port <dst Port> --url "opc.tcp://endpoint.example/gopcua/server"

Roadmap

(To be written more precisely...)

  • Protocol definitions
    • OPC UA Connection Protocol
      • Interface to handle all messages
      • Header
      • Hello
      • Acknowledge
      • Error
      • Reverse Hello
    • OPC UA Secure Conversation
      • Message header
      • Asymmetric algorithm Security header
      • Symmetric algorithm Security header
      • Sequence header
      • Message footer
    • Service Implementation
      • Interface to handle all services
      • Open Secure Channel Request / Response
      • Close Secure Channel Request / Response
      • Get Endpoints Request / Response
      • Create Session Request / Response
      • Activate Session Request / Response
      • XXX...
  • State Machine
    • Implement net.Conn
    • XXX...
  • Others
    • Documentation (improve GoDoc, README)
    • Integrated way to handle common errors
    • XXX...

Author

Yoshiyuki Kurauchi (GitHub / Twitter)

BMC

License

MIT

About

[WIP] Simple OPC UA implementation in Go Programming Language

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%