hf goodisplay: write images to Goodisplay NFC e-paper tags
New `hf goodisplay load` for the NFC-D1 tags GDEY0154D67, GDEY0213B74, GDEY029T94 and GDEY037T03. They use a Fudan FM1280 talking ISO14443-4 with proprietary CLA F0 APDUs (config F0 DB/DA, image F0 D2 in 250 byte chained blocks, refresh F0 D4), unlike the raw 14a CD xx frames of Waveshare tags, hence a separate command family. Protocol and init sequence from the Flipper Zero NFC Eink app (GPLv3, RebornedBrain). Image load/crop/dither, save and 1bpp packing move from cmdhfwaveshare.c into imgutils.c so both commands share them. Waveshare output is unchanged. hf 14a info hints at hf waveshare for its known UIDs (now incl. FSTN11m) and at hf goodisplay for a SAK 28 ATS 0B 78 33 A0 02 90 <UID> 00 tag. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
8186415226
commit
8b9b152dbf
12 files changed
+598
-64
No files matched your search
@@ -715,6 +715,7 @@ while true; do
|
||||
if ! CheckExecute "hf saflok test" "$CLIENTBIN -c 'hf saflok test'" "Tests \( ok"; then break; fi
|
||||
if ! CheckExecute "mad test" "$CLIENTBIN -c 'mad test'" "Tests \( ok"; then break; fi
|
||||
if ! CheckExecute "hf waveshare load" "$CLIENTBIN -c 'hf waveshare load -m 6 -f tools/lena.bmp -s dither.bmp' && echo '34ff55fe7257876acf30dae00eb0e439 dither.bmp' | md5sum -c -" "dither.bmp: OK"; then break; fi
|
||||
if ! CheckExecute "hf goodisplay load" "$CLIENTBIN -c 'hf goodisplay load -m 2 -f tools/lena.bmp -s gd_dither.bmp' && echo '3738750a8ce7f89913c7af012acfc1fa gd_dither.bmp' | md5sum -c -" "gd_dither.bmp: OK"; then break; fi
|
||||
fi
|
||||
echo -e "\n------------------------------------------------------------"
|
||||
echo -e "Tests [ ${C_GREEN}OK${C_NC} ] ${C_OK}\n"
|
||||
|
||||
Reference in new issue
Block a user