0.25.0
Pre-release
Pre-release
Added
- New "Heap memory use" section in the README that discusses memory allocation functions.
- New RandomNumbers example.
- Added a README subsection that talks about the
RandomDevice
class. - Added
RandomDevice::instance()
. - Added
EthernetClient::status()
for getting the TCP connection state.
Changed
- Enabled the
MEM_LIBC_MALLOC
option by default to make use of the system-defined malloc functions instead of the lwIP-defined ones. - Moved around where the netif gets its address set.
- Changed the license to "AGPL-3.0-or-later".
- Made
RandomDevice
constructor and destructor private. - Improved unit tests.
- Updated lwIP to v2.2.0.
Removed
- Removed the
extern qindesign::security::RandomDevice randomDevice
instance from QNEthernet.h because the way to access the device now is via itsinstance()
function (the constructor is also private now). (It had been added in v0.23.0.)
Fixed
- Fixed
enet_init()
to always initialize the internal MAC address on first init. - Fixed execution error when running main.cpp (
MAIN_TEST_PROGRAM
macro defined) by removingbuild_type = debug
from platformio.ini. - Fixed static initialization order for
Ethernet
,EthernetFrame
, andMDNS
singletons by using the Nifty Counter idiom.