Releases: newAM/w5500-rs
Releases · newAM/w5500-rs
dhcp version 0.4.0
Added
- Added a small cache for DHCP options to reduce redundant socket IO.
- Added support for renewing and rebinding an existing lease.
- Added
Client.set_timeout
to set the timeout duration. - Added
Client.leased_ip
to access the IP address provided by the DHCP server.
Changed
- Decreased link-up polling interval from 2 seconds to 1 second.
- Changed the default timeout from 11 seconds to 5 seconds.
Removed
- Removed
Client.is_bound
, useClient.has_lease
instead.
ll version 0.10.3
Added
- Added
sn_tx_buf
andset_sn_rx_buf
methods to theRegisters
trait.
regsim version 0.1.0-alpha.8
Added
- Added handling for
set_sn_rxbuf_size
andset_sn_txbuf_size
. - Added
W5500.socket_buffer_logging
to disable socket buffer logging at runtime.
Changed
- Increased the verbosity of RX buffer overflow from
warn
toerror
.
ll version 0.10.2
Added
- Added
Sn::iter()
which returns an iterator over all socket numbers.
hl version 0.8.0
Added
- Added APIs for streaming IO to the socket buffers.
- Added an
Error
type to supportread_exact
andwrite_all
methods. - Added a
UdpHeader
type. - Added a
Hostname
type for use with DNS and DHCP.
Changed
- Changed all methods that return a
usize
of the bytes read / written to return au16
instead. This helps avoid lossy conversions fromusize
tou16
in some applications. - Changed
udp_peek_from
to return(u16, UdpHeader)
instead of(u16, SocketAddrV4)
. - Changed
udp_peek_from_header
to returnUdpHeader
instead of(u16, SocketAddrV4)
.
Removed
- Removed the
nb
dependency to consolidate error types.- To update replace
nb::block!
withw5500_hl::block!
for these methods:udp_peek_from_header
udp_peek_from
udp_recv_from
- To update replace
dhcp version 0.3.0
Added
- Added
Client.setup_socket
to setup socket the socket. - Added
Client.dns
andClient.ntp
to get the DNS and NTP server IPs provided by the DHCP server.
Changed
- Changed
w5500_dhcp::Error
tow5500_hl::Error
. - Changed DHCP packet processing from a local buffer to streaming from the W5500 socket buffer.
Client::new
no longer accepts abuf
argument.
- Changed the
Dhcp
structure name toClient
.- The structure previously named
Client
has been removed.
- The structure previously named
- Changed the type of the
hostname
argument inClient::new
from an unvalidated&str
to a validatedHostname
. - Changed hostnames in
Client
from'static
to a generic lifetime. - Changed
State
from public to private. - Improved handling for a physically broken link.
- Renamed
DHCP_DESTINATION_PORT
toDST_PORT
. - Renamed
DHCP_SOURCE_PORT
toSRC_PORT
.
Removed
- Removed
on_recv_interrupt
, useprocess
instead. - Removed
poll
, useprocess
instead.
Fixed
- Fixed handling for receiving multiple consecutive packets.
regsim version 0.1.0-alpha.7
Fixed
- Fixed UDP sockets binding to
dport
instead ofport
. - Fixed UDP sockets binding to
0.0.0.0
instead ofsipr
. - Fixed
SocketCommand::Send
not updating thesn_tx_rd
pointer. - Fixed
set_sn_ir
not clearing socket interrupts. - Fixed overflow handling for socket RX buffers.
Removed
- Removed an unused warning about the UDP socket buffer size.