RuggedCom RuggedRouter RX1100 User Manual
Page 229

24. Configuring Serial Protocols
Revision 1.14.3
229
RX1000/RX1100™
type of decoding may be specified. The tool may also be used to force the port to transmit an output
test message. The following is an example of sertrace use:
RuggedRouter:~# sertrace -h
Trace Serial Protocol Server Activity
Usage: sertrace [-dtr] [-p portrange]
serserver -d protocol decode
serserver -t tcp level events
serserver -r raw packet display
serserver -p ports to capture (e.g 1,3,6-7)
serserver -s ports to send a test message out on (when 's' + Enter keys are
pressed)
In the absence of parameters, all decoding on all ports is provided.
RuggedRouter:~# sertrace -p 1 -s 1
10:56:18.405 TCPCONN Listening on TCP Port 50002 from port 1
10:56:19.944 TCPCONN Connection opened from 10.0.10.236 4991:50002
s
10:56:47.497 RAWSOCKET Transmitting message on port 1, length 44
74 68 65 20 71 75 69 63 6b 20 62 72 6f 77 6e 20 the quick brown
66 6f 78 20 6a 75 6d 70 65 64 20 6f 76 65 72 20 fox jumped over
74 68 65 20 6c 61 7a 79 20 64 6f 67 the lazy dog
10:56:47.545 RAWSOCKET Received message on port 1, length 44 (31ms) by timer
74 68 65 20 71 75 69 63 6b 20 62 72 6f 77 6e 20 the quick brown
66 6f 78 20 6a 75 6d 70 65 64 20 6f 76 65 72 20 fox jumped over
74 68 65 20 6c 61 7a 79 20 64 6f 67 the lazy dog
10:56:47.545 TCPCONN Tx Data from port 1 44b to 10.0.10.236 4991:50002