Commit Graph
223 Commits
Author SHA1 Message Date
dxl f597e18ab3 Rollback LF Emulate. 2024-01-17 18:26:13 +08:00
taichunmin e79568298f Added support for mifare classic value block operations 2023-11-13 23:38:56 +08:00
Philippe Teuwen bb47bd5159 make style 2023-10-23 19:16:42 +02:00
Philippe Teuwen 55228d1489 fix encoding 2023-10-23 17:40:25 +02:00
dxl f04943f59b Merge remote-tracking branch 'origin/main' 2023-10-19 22:51:55 +08:00
dxl 771e6ded54 Fixed a bug that will not reset the state machine after DEC. 2023-10-19 22:51:02 +08:00
dxl ab07dff904 Function has been renamed 2023-10-19 22:50:08 +08:00
dxl 980960c43d Fixed a bug that affected 14A simulation. 2023-10-19 22:48:53 +08:00
Philippe Teuwen 6e19d078f4 oops, missed sth when solving the merge conflicts 2023-10-17 23:56:28 +02:00
Philippe TeuwenandGitHub 83583075c4 Merge branch 'main' into ats_error_fixes 2023-10-17 23:52:35 +02:00
Philippe Teuwen fa0754aed2 cli: make status an enum. rename some status for consistency 2023-10-17 23:43:25 +02:00
Augusto Zanellato cb1878440d Fix ATS handling in tags that NAK RATS
pcd_14a_reader_ats_request didn't check for NAK so in case the tag NAKd
the RATS it would return a zero length ATS which would cause an
underflow in pcd_14a_reader_scan_once, that in turn resulted in
HF_ERR_ATS being returned due to an invalid ATS length.
2023-10-17 23:32:51 +02:00
Philippe Teuwen 82fcc76286 Changed battery level curves based on experimental measures, thanks @spp2000 ! 2023-10-17 21:25:16 +02:00
Augusto Zanellato c1c10e9ba3 Fix factory reset hang/wdt reset
fds_util event handler was ignoring all the events related to
peer_manager files and that was causing a deadlock while waiting for
record deletion that in turn caused a wdt reset, usually this resulted in
a partially done factory reset.
The fix adds a `ignore_pm` flag to op_info struct that gets cleared by
fds_wipe allowing for a true reset to happen.
2023-10-13 00:26:32 +02:00
Philippe Teuwen 446b57e89f Changed fds_write_sync to take length in bytes instead of next multiple of 4 2023-10-11 23:08:25 +02:00
Philippe Teuwen 6236fdd4cf just in case, turn tag field off on exiting reader mode 2023-10-11 19:32:37 +02:00
Philippe Teuwen bac3552d85 fix field LED in LF reading and in HF cloning 2023-10-11 19:22:29 +02:00
Philippe Teuwen ea6576c567 renaming of slot into cloned when having cloned an ID/UID with a button, cf issue #166. Removed the goto 2023-10-11 18:49:59 +02:00
Philippe Teuwen ffb6e00f1e fix spurious LED in battery level, assign battery level to long press B 2023-10-10 20:25:17 +02:00
dxl c9e4507d8f Use fastselect to improve the success rate of decryption. 2023-10-09 15:18:59 +08:00
dxl a9f775ff19 14443-a fast select implemented. 2023-10-09 15:17:54 +08:00
Philippe Teuwen 702dba0d93 Added button action to show battery level 2023-10-04 19:36:33 +02:00
Philippe Teuwen 226efbc3d5 Fixed watchdog trigger during hw factory_reset 2023-10-01 00:30:05 +02:00
Philippe Teuwen 4a94db10bf fix bug in default slot config 2023-09-27 23:23:39 +02:00
Philippe Teuwen 6915ee19a4 New DELETE_SLOT_TAG_NICK 2023-09-27 23:09:59 +02:00