desowin / usbpcap

USB packet capture for Windows
http://desowin.org/usbpcap
896 stars 170 forks source link

capture serial data using USBPcap #108

Open BMWE opened 3 years ago

BMWE commented 3 years ago

Hi,

Few weeks ago I've made some test: Using USBPcap and I've used to capture RS232 and RS422 data. I've used RS to USB convertor.

For RS232, the data was textual. Each row that I've seen on the terminal was as single frame on the wireshark. For RS422, the data was binary. Each byte that was sent, was as single frame in the wireshark. Any idea how to solve the issue for the RS422 so that the whole message would be as single frame?

(If I'm not wrong for RS422->USB I've used the ATEN adapter. No idea which one was used for the RS232).

desowin commented 3 years ago

To achieve what you want you would have to either change the serial converter driver and/or application. USBPcap itself cannot really influence the traffic in any way.

If the converter is FTDI FT based one:

If the converter uses some different chip, you could probably write Wireshark dissector for it.