All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- [breaking] The driver now uses the v1.0 of the
embedded-hal
traits. - [breaking] The
FourWireRef
bus andDeviceRefMut
have been removed in favor of usingembedded-hal-bus
to facilitate SPI bus sharing. - [breaking] Updated to
embedded-nal
v0.8
- Add
defmt
features for enablingdefmt::Format
to most structs and errors by @elpiel (#39) - Fixed an issue where internal function names were conflicting with trait names by @ryan-summers (#36)
- Add
RetryTime
andRetryCount
common register methods toDevice
andUninitializedDevice
by @elpiel ([#54][PR54]) - Add
Udp::get_port
andUdp::set_port
by @elpiel (#57) - Add
RawDevice::enable_interrupts
(andclear_interrupts
,disable_interrupts
) for interrupt-driven MACRAW mode by @pdh11 (#60)
- Fixed an issue that caused corruption when reading partial MACRAW frames by @Felix-El (#47)
- Fixes
Udp
implementation to use the socket's ring buffers and include moreUdpSocketError
by @elpiel (#57)
- Fix indexing for phy configuration register by @Wassasin (#32)
- Add support for MACRAW operation mode by @ryan-summers (#33)
- Add support for 3-wire SPI bus (#15)
- Add constructors for network types (#21)
- Add method to change PHY configuration (#23)
- Add feature
no-chip-version-assertion
for compatible chips with unexpected version information - Add
MacAddress::octets()
- Add
impl From<[u8; 6]> for MacAddress
- Add
Device::deactivate
andInactiveDevice::activate
- Add re-export of
FourWireError
andThreeWireError
- Add
FourWireRef
to be able to useDevice
with borrowed SPI and CS - Add
DeviceRefMut
to be able to useDevice
without moving ownership - Add getter:
Device::{gateway,subnet_mask,mac,ip,version}
- Restructure and implement embedded-nal UDP trais (#26) - big thanks to @jonahd-g
- Add TCP client support (#24) - big thanks to @ryan-summers
- Updated dependencies (#22)
Mode
fields are now publicly acessible
- Cargo.lock (#20)
- Replace
net::Ipv4Addr
withembedded_nal::Ipv4Addr
- Require
v2::OutputPins
OutputPin
is now taken by ownership instead of mut refs #13
- Upgrade to Rust 2018 Edition
- Many doc updates, thanks @jonahbron