0.36.0
Pre-release
Pre-release
Added
- Added
elapsedTime::reset()for resetting the timer back to zero. - Added
repassignment operator and constructor toelapsedTimefor assigning a count. - Added
elapsedTimeoperators that use a count. - Added a
settimeofday()implementation in the HAL for Teensy, gated on the newQNETHERNET_PROVIDE_TEENSY_SETTIMEOFDAYconfiguration macro. - Added
qnethernet_hal_entropy_available()function to the HAL. - Added
operator(buf, size)andavailable()toqindesign::security::random_device. - Added some basic entropy randomness quality tests.
- Added
QNETHERNET_ENABLE_RAW_FRAME_FILTER_HOOKoption for determining whether to route incoming frames directly to the raw frame handling machinery.
(Thanks to Folkert van Heusden for helping with this: #106 (comment))
Changed
- Enabled raw frame loopback by default, but not raw frame support.
- Changed SNTPClient example to assume that the
settimeofday()function exists. - Changed entropy functions to set
errnotoEIOinstead ofEAGAINon entropy generation failure. - Made the HAL's
qnethernet_hal_deinit_entropy()andqnethernet_hal_estimate entropy()weak. - Improved entropy and
qindesign::security::random_deviceAPIs. - Updated cppreference.com URLs.
- Moved driver C functions into namespace
qindesign::network::driver. - Moved entropy C functions into namespace
qindesign::entropy. - Changed
QNETHERNET_FLUSH_AFTER_WRITEtoQNETHERNET_FLUSH_AFTER_TCP_WRITE.
Removed
- Removed
qindesign::security::RandomDevicein favour of thestd::random_device-mimickingqindesign::security::random_device.
Fixed
- Fixed the ElapsedTime example to actually toggle the LED.
- Fixed Teensy 4.1 driver to clear the MAC address hash-collision bookkeeping when the driver is uninitialized.
- Fixed TRNG (entropy) access for lower operating frequencies, on Teensy 4.
- Fixed to add some
errnoassignments and update some related comments and docs. - Fixed TRNG initialization to use the correct macros.
- Fixed raw frame loopback to pass along broadcast frames.
(Thanks to Folkert van Heusden: #106 (comment)) - Fixed Teensy 4.1 driver to not overwrite output source MAC address.
(Thanks to Folkert van Heusden: #106 (comment)) - Fixed Teensy 4.1 driver to not calculate checksums when sending raw frames.
(Thanks to Folkert van Heusden: #106 (comment), #106 (comment)) - Fixed Ping to calculate the ICMP checkum if needed.