Skip to content

v1.0.3

Choose a tag to compare

@GitMoDu GitMoDu released this 02 Oct 17:15
· 28 commits to master since this release

New Features

  • Arduino-style serialEvent() Support
    The host now detects incoming serial data and automatically triggers a serialEvent() callback, aligning behavior more closely with standard Arduino sketches.

  • UI Console Integration
    Serial output can now be displayed in a live Windows/XAML console. A background polling timer fetches new TX data and appends it to a scrollable text view, with optional auto-scroll to keep the latest output visible.

Improvements

  • Refined Serial State Tracking

    • Replaced the single StateId counter with distinct TxId and RxId identifiers.
    • Provides clearer separation of transmit and receive events.
    • Added GetTxId() and GetRxId() accessors for external use.
  • Buffer Handling

    • Introduced a dedicated flushTx() method to explicitly clear transmit buffers.
    • Optimized buffer growth by reserving space ahead of time (size * 2 + 64) to reduce reallocations.

Developer Experience

  • Cleaner event handling with explicit TX/RX counters.
  • Easier integration of Arduino sketches that rely on serialEvent().
  • Real-time visibility of serial output directly in the Windows host UI.