Telecom software modules provides primitive to user modules. Usually these primitives are implemented as messages. Framework may exist to delivery these messages between software modules. Message Queue, Socket other mechanism can be used to send these primitive messages. It is always good to provide encode and decode logic which converts the message to intermediate format which can be sent across the process using socket, message queue etc. This also should take care of endian so that each software modules can run on the any processor etc. It is also possible testing framework may run on one endian and system under testing module may run on another endian. In this situation also encode/decode logic helps. It is always good to develop wireshark dissector of those messages which helps debugging.
It is always good to automate development of these messages, encode/decode logic and wireshark dissector development. We can define simple format for defining message structure may be in csv format. A script can take this csv format as input and can generate header file for the message and implementation for encode/decode. Another script can take same csv format file as input and can generate source code for wireshark dissector which can be integrated with wireshark.
Following path takes to the location of sample script which does above job(todo).
It is always good to automate development of these messages, encode/decode logic and wireshark dissector development. We can define simple format for defining message structure may be in csv format. A script can take this csv format as input and can generate header file for the message and implementation for encode/decode. Another script can take same csv format file as input and can generate source code for wireshark dissector which can be integrated with wireshark.
Following path takes to the location of sample script which does above job(todo).