TSN.1 Compiler
![]() |
Automate your message parser developmentOverview | Documentation | Edition | Purchase | Download |
Features & Benefits
- New: Generate Python code
- Generate Wireshark dissectors from TSN.1
- Automation significantly reduces your software development time and makes large code base easy to maintain.
- Code is 100% ANSI C/C++ and compiles "as is" on most development platforms.
- Code runs on both 32-bit and 64-bit processors and works transparently on big and little endian machines.
- Code is fully re-entrant, thread-safe, and optimized for embedded applications.
- Code can be highly space efficient compared to handwritten parsers.
Overview
The TSN.1 Compiler (Pat. 7,818,732) takes TSN.1 specifications as input and produces C/C++/Java/Python/Wireshark/XML Schema/JSON Schema code as output. The Compiler also comes with the TSN.1 Compiler Runtime Library, which implements the common message operations such as pack, unpack, print, etc. The generated files, when compiled and linked with the Runtime Library, provide the complete solution for working with the TSN.1 messages. The C/C++ code generation is illustrated below:
Documentation
The usage of the TSN.1 Compiler and its Runtime Library API is documented in the TSN.1 Compiler User's Manual and the syntax and semantics of TSN.1 is described in the TSN.1 Specification.
Edition
The TSN.1 Compiler comes in two editions: Wireshark, and Professional. The feature matrix below shows the difference among the editions.
Feature | Wireshark | Professional |
---|---|---|
Generate Wireshark dissectors | ![]() |
![]() |
Generate C code | ![]() |
|
Generate C++ code | ![]() |
|
Generate C/C++ packed structs | ![]() |
|
Generate Java code | ![]() |
|
Generate Python code | ![]() |
|
Generate XML Schema | ![]() |
|
Generate JSON Schema | ![]() |