Ethereal

Re: [Ethereal-dev] Re: Getting signal from USB port
Google
 
Web Ethereal.com

Home | Introduction | Documentation | Lists | FAQ | Development | Wiki | Bugs

Ethereal-dev: February 2005


hasna dahnini wrote:

I've yet developed a Profibus dissector that is able to analyse Profibus signals stored in a file. Now, I want to think on the link between an hard system that gets the signals on a real network and send them into a PC through a USB port. Moreover, my hard system will work with different network protocols and not only Profibus. Therefore, I choose Ethereal as network analyser. And, I don't know how I can get signals on my PC !

I can't help you on the issue of how to get the Profibus signals over the USB bus to your PC; Ethereal doesn't have any code that does capturing directly, it relies on libpcap/WinPcap, and the OS/driver code libpcap/WinPcap uses, to do that.


If you have a file format for the Profibus signals, you'd have to write code for Ethereal to read those files in the Wiretap library (in the "wiretap" subdirectory - I'd suggest that you arrange that the Profibus files have a "magic number" at the beginning, so that Wiretap can easily determine the type of the file), define a Wiretap encapsulation type for Profibus, and add Ethereal dissector code that registers for that encapsulation type.


Powered by MHonArc 2.6.10