lumagen

command module
v0.0.0-...-faa60f5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 11, 2022 License: MIT Imports: 4 Imported by: 0

README

Lumagen Serial Module

This is a quick golang module to establish a serial session to a Lumagen Radiance Pro, and perform simple interactions. It currently only reads and parses messages from the Lumagen.

The monitor code will read serial input line by line and then pass these lines along to parsers, which can do what they want with the message or ignore it.

Currently, the only parser implemented is the handling of an I22 message per the Lumagen documentation. This parser identifies a line as an I22 message and parses it into a ZQI22Message struct. The developer can provide this parser a handler function that the ZQI22Message will be passed along to for further processing.

See main.go for an example.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL