add modbus slave support
add modbus slave support
This commit is contained in:
9
components/connectivity/Modbus/3rdparty/freemodbus-v1.6/demo/STR71XTCP/utils/server.sh
vendored
Normal file
9
components/connectivity/Modbus/3rdparty/freemodbus-v1.6/demo/STR71XTCP/utils/server.sh
vendored
Normal 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
|
Reference in New Issue
Block a user