3.0.0-alpha
·
562 commits
to master
since this release
Added
- Short packet detection. These are packets that are smaller than 1196us.
- Ability to get the current transmitted packet size with
Sender::packetSize()
. - The concept of being connected in
Receiver
. There is a polling function,connected()
, and also a way to register a callback for when the state changes, viaonConnectChange
. - Associated with the concept of being connected in the receiver, and in addition to the improved BREAK plus MAB timing checks,
Receiver
now also checks for inter-slot and Mark before Break (MBB) IDLE times that are too long. Detecting these conditions will register as a change to the connected state. - Synchronous operation in
Receiver
. Using the newResponder
class, it's now possible to intercept, and even respond to, each packet as it comes in. - Two examples that use the new
Responder
feature:SIPHandler
andTextPacketHandler
.
Changed
- Renamed:
Sender::getRefreshRate()
toSender::refreshRate()
.Sender::getResumedRemaining()
toSender::resumedRemaining()
.
- The licence changed from BSD-3-Clause to BSD-3-Clause-Clear.
Fixed
- Documentation fixes.
- Improved packet timeout detection. It now detects when the BREAK plus MAB duration is too short, but not when they are individually too short.
- Added a define around the contents of
main.cpp
so that the project can be used in an Arduino environment. This prevents thesetup()
andloop()
definitions inmain.cpp
from interfering with the Arduino program. Receiver::get
now respects the current received packet size and behaves more similarly toReceiver::readPacket
.