9 releases

0.0.9 Jun 22, 2024
0.0.8 Jun 22, 2024

#539 in Hardware support

Apache-2.0

175KB
1.5K SLoC

crates.io version badge Documentation

Introduction

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.

Features

  • Poll card and read punch data (Supports: Si8, Si9, Si10, Si11, Siac, pCard, ComCard Up/Pro).

Roadmap

  • Configure SportIdent stations (set time, clear memory, etc.)
  • Configure SportIdent cards (set name, email, etc.)

Usage

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");

Dependencies

~6–19MB
~198K SLoC