add modbus slave support

add modbus slave support
This commit is contained in:
Supowang1989
2020-02-24 21:40:06 +08:00
parent 79be128f5f
commit ef82dbfc6d
1129 changed files with 295648 additions and 1776 deletions

View File

@@ -0,0 +1,9 @@
# ---------------------------------------------------------------------------
# server.sh - starts a local PPP server to connect with the target.
#
# Autor: Christian Walter
# ---------------------------------------------------------------------------
SER_DEV="/dev/ttyUSB0"
SER_SPEED="115200"
stty raw -parenb cs8 -cstopb -F $SER_DEV
/usr/sbin/pppd debug nodetach $SER_DEV $SER_SPEED