>
> -----Original Message-----
> From: hasna dahnini [mailto:hasna_dahnini@xxxxxxxxxxx]
> Sent: den 7 december 2004 13:37
> To: ethereal-dev@xxxxxxxxxxxx
> Subject: [Ethereal-dev] PROFIBUS Protocol
>
>
> Hi list,
>
> I'm looking for an existing protocol on Ethereal which will permit me to
> help me for the development of a PROFIBUS dissector. In fact, I'm looking
> for a protocol near PROFIBUS.
>
It's not all about a simple dissector. You will first of all need have to think about adding a new media type to Ethereal, see http://www.ethereal.com/media.html for a list of current media types. As you might notice, the media types listed are LAN types while PROFIBUS is a field bus (however, the differences should be minor).
The mostly used media type today is Ethernet. A lot of protocols (and protocol dissectors) Ethereal provides today will work upon Ethernet.
PROFIBUS uses a different media type (namely it's own PROFIBUS media type not yet defined in Ethereal) based on RS485 hardware.
So first of all, you will need to find a way to get the PROFIBUS capture data into Ethereal (both for file I/O and probably later capturing from some PROFIBUS cards). Then the next step would be to implement some PROFIBUS dissectors (as PROFIBUS today is a collection of protocols like DP and others).
You could define a completely new capturing file format for PROFIBUS, or use an already existing one (like the libpcap file format).
After all: What are trying to do?
Regards, ULFL
P.S: Adding PROFIBUS dissection to Ethereal will be a *lot* of work, however, you might learn a lot :-)
P.P.S: PROFINET is Ethernet based and therefore a completely different thing compared to PROFIBUS!
__________________________________________________________
Mit WEB.DE FreePhone mit hoechster Qualitaet ab 0 Ct./Min.
weltweit telefonieren! http://freephone.web.de/?mc=021201