How to capture real-time data from a COM port, and provide it to Wireshark, using named pipes on Windows 10?
I want to read data from COM port into a named pipe on Windows 10.
How is this a Wireshark question, it seems like a general programming question?
Yeah, but its a part of a named pipe which I want to add to Wireshark. I'm not able to figure out how to read the serial data into the named pipe. Could you please help? Thanks.
What's worse is that there are some protocol layers to implement between raw serial bytes and frames/packets which Wireshark can handle. So either you make your extcap send each serial byte as a separate "packet", and do this assembling of serial bytes into protocol frames using a dissector in Wireshark itself, or you have to implement the protocol handling layer in extcap and feed the queue with these higher layer protocol frames.