Skip to content

Serial port PCAP capture tool not just for Modbus-RTU

License

Notifications You must be signed in to change notification settings

j123b567/SerialPCAP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Serial port capture to PCAP

This tool can capture serial port traffic and store all data in PCAP format. It is later possible to open it by Wireshark and analyze it.

This tool was created to capture Modbus-RTU on RS-485 but can be used to any other similar traffic.

Tutorial on using this capture is on YouTube https://www.youtube.com/watch?v=YtudbhexPv8

Tool is only for command line, usage: serialpcap <portName> [<baudRate> [<frameGapMs]]

  • portName is name of the port, e.g. COM1, /dev/ttyUSB0, ...
  • baudrate is speed of the serial port (default 9600)
  • frameGapMs is gap between frames in ms (default 10)

About

Serial port PCAP capture tool not just for Modbus-RTU

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages