Releases: bakercp/PacketSerial
Releases · bakercp/PacketSerial
1.5.0-pre
Adds a user context variable for callback functions.
1.4.0
1.3.0
[1.3.0] 2019-07-25
Removed
- Remove the
void begin(unsigned long speed, size_t port)
function. - Remove the
void begin(Stream* stream)
function. while(!SerialX)
line whenCORE_TEENSY
is defined. This was leading to unexpected behavior where programs would not start until a serial connection was opened.
Added
- Lambda function packetHandler examples and documentation.
- Add
bool overflow() const
to check for a receive buffer overflow. - Added API documentation @ http://bakercp.github.io/PacketSerial/
Changed
- Updated README.md, fixed spelling error, added links, docs.
- Rewrote SLIP enum in terms of decimal notation for consistency.
- Updated documentation folder, .github structure.
- Updated CI testing.
1.2.0
[1.2.0] 2017-11-09
Added
- An additional PacketHandler pointer type that includes the sender's pointer e.g.
void onPacketReceived(const void* sender, const uint8_t* buffer, size_t size)
. Either functions can be set. CallingsetPacketHandler()
will always remove all previous function pointers.
Removed
- Deprecated all but one basic
void begin(Stream* stream)
function. Usevoid setStream(Stream* stream)
instead. - Reverted void
PacketSerial_::begin(unsigned long speed, uint8_t config, size_t port)
.
Changed
- Updated README.md, fixed errors, spelling and updated examples.
1.1.0
[1.1.0] 2017-11-09
Added
- Additional inline documentation.
- Added doxygen configuration file.
- Added CHANGELOG.md file.
- Added the
void PacketSerial_::begin(unsigned long speed, uint8_t config, size_t port)
method to avoid confusion with the standardSerial.begin(unsigned long speed, uint8_t config)
.
Changed
- Updated README.md, fixed errors, spelling, byte counts, etc.
- Updated documentation / comments in documentation for clarity.
Removed
- Deprecated the
void begin(unsigned long speed, size_t port)
method because it could be confused with the standardSerial.begin(unsigned long speed, uint8_t config)
method.
Fixed
- Fixed Duplicated SLIP END Packet #11
- Fix types to remove warnings in examples.
- Add
const
qualifier to thesend()
method.
Security
- None