Skip to content

Releases: adigostin/mstp-lib

v2.3

07 Mar 20:03
Compare
Choose a tag to compare

Library changes:

  • The library now re-enables learning and forwarding on all ports when STP is stopped.
  • Slightly reduced memory usage by removing some unused structure members.

Added sample embedded applications for the following platforms:

  • MK66F + KSZ8794
  • STM32 + 88E6352
  • TM4C129 + 88E6352

Changes in the Windows Simulator source code, mostly refactoring.

v2.2.2

23 Jun 13:55
Compare
Choose a tag to compare

The library calculates now also the Internal Port Path Cost from the link speed (it used to hardcode this cost to 200000) and has new functions for setting corresponding admin values.

v2.2.1

11 Jun 17:16
Compare
Choose a tag to compare

Fixed bug introduced in v2.2 that would sometimes prevent MSTIs from converging.

v2.2

30 May 19:09
Compare
Choose a tag to compare
  • Updated the library and all documentation to 802.1Q-2018 (the library implements LegacySTP and RSTP and MSTP, but not yet SPB).
  • Renamed all library files to begin with "stp_", and moved everything except the API to an "internal" directory.
  • Changes in STP_CALLBACKS:
    • Removed onNotifiedTopologyChange (no longer needed, flushFdb does its job well now).
    • Removed onConfigChanged (simulator stuff that's no longer needed).
    • Added enableBpduTrapping (details in StpCallback_EnableBpduTrapping.html).
    • Changed onTopologyChange to the operation required by the standard (it used to emulate some Cisco switch behavior).
  • Logging can now be disabled by compiling with STP_USE_LOG=0 (saves some microcontroller Flash).
  • Added another sample embedded app, one for a Marvell SOHO switch IC.
  • Plenty of improvements in the Simulator.
  • Fixed #14: Receiving a BPDU with too many MSTI entries from the same region leads to a crash.
  • Fixed #13: Restarting the state machines not always correct.
  • Fixed #11: BPDU transmission period (was sometimes double the rate required by the standard).

v2.1

15 Sep 20:41
Compare
Choose a tag to compare

Improvements in the Simulator over V2.0, plus a few minor fixes in the library.