#protocols #data-link #watches #alarm #adapter #timex

bin+lib timex-datalink

Rust implementation of the Timex Datalink protocol for communicating with Timex watches

1 unstable release

new 0.1.0 Mar 20, 2025

#2 in #datalink

Download history 100/week @ 2025-03-16

100 downloads per month

MIT license

180KB
3.5K SLoC

Timex Datalink Rust Library

This is a Rust implementation of the Timex Datalink protocol, ported from the Ruby gem timex_datalink_client.

Running Examples

The repository includes example code for Protocol 4 watches:

# Run the Protocol 4 example with a watch connected to /dev/ttyACM0
cargo run --example protocol4_example /dev/ttyACM0

Replace /dev/ttyACM0 with the appropriate port where your Datalink USB adapter is connected.

Features

  • Protocol 4 implementation
  • NotebookAdapter for serial communication with Timex watches
  • Character encoding utilities
  • Support for various data types (Time, Alarms, Appointments, etc.)

lib.rs:

Timex-datalink client library in rust This is a port of the ruby timex_datalink_client gem.

Dependencies

~4–8MB
~149K SLoC