I use kplex on my mini-router Gl-inet GL-MT300N-V2 Mango with OpenWRT.
My data come from :
- original dAISy receiver
- Seatalk to USB converter
my kplex.conf:
[serial]
name=daisy
filename=/dev/ttyACM0
direction=in
baud=38400
optional=yes
[serial]
name=seatalk
filename=/dev/ttyUSB0
direction=in
baud=4800
optional=yes
[tcp]
mode=server
port=10110
direction=out
The dAISy needs a delay to come up after booting. I resolved putting a delay of 30" in /etc/rc.local before to call kplex.
I added
sleep 30
kplex &
at the end of /etc/rc.local
I do not start kplex as a service.
There is a better way to have a delay before to start kplex ?
Great job kplex ! Thank you Keit.
Sandro