Skip to content

Package for creating sunspec compliant server and client devices using the go programming language.

License

Notifications You must be signed in to change notification settings

TRICERA-energy/sunspec

Repository files navigation

Sunspec

License Go Report Card Go Reference

This package provides functions and definitions for creating sunspec compliant server and client devices using the go programming language.

Examples for using the package can be found here.

NOTICE: Currently only communication via modbus-TCP is supported.

Type system

Data types defined by the sunspec specification are represented in this library using their own custom interface. The package guarantees that point-type interfaces provided by the client or server also satisfy one of the type interfaces. This way assertion can be used to get explicit access to specific functionalities.

The following types are available:

sunspec.Int16
sunspec.Int32
sunspec.Int64
sunspec.Pad
sunspec.Sunssf
sunspec.Uint16
sunspec.Uint32
sunspec.Uint64
sunspec.Acc16
sunspec.Acc32
sunspec.Acc64
sunspec.Count
sunspec.Bitfield16
sunspec.Bitfield32
sunspec.Bitfield64
sunspec.Enum16
sunspec.Enum32
sunspec.String
sunspec.Float32
sunspec.Float64
sunspec.Ipaddr
sunspec.Ipv6addr
sunspec.Eui48

About

Package for creating sunspec compliant server and client devices using the go programming language.

Topics

Resources

License

Stars

Watchers

Forks

Languages