Use of the PTB generators

SAP Service Access Point code generator

generate sourcefile

generate source file

PDU Protocol Data Unit code generator

generate header file

generate inclusion file

Include the pdu_file.i in your pdu_file.C , where you implement encoding and decoding functions.

State Machine generator

generate header file

generate source file

about flags

-hfile file
filename of the generated header file
-cfile file
filename of the generated source file
-ifile file
filename of the generated inclusion file
-hname name
name of the header-file to #include in generated file to get needed C++ declarations

Notes on syntax