The new HTML interface |
I've also used libledborg to not only build the new ledborg-server, but to also build a separate client package, imaginatively titled ledborg-client. This is a simple command-line client that could be called from scripts to communicate with the ledborg-server.
ross@raikkonen:~$ ledborg_client --help
Usage:
ledborg_client [OPTION...]
LedBorg Client 0.1.0 is a simple command-line client that allows
network control of an LedBorg add-on for the Raspberry Pi
by talking to LedBorg Server
Help Options:
-?, --help Show help options
Application Options:
-p, --port Specify which port to connect on
-h, --host=HOSTNAME or IPADDRESS Specify the LedBorg server to connect to
-c, --colour=LEDBORG COLOUR TRIPLET Specify the colour to send to the server
-o, --operation=get/set Operation to perform
-V, --version Show version information
Usage:
ledborg_client [OPTION...]
LedBorg Client 0.1.0 is a simple command-line client that allows
network control of an LedBorg add-on for the Raspberry Pi
by talking to LedBorg Server
Help Options:
-?, --help Show help options
Application Options:
-p, --port Specify which port to connect on
-h, --host=HOSTNAME or IPADDRESS Specify the LedBorg server to connect to
-c, --colour=LEDBORG COLOUR TRIPLET Specify the colour to send to the server
-o, --operation=get/set Operation to perform
-V, --version Show version information
Both of these new packages have been developed using the GNU build system (autotools), which has been a bigger learning curve than Vala itself! In addition, to complete the learning experience, I've been using the git SCM to manage the code.
Android ledborg client |
The source code to all three packages is now available on github.
- libledborg and ledborg-server: https://github.com/themightyug/ledborg-server
- ledborg-client: https://github.com/themightyug/ledborg-client
- android-ledborg-client: https://github.com/themightyug/android-ledborg-client