wake-rs

wake-rs is a library written in Rust for encoding/decoding Wake protocol.

Wake is a serial communication protocol highly optimized for microcontrollers. It based on SLIP protocol (https://datatracker.ietf.org/doc/html/rfc1055).

debug_print

Main features

The protocol doesn't support:

Frame structure:

Frame structure

Integrations

There are many architecture-specific implementations:

in many languages:

Examples

  1. Demo - basic usage
  2. Serial - how to use with serial port
  3. Relay shield - real device communication

Build

Library

bash cargo build --release

Examples

bash cargo build --examples

Resources

Protocol description, libraries, and tools: http://www.leoniv.diod.club/articles/wake/wake.html

TODO

License

Code released under the MIT License.