New individual json dump file formats for ht1, ht2, htS, htU. '.bin' / binary format for hitag has been deprecated

This commit is contained in:
iceman1001 committed 2026-08-29 20:58:59 +02:00
1 parent dda9d7dd1c
commit a1053ad70d
6 files changed
+114 -13

No files matched your search

+7 -1
View File
@@ -50,7 +50,10 @@ typedef enum {
jsfMfc_v2,
jsfMfc_v3,
jsfMfuMemory,
jsfHitag,
jsfHitag1,
jsfHitag2,
jsfHitagS,
jsfHitagU,
jsfIclass,
jsf14b,
jsf14b_v2,
@@ -442,6 +445,9 @@ int pm3_load_dump(const char *fn, void **pdump, size_t *dumplen, size_t maxdumpl
* @return PM3_SUCCESS if OK
*/
int pm3_save_dump(const char *fn, uint8_t *d, size_t n, JSONFileType jsft);
// as pm3_save_dump, but lets the caller add fields the raw dump cannot carry,
// such as the Hitag u UID and ICR which arrive separately from the pages
int pm3_save_dump_cb(const char *fn, uint8_t *d, size_t n, JSONFileType jsft, void (*callback)(json_t *));
int pm3_save_dump_json(const char *fn, uint8_t *d, size_t n, JSONFileType jsft);
/** STUB