Hi all,
I just committed some changes to the code-generation.
Here a little summary:
* First of all the IO modules are no longer real objects … the parse and
serialize methods are now static.
* The reason for this was that otherwise I ran into
stack-overflow-errors as soon as there are types embedded in themselves (Like
in BACnet)
* Also it simplifies the code a lot
* I noticed there’s actually no need to support an Interface in this case
* I added a new PcapChannelFactory which can be used as alternate input for
a RawSocketDriverBase
* This allows to provide the input to a passive mode driver by providing
a PCAP capture file.
* This way all you need to develop a passive mode driver is a WireShark
capture of the traffic and you no longer need direct physical access to it
* You can speed up and slow down the replay
I am now thinking of adding a new field type “enum” as currently there is no
way to use the Enum types in a language spec. So hopefully the “enum” field
will make this possible.
Chris