Repository navigation
v1.0.3
New Features
-
Arduino-style
serialEvent()Support
The host now detects incoming serial data and automatically triggers aserialEvent()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
StateIdcounter with distinct TxId and RxId identifiers. - Provides clearer separation of transmit and receive events.
- Added
GetTxId()andGetRxId()accessors for external use.
- Replaced the single
-
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.
- Introduced a dedicated
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.