Skip to content
This repository has been archived by the owner on Dec 16, 2023. It is now read-only.

v0-e/cits-message-craft

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

C-ITS Message Craft

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

Build

Using CMake/Make: mkdir build && cd build && cmake .. && make. Can then be installed with: sudo make install.

Usage

Converter

Run cits-mc conv -i in-encoding -o out-encoding -m message. JSON->* conversion currently not supported.

Generator

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

Playground

A WebAssembly version of this application can be tested out in craft.v0-e.com.

About

C-ITS message converter and generator

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published