flutter_ymodem_lib 0.0.1
flutter_ymodem_lib: ^0.0.1 copied to clipboard
A pure Dart implementation of the YModem file transfer protocol for Flutter. Works on Android, iOS, Windows, macOS and Linux without any native code, ideal for BLE OTA firmware upgrades (e.g. together [...]
0.0.1 #
- Initial release.
- Pure Dart YModem sender engine ported from
YModemlib_Android:
- hello handshake, package 0 (file name / size / MD5), 128 (SOH) and
1024 (STX) data packages, EOT and final package handshake,
MD5_OK/MD5_ERRsupport; - CRC-16/XMODEM (big-endian in the frame);
- automatic retransmission on
NAK/ timeout,CANhandling,stop()cancellation; - split BLE notification responses (
ACK+C, splitMD5_OK).
- hello handshake, package 0 (file name / size / MD5), 128 (SOH) and
1024 (STX) data packages, EOT and final package handshake,
- Streaming
YModemSourcewithYModemFileSourceandYModemBytesSourceimplementations. - Registered as a Dart-only plugin for Android, iOS, Windows, macOS and Linux (zero native code).
- Full example app for all five platforms with
flutter_blue_plus(2.3.12, Windows backendflutter_blue_plus_winrt0.0.20), file picking, MTU negotiation, chunked writes and a live protocol log. - Unit tests: CRC vectors, package layout, end-to-end transfers against a fake receiver, retries, timeout and cancellation.