Skip to content

Instantly share code, notes, and snippets.

@assada
Last active August 7, 2023 20:55
Show Gist options
  • Save assada/580655b2e9abc39c716e951f6dfe990d to your computer and use it in GitHub Desktop.
Save assada/580655b2e9abc39c716e951f6dfe990d to your computer and use it in GitHub Desktop.
REM use hub4com-2.1.0.0-386
REM com0com setup:
REM
REM COM11 real device you want to "man in the middle"
REM virtual pair: COM5 CNCB0
REM virtual pair: COM7 CNCB1
REM
REM hook COM 11 to real device, hook COM5 to application, hook COM7 to monitoring app - eg.realterm
hub4com --route=0:1,2 --route=1:0,2 --octs=off --baud=9600 \\.\COM11 \\.\CNCB0 \\.\\CNCB1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment