4.0.0-alpha.8
Pre-release
Pre-release
ssilverman
released this
05 Jan 07:18
·
182 commits
to master
since this release
Added
- Added an optional
rangeError
parameter toReceiver::get
to match the same parameter inReceiver::get16Bit
. Because the function returns a value, it provides a way to know whether a zero return value was because of an error. - New "Keep Short Packets" feature and associated
PacketStats::isShort
variable that allow callers to know when received packet data is part of a short packet, if kept. Also added newReceiver::setKeepShortPackets(bool)
andReceiver::isKeepShortPackets()
functions for setting and getting the feature state.
Changed
- Changed
util::IntervalTimer
to acceptstd::function
s for the trigger function. - Renamed
util::IntervalTimer
toutil::PeriodicTimer
. - Improved IDLE and timeout handling logic. It is the goal to be as accurate as possible.
Fixed
- Fixed
Receiver::packetStats()
andReceiver::errorStats()
to access the values atomically. - Changed
Receiver::setRXWatchPin(int)
to disable all interrupts instead of just the UART ones because the pin interrupt may have a different priority.