Download from https://www.arduino.cc/en/Main/Software and install.
I used Version 1.6.9 / Windows Installer.
Follow Instructions on http://mrrwa.org/download/ for download and import.
Download latested LbServer_0.NN_Win32_Setup.zip
from
https://sourceforge.net/projects/loconetovertcp/files/LbServer/,
unzip and execute setup.exe
.
Download latested LbServer_0.NN_Source.zip
from https://sourceforge.net/projects/loconetovertcp/files/LbServer/, unzip,
build and execute make install
. You can validate the installation by starting
the help screen of LbServer with LbServer -h
.
$ unzip LbServer_0.11_Source.zip
$ cd LbServer_0.11_Source/server/LbServer/
$ make
g++ -pipe -Wall -W -O2 -g -fexceptions ...
$ sudo make install
strip --strip-all Debug/LbServer -o Release/LbServer
cp Release/LbServer /usr/local/bin/
$ LbServer -h
LocoBuffer Server version 0.11.0.0, for protocol version 1, built Jul 6 2016,
released under GPL by Stefan Bormann. Linux port by Ian Cunningham.
...
$
Required:
Connect Arduino and Shield. Set Jumper RX and T6 on shield. Remove all other Jumpers.
Start LbServer
Start >> All Programs >> LocoNet over TCP >> LbServer
Connect some Clients and see if Receive and Send is working:
Start LbServer from a terminal with required arguments.
Connect some Clients
$ LbServer /dev/ttyACM0 1234 57600 false
LocoBuffer Server version 0.11.0.0, for protocol version 1, built Nov 21 2013,
released under GPL by Stefan Bormann. Linux port by Ian Cunningham.
Loconet device port opened on /dev/ttyACM0 with 57600 baud without CTS flow control.
Output uses single characters for increased performance:
R=received packet, .=nothing received but event was signaled :-(
s=send request, S=sent successfully, e=send error
C=client connected, D=client disconnected
RRRRRRCsRSRsRSsRSsRSsRSsRSsRSsRSsRSsRSRRRRRRsRSRsRSsRSRsRSsRSDRRRR