Mercurial > hg > index.cgi
view README @ 10:36c4cda4b6c4
Add extension support with the PINGPONG extension
Add extension support. There are two ways to add extensions:
1. as a shared object which will be loaded with ext=<filename> as a
parameter to lwwire. See the lwwire_pingpong.c file for details.
2. By doing basically the same thing as a shared object but linking it into
the main binary and calling lwwire_register_extension() appropriately.
author | William Astle <lost@l-w.ca> |
---|---|
date | Sat, 30 Jul 2016 13:16:39 -0600 |
parents | bef2801ac83e |
children |
line wrap: on
line source
The docs/ folder contains protocol documentation for lwwire. The src/ folder contains a reference protocol implementation. This is NOT intended for casual users. It is meant to serve as an illustration of how the protocol can be implemented and serves as a means to test features. The reference implementation does not contain a fancy GUI, configuration file handler, or even serial or TCP port handling. It simply operates the protocol on stdin and stdout and prints diagnostics to stderr. A tool like socat can be used to link it to a TCP port. Similar tools might be used to link it to a serial port.