Skip to content

Latest commit

 

History

History
37 lines (26 loc) · 1 KB

README.md

File metadata and controls

37 lines (26 loc) · 1 KB

libits

Build Status crates.io

The Intelligent Transportation Systems (ITS) MQTT Rust package based on the JSON ETSI specification transcription.

Examples

By default, all example logs into ./log/<example>_rCURRENT.log You can inspect the logs using tail -F log/its-client_rCURRENT.log

json_counter

Subscribes to test.mosquitto.org and yields how much messages were received and the number of them that had JSON payload

cargo run --example json_counter

Logs are redirected to a file

tail -F log/json_counter_rCURRENT.log

copycat

Subscribes to ITS CAM and CPM messages, stores them and sends a copy 3 seconds later