Crates.io | sportident |
lib.rs | sportident |
version | 0.0.9 |
source | src |
created_at | 2024-06-01 14:56:25.053478 |
updated_at | 2024-06-22 21:22:39.028978 |
description | Interact with Sportident in rust with ease. |
homepage | |
repository | https://github.com/yogevm15/sportident-rs |
max_upload_size | |
id | 1258726 |
size | 209,558 |
sportident-rs
is a Rust crate that provides an implementation of the SportIdent reader protocol, allowing you to
communicate with SportIdent devices via a serial port connection. SportIdent is a widely used timing system in various
sports, such as orienteering, skiing, and running events.
Connect to a reader:
let reader = sportident::Reader::connect("/dev/ttyUSB0")
.await
.expect("failed to connect");
Poll card:
reader.poll_card()
.await
.expect("failed to poll card");