#alarm #watches #timex-datalink

bin+lib timex-datalink

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

1 unstable release

0.1.0 Mar 20, 2025

#258 in Audio

Download history 127/week @ 2025-03-20 1/week @ 2025-03-27

128 downloads per month

MIT license

180KB
3.5K SLoC

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


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.)

Dependencies

~4–8MB
~148K SLoC