C-ITS message converter and random generator. Based on vlm/asn1c - mouse07410's fork.
Currently supported types:
- CAM v2
- DENM v2
Currently supported encodings:
- XML
- JSON
- UPER
- OER
- BER
- DER
Using CMake/Make: mkdir build && cd build && cmake .. && make
. Can then be installed with: sudo make install
.
Run cits-mc conv -i in-encoding -o out-encoding -m message
. JSON->* conversion currently not supported.
Run cits-mc gen -t message-type -e out-encoding
.
Optional fields:
--station-id=INTEGER
--latitude=REAL
--longitude=REAL
--altitude=REAL
--station-type=INTEGER
--cause-code=INTEGER
--sub-cause-code=INTEGER
A WebAssembly version of this application can be tested out in craft.v0-e.com.