Skip to content

DC34 Badge Manager 0.1.1 beta 1

Pre-release
Pre-release

Choose a tag to compare

@lnxgod lnxgod released this 07 Aug 06:49
· 10 commits to main since this release
315e55b

DC34 Badge Manager 0.1.1 beta 1

This update fixes the real-hardware image-upload failure reported as “Expected exact command echo…”.

Fixed

  • Ignores stale badge [console] … chatter only until the current command's exact echo arrives.
  • Still rejects OK/SUCCESS before the exact echo and aborts conflicting echoes afterward, so a stale response cannot falsely authorize a chunk.
  • Clears stale partial serial lines at each command boundary.
  • Adds five protocol regression tests to GitHub CI.

Faster and lighter

  • Keeps the proven 80 ms gap between badge command bytes and the 1-second post-response settle.
  • Removes duplicate waiting around acknowledged chunks. Estimated warm image upload floor improves from about 5:04 to 4:55; maximum BIO upload improves from about 9:27 to 9:10.
  • Stops the two Light Lab preview canvases outside that tab and during USB work. Android 14 emulator idle main-thread work fell 99.8% in the measured flow.
  • Backs off Android's native serial polling while connected but idle.

Install / update

  • Package: org.dc34.badgemanager
  • Version: 0.1.1-beta.1 (version code 2)
  • Android: API 26+; tested on Android 14 / API 34
  • APK SHA-256: 9fbd3972c973943bc14ad1f0a291108a0cf5c6252180f2ac0b6bfba68de51901

The APK uses the same test/debug signing certificate as beta 0.1.0, so it installs as an in-place update. It remains a debuggable hardware-test beta. A future production-signed build may require uninstalling this beta first.

The parser fix, build, in-place upgrade, and Android 14 flows are verified. Please retry the image transfer on the physical DC34 badge; that exact hardware path cannot be emulated.