Skip to content

Releases: amcelroy/flem-rs

0.6.2

29 Nov 21:15
74276f2
Compare
Choose a tag to compare
  • Added feature = ["std"]
  • Added Channel trait. This trait requires features = ["std"]. It servers as a set of traits that can be used to implement different hardware or to emulate a device. It uses the std library for threading and mpsc channels.
  • Added examples to show how to emulate a device use the Channel trait.

0.6.0

03 Nov 16:21
3a946af
Compare
Choose a tag to compare

What's Changed

Changelog 0.6.0 (from 0.5.0)

  • Requests are now 2 byte u16 instead of 1 byte u8
  • Responses are now 2 byte u16 instead of 1 byte u8
  • Events are no longer a concept. Instead, each device should check incoming packets
    for requests and handle those as normal. This should simplify code and prevent
    accidentally mixing requests / responses / events.
  • Built in responses have changed: Busy was removed, and SUCCESS was moved from 0x00 to 0x0001. ASYNC is now 0x0000 and represents a packet being sent without asking and is the default option upon a packet reset
    or instantiation.
  • Updated unit tests and examples

Full Changelog: 0.5.0...0.6.0