config ser2net global
|
|
option enabled 1
|
|
|
|
config controlport
|
|
option enabled 0
|
|
option host localhost
|
|
option port 2000
|
|
|
|
config default
|
|
option speed 115200
|
|
option databits 8
|
|
option parity 'none'
|
|
option stopbits 1
|
|
option rtscts false
|
|
option local false
|
|
option remctl true
|
|
|
|
#config led rx
|
|
# option driver sysfs
|
|
# option device 'duckbill:green:rs485'
|
|
# option duration 20
|
|
# option state 1
|
|
|
|
#config led tx
|
|
# option driver sysfs
|
|
# option device 'duckbill:red:rs485'
|
|
# option duration 20
|
|
# option state 1
|
|
|
|
config proxy
|
|
option enabled 0
|
|
option port 5000
|
|
option protocol telnet
|
|
option timeout 0
|
|
option device '/dev/ttyAPP0'
|
|
option baudrate 115200
|
|
option databits 8
|
|
option parity 'none'
|
|
option stopbits 1
|
|
# option led_tx 'tx'
|
|
# option led_rx 'rx'
|
|
option rtscts false
|
|
option local false
|
|
option xonxoff false
|
|
list options ''
|
|
|
|
config proxy
|
|
option enabled 0
|
|
option port 5001
|
|
option protocol telnet
|
|
option timeout 0
|
|
option device '/dev/ttyUSB0'
|
|
option baudrate 115200
|
|
option databits 8
|
|
option parity 'none'
|
|
option stopbits 1
|
|
|
|
config proxy
|
|
option enabled 0
|
|
option port 5002
|
|
option protocol raw
|
|
option timeout 0
|
|
option device '/dev/ttyUSB1'
|
|
option baudrate 9600
|
|
option databits 8
|
|
option parity 'none'
|
|
option stopbits 1
|