Skip to content

Releases: bakercp/PacketSerial

1.5.0-pre

15 Oct 15:47
002b0f6
Compare
Choose a tag to compare
1.5.0-pre Pre-release
Pre-release

Adds a user context variable for callback functions.

1.4.0

26 Jul 17:50
Compare
Choose a tag to compare

[1.4.0] 2019-07-26

Added

  • Added const Stream* getStream() const and Stream* getStream() methods. Thanks @orgicus.

Changed

  • Updated README.

1.3.0

25 Jul 07:04
Compare
Choose a tag to compare

[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 when CORE_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

10 Nov 05:41
Compare
Choose a tag to compare

[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. Calling setPacketHandler() will always remove all previous function pointers.

Removed

  • Deprecated all but one basic void begin(Stream* stream) function. Use void 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

09 Nov 23:18
Compare
Choose a tag to compare

[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 standard Serial.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 standard Serial.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 the send() method.

Security

  • None

1.0.2

18 Oct 18:16
Compare
Choose a tag to compare

1.0.1

16 Oct 02:54
Compare
Choose a tag to compare

1.0.0

16 Oct 01:00
Compare
Choose a tag to compare

1.0

01 Jan 15:18
Compare
Choose a tag to compare
1.0
v1.0

Update library.properties