Skip to content

5.0.0

Compare
Choose a tag to compare
@Rickedb Rickedb released this 06 Jun 05:28
· 117 commits to master since this release

Breaking changes

  • HeaderData property from Mid class was renamed to Header only.
  • Header class is not inside Mid class anymore, so you should change from new Mid.Header() to new Header()
  • Fixed Header misconception of UsedAs, which is now StationId, SpindleId, SequenceNumber, NumberOfMessages,
  • MessageNumber, with this, it's now possible to use Link Level Acknowledging mentioned in issue #88
  • NoAckFlag is now a bool, not int?
  • Parsing Header changed accordingly with documentation:
    • Revision when empty, 0 or 1 is threated as revision 1 when parsing (Parse()). (#7)
    • Revision when 0 is threated as empty when packed (Pack()). (#44)
    • NoAckFlag when false is sent as empty, when true is sent as 1 ASCII character.
    • StationId when parsing, 0 or empty is threated as 1. When packed, only null is threated as empty.
    • SpindleId when parsing, 0 or empty is threated as 1. When packed, only null is threated as empty.

New features

  • Every mid now has constructor to set up Header property, which setter is also exposed to be manipulated publicly.

Related Issues