Skip to content

Commit

Permalink
document 'raw' & 'http' in ser2net.conf
Browse files Browse the repository at this point in the history
  • Loading branch information
longshine committed Nov 29, 2013
1 parent a46cae5 commit 94bcba0
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions ser2net.conf
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,22 @@
# col on the port to set up telnet parameters. This
# is most useful for using telnet.
#
# rraw enables the port to initially connect to a
# remote endpoint, and transfer data to it (the
# opposite of raw), using timeout as reconnecting
# interval when connection fails.
#
# http enables the port and runs the HTTP/WebSocket
# protocol on the port.
#
# timeout
# The time (in seconds) before the port will be dis-
# connected if there is no activity on it. A zero
# value disables this function.
#
# In rraw state, the time will be used as reconnecti-
# on interval rather than disconnection timeout.
#
# device The name of the device to connect to. This
# must be in the form of /dev/<device>.
#
Expand Down Expand Up @@ -128,3 +139,5 @@ CLOSESTR:close1:close str\r\n
3006:telnet:0:/dev/ttyS5:9600 open1
3007:telnet:0:/dev/ttyS6:9600 close1
5001:rawlp:10:/dev/lp0
#9001:rraw:10:/dev/ttyACM0:38400
#9001:http:600:/dev/ttyS0:9600

0 comments on commit 94bcba0

Please sign in to comment.