0.17.0
Pre-release
Pre-release
Added
- The library now, by default, puts the RX and TX buffers in RAM2 (DMAMEM). This behaviour can be overridden by defining the new
QNETHERNET_BUFFERS_IN_RAM1
macro. - Added separate
stderr
output support with the newstderrPrint
variable. If set to NULL,stderr
defaults to the usualstdPrint
. - Added
MDNSClass::operator bool()
for determining whether mDNS has been started. - Added
MDNSClass::restart()
for when a cable has been disconnected for a while and then reconnected. - Added
EthernetFrameClass::setReceiveQueueSize(size)
for setting the receive queue size. This replaces theQNETHERNET_FRAME_QUEUE_SIZE
macro. - Added a way to disable raw frame support: define the new
QNETHERNET_DISABLE_RAW_FRAME_SUPPORT
macro. - Added a "Complete list of features" section to the README.
- Added
MDNSClass::hostname()
for returning the hostname of the responder, if running. - Added
EthernetUDP::operator bool()
. - Added an already-started check to
MDNSClass
. - New section in the README: "
operator bool()
andexplicit
". It addresses problems that may arise withexplicit operator bool()
. - Added
EthernetClient::connectionId()
for identifying connections across possibly multipleEthernetClient
objects. - Added
EthernetClass::isDHCPActive()
.
Changed
- Improved error code messages in
lwip_strerr(err)
. This is used whenLWIP_DEBUG
is defined. - Now shutting down mDNS too in
EthernetClass::end()
. - Now using overloads instead of default arguments in
EthernetClass
andEthernetUDP
. - Changed
EthernetClass
andMDNSClass
String
functions to takeconst char *
instead. - Made all
operator bool()
functionsexplicit
.
See: https://en.cppreference.com/w/cpp/language/implicit_conversion#The_safe_bool_problem MDNSClass::removeService()
now returnsfalse
instead oftrue
if mDNS has not been started.- Enable definition of certain macros in
lwipopts.h
from the command line. - Changed API uses of
unsigned char
touint8_t
, for consistency.
Removed
- Removed the
QNETHERNET_FRAME_QUEUE_SIZE
macro and replaced it withEthernetFrame.setReceiveQueueSize(size)
.
Fixed
- Disallow
stdin
in_write()
.