Skip to content

v0.3.4 - Composite Switch ID Crash Fix

Choose a tag to compare

@dash16 dash16 released this 22 May 23:26
· 75 commits to main since this release

Fixed

  • Fixed a crash affecting some Cync mesh/controller devices where large composite switchID values exceeded the uint32 range expected by LAN packet builders.
  • Added support for preserving the original API-provided switchID while deriving a LAN-safe controller identifier for mesh state requests and topology handling.
  • Added defensive validation around composite switch ID parsing using Number.isSafeInteger() to harden against malformed or unexpected API values.

Stability Improvements

  • Improved handling of multi-component switch/controller identifiers used by certain Cync devices.
  • Prevented writeUInt32BE overflow exceptions that could interrupt plugin startup or device communication.