17 Commits
Author SHA1 Message Date
Eric Betts 784a8ba3d8 hf: capture only the bytes a READ4 actually returned
plugin_hf_capture_sio() passed a fixed 32 bytes to append_picopass_sio()
no matter how long the response was. A short or truncated READ4 fed the
SIO whatever else happened to be sitting in the receive buffer past the
end of the frame.

Derive the length from the frame instead, trimming the trailing CRC and
clamping to the four blocks a READ4 can return. The DESFire branch got
the same treatment: its length was computed as size - 2 with no check
that the response held at least two bytes, so an empty frame underflowed
to a huge value. Both now bail out when the response is too short to
hold a trailer.

Claude-Session: https://claude.ai/code/session_016a4SuDfC8EkHo3MGGrRMod
2026-08-12 10:17:07 -07:00
CinderSocket e8481de4fa style: apply ufbt formatting 2026-06-17 20:07:39 -07:00
CinderSocket f1280da86e hf: avoid duplicate detect before read start 2026-06-17 19:53:25 -07:00
CinderSocket 01c3374766 hf: avoid 14a poller data copy 2026-06-17 17:08:44 -07:00
CinderSocket 30ee4df4e1 hf: reuse plugin transmit buffers 2026-06-17 16:51:39 -07:00
CinderSocket 85f3bb4940 Fix HF bridge synchronization and SAM key diagnostics 2026-06-17 15:24:51 -07:00
CinderSocket 6e64c27ca7 asn1: move metadata tables out of RAM 2026-03-27 23:05:53 -07:00
CinderSocket a5a9453d23 logging: gate protocol chatter and unify hex dumps 2026-03-27 22:27:02 -07:00
CinderSocket e8a71b7daf Improve board power recovery and startup UI 2026-03-27 18:05:31 -07:00
CinderSocket 1ee80b21a3 Harden HF startup failure handling 2026-03-27 18:05:10 -07:00
CinderSocket 2dc6779a55 Even more RAM reduction 2026-03-25 01:59:59 -07:00
CinderSocket a472322086 Reduce HF read RAM pressure 2026-03-25 01:19:33 -07:00
CinderSocket f8cf20d4ea Add more furi_checks 2026-03-24 19:23:49 -07:00
CinderSocket 0e9df27b18 All the furi_check 2026-03-24 19:16:44 -07:00
CinderSocket 9a2c5253fc Ufbt formatting 2026-03-24 14:54:12 -07:00
CinderSocket bdb79a67ca Tighten runtime ownership and metadata resets 2026-03-24 14:47:14 -07:00
CinderSocket 5b6adadb81 Refactor HF ownership and embed plugin sources 2026-03-24 14:15:37 -07:00