0.26.0
Pre-release
Pre-release
Added
- Added
EthernetClient::localIP()
. - Added
EthernetClass::hostByName(hostname, ip)
convenience function. - Added
EthernetClass::setDNSServerIP(index, ip)
anddnsServerIP(index)
. - Added some support for Mbed TLS v2.x.x. There's four new adapter functions for assisting integration (see src/altcp_tls_adapter.cpp), included if the
QNETHERNET_ALTCP_TLS_ADAPTER
option is set:qnethernet_altcp_is_tls
qnethernet_altcp_tls_client_cert
qnethernet_altcp_tls_server_cert_count
qnethernet_altcp_tls_server_cert
- Added MbedTLSDemo example.
- Added printing the message size in LengthWidthServer example.
- Added
QNETHERNET_ENABLE_ALTCP_DEFAULT_FUNCTIONS
-gated default implementations of the altcp interface functions. - Added
EthernetClass::macAddress()
for returning a pointer to the current MAC address.
Changed
- Updated lwIP to the latest master (5e3268cf).
- Made the driver non-blocking:
- TX: if there's no available buffer descriptors (returns ERR_WOULDBLOCK)
- Link checks via MDIO
- Updated the tests:
- Added a 10s connection timeout to
test_client_addr_info()
- Added SNTP retries to
test_udp()
- Updated and added some messages
- Added a 10s connection timeout to
- Made
MDNSClass::Service::operator==()
const
. - Completely revamped PHY and pin initialization.
- Gated PHY and Ethernet shutdown in
EthernetClass::end()
with a macro; the default behaviour is to not execute these blocks. This and the previous are part of the quest to figure out why performance drops off a cliff when Ethernet is restarted via first callingend()
. - Changed return type of
qnethernet_get_allocator
tobool
. - Renamed
qnethernet_get_allocator
andqnethernet_free_allocator
toqnetheret_altcp_get_allocator
andqnethernet_altcp_free_allocator
, respectively. - Changed
qnethernet_get_allocator
andqnethernet_free_allocator
allocator
parameter to be a reference. - Renamed
QNETHERNET_MEMORY_IN_RAM1
toQNETHERNET_LWIP_MEMORY_IN_RAM1
. - Updated the AltcpTemplate example.
- Fixed
IPAddress
-related build problems with the new Teensyduino 1.54-beta4. - Updated the RawFrameMonitor example with information about how to disable DHCP.
- Disabled waiting in
EthernetClient::close()
for altcp clients because it's not defined. - Changed configuration macro checks to use value instead of definedness.
Fixed
- Fixed a
printf
conversion specifier in the RandomNumbers example. This was causing a compile warning. - Fixed location of STATIC_INIT_DECL() for
RandomDevice
by putting it into the header. It needs to be in a place where users of the class see it. - Fixed
EthernetClass::setMACAddress()
for when the interface is up.