![]() The Wireshark application (and the batch-mode Tshark application) run under linux and interact with usbmon and actually capture the data. Linux has a facility called usbmon that permits capture of the USB protocol as the program reads and writes the serial port. Wine permits the application to use the USB cable connected to Linux. Wine and tshark/wireshark are part of most major Linux distributions and can be built for most others(Wine requires an Intel-compatible system.) We will use the Wine suite in Linux to provide a Windows API environment, and then run the manufacturer's software under Wine. There are ways to do this inside the Windows OS, but you may prefer to use a Linux system. We avoid this by intercepting the communications inside of the OS. Simple methods such as interposing a sniffer system may work, but some protocols have timing constraints that cause these methods to fail. To write a driver, we need to first analyze the radio's serial communications protocol. Use a small program to post-process the data into an easily-read form.Use Tshark (or Wireshark) to filter the captured data.use Wireshark (preferrably the Tshark variant) to capture the USB protocol interactions.Run the Windows program to be sniffed under Wine.
0 Comments
Leave a Reply. |