Help us shape the future of Go! Take the 2026 Go Developer Survey

ants

module
v0.0.0-...-9b39c02 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2015 License: GPL-3.0

README

ANTS - Let the ants handle your serial communication.

WARNING: This protocol is not ready for production use and is still in active development.

This protocol is an asynchronous binary data protocol for communication over e.g. serial ports. It takes care about synchronization, checksum validation and error handling. The end user is able to transmit data chunks without worrying about the communication layer. Other protocols can be easily build up based on the ANTS protocol.

The protocol can be found here

Support

Feel free to contribute to this project.

TODO

  • Protocol addition: check the PMSN for invalidity to ignore duplicate data messages.
  • Implement the thread-safe Golang libraries.
  • Implement an automatic test program to test new clients for a valid protocol implementation.
  • Test tool: create a test case to check if the peer DLE escaping was implemented right.

Directories

Path Synopsis
src
golang
Package ants - Let the ants handle your serial communication.
Package ants - Let the ants handle your serial communication.
golang/loopback
Package loopback is a small wrapper to provide an io.ReadWriteCloser interface which writes read data back.
Package loopback is a small wrapper to provide an io.ReadWriteCloser interface which writes read data back.
golang/serial
Package serial is a small wrapper to provide an io.ReadWriteCloser interface for serial port communication for the ANTS library.
Package serial is a small wrapper to provide an io.ReadWriteCloser interface for serial port communication for the ANTS library.

Jump to

Keyboard shortcuts

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