Akagi201
2/15/2015 - 4:31 PM

serial-tool.md

mac

  • CoolTerm

linux串口监听

socat is a tool to connect (nearly) everything to (nearly) everything. In your usecase you could connect your serial port /dev/ttyS0 to a PTY /tmp/ttyV0, then point your application to the PTY, and have socat tee out Input and Output somewhere for you to observe.

Googling "socat serial port pty tee debug" will point you to several examples, one being:

Refs