Commit graph

1794 commits

Author SHA1 Message Date
Philippe Teuwen c58937b5f5 client: clean deps while cleaning objects 2019-08-09 12:12:22 +02:00
Philippe Teuwen bc28eb04e4 Revert 00350db and add waiting time extension request mechanism, see issue #265 2019-08-07 13:04:34 +02:00
Philippe Teuwen 9b44590f8d make style 2019-08-07 13:04:26 +02:00
Philippe Teuwen 12d38bb6ac fix standalones after Mifare1ksim changes 2019-08-07 11:57:26 +02:00
Philippe Teuwen 12a0540d91 mf sim: add option to pass explicitly atqa/sak and reject explicitly unknown vals for option t 2019-08-07 01:32:37 +02:00
Philippe Teuwen 4615354864 mf sim: respect DBG_NONE and explicit ATQA/SAK usage 2019-08-07 00:47:32 +02:00
Philippe Teuwen 80941ed9e1 Remove comments 2019-08-07 00:02:00 +02:00
Philippe Teuwen 9f8e63a7c8 print errors only if dbg level allows errors 2019-08-06 23:19:59 +02:00
Philippe Teuwen 650dd5855f ok it seems PMW CNTR is not reset as promised in the datasheet, let's fix this for now... 2019-08-06 23:10:02 +02:00
Philippe Teuwen 0f9880b18f cleaning 2019-08-06 13:52:03 +02:00
Philippe Teuwen 1354aec556 typos 2019-08-06 13:51:10 +02:00
Philippe Teuwen c74028fa10 show slow clock in hw status 2019-08-06 13:42:17 +02:00
Philippe Teuwen 8b3159c83d Use more defines when using main clock or master clock 2019-08-06 13:40:08 +02:00
Philippe Teuwen 2cbe43f269 clarifications and minor changes in slow clock related operations:
* SpinDelay and SpinDelayUs: now rounding applies instead of truncating
* Document maximum duration of SpinDelay/SpinDelayUs/BUTTON_CLICK/BUTTON_HELD
* Add argument check against max duration in SpinDelay/BUTTON_CLICK/BUTTON_HELD
* Document why these functions don't need to take wrapping into acount as in GetTickCountDelta
* Use >= in the spinning loops
* Clarify StartTickCount calibration operations and use masks AT91C_CKGR_MAINRDY and AT91C_RTTC_RTPRES
2019-08-06 13:09:48 +02:00
iceman1001 25748b0746 style 2019-08-05 12:01:11 -04:00
Philippe Teuwen 225d406d21 cppcheck fix: Checking if unsigned variable 'len_to_read' is less than zero. 2019-08-05 00:12:35 +02:00
Philippe Teuwen 45c27573b3 ARM Makefile: softer dependency on fpga_compress 2019-08-04 21:33:57 +02:00
iceman1001 2cc24c8714 chg: 'hf iclass' generically, check button press fewer times to not interupt time critical parts too much 2019-08-04 18:31:52 +02:00
iceman1001 7cb696c5bc chg: 'hf iclass sim 3' - now supports READ4 cmd. 2019-08-04 18:16:16 +02:00
iceman1001 a90e5e1858 chg: legic cmds uses return macros.
chg: hf search started to use macros
2019-08-03 23:36:55 +02:00
Philippe Teuwen 60bfc37f35 remove more dummy cmds 2019-08-03 22:52:32 +02:00
Philippe Teuwen 61538bd635 thinfilm simulation when on battery 2019-08-03 22:37:01 +02:00
Philippe Teuwen 3dae748314 thinfilm is ok with thumb 2019-08-03 22:28:58 +02:00
Philippe Teuwen 25f358955b make hf search robust to various HF configurations 2019-08-03 22:14:12 +02:00
Philippe Teuwen 4a3fb3ccf1 split nfcbarcode from iso14443a 2019-08-03 22:14:12 +02:00
Philippe Teuwen 517f0886ba make style 2019-08-03 20:20:08 +02:00
Iceman f08649ac0e
Merge pull request #304 from ViRb3/format-and-docs
Format and docs
2019-08-03 19:53:49 +02:00
Philippe Teuwen a0a232a985 rename few CMD_* to get some less diversity 2019-08-03 19:48:02 +02:00
Victor 5913ee670a Add auth comments 2019-08-03 18:36:47 +01:00
Victor 835a8a3b03 Add state comments 2019-08-03 18:36:47 +01:00
Victor 4bd03bb920 Fix more comment alignment 2019-08-03 18:36:47 +01:00
Victor 868469db0d Fix comment alignment 2019-08-03 18:36:47 +01:00
Iceman 87e300588b
Merge pull request #303 from ViRb3/fix-pass-write
Fix password write offset by 1
2019-08-03 19:34:10 +02:00
Victor 714280fad2 Fix password write offset by 1 2019-08-03 17:57:39 +01:00
iceman1001 65feeeafc8 chg: 'lf t55xx deviceconfig - a compact output' 2019-08-03 18:48:08 +02:00
iceman1001 0320455090 chg 'lf t55xx deviceconfig - color adaptations 2019-08-03 09:53:08 -04:00
iceman1001 f643a7a5a4 chg: 'lf t55xx deviceconfig' - matrix styled output 2019-08-03 15:26:46 +02:00
Philippe Teuwen 5061869efd help iceman reverting last 2019-08-03 10:57:59 +02:00
iceman1001 bf2dc0304b revert last 2019-08-03 04:43:01 -04:00
Philippe Teuwen 96ed907605 Fix momentarily flash read/write of dicts 2019-08-02 20:48:44 +02:00
Philippe Teuwen 865a7c3ad4 Add thinfilm simulation 2019-08-02 00:26:07 +02:00
Philippe Teuwen 85c0f3e9e3 thinfilm partial info when verbose 2019-08-01 17:49:35 +02:00
iceman1001 2400418067 style 2019-08-01 11:15:39 -04:00
Philippe Teuwen 118c8478f0 fix ManchesterDecoding_Thinfilm (msb was always forced to 0) 2019-08-01 16:55:20 +02:00
Iceman 759ba4056e
Merge pull request #299 from cjbrigato/master
HF_COLIN 2/3 : Now able to read Known  key schemes from SPIFFS JSON Config File
2019-08-01 15:47:29 +02:00
iceman1001 fbff51c88d Add: hf thinfilm info - support to read and decode Kovio Thinfilm NCT tags 2019-08-01 09:39:33 -04:00
iceman1001 f6befc235f chg: macro SRC_SPIFFS is dependent of WITH_FLASH 2019-08-01 00:51:53 -04:00
Colin J. Brigato b4e004abc2
Off by one in GetTickCountDelta (FIXes #301)
FIXes #301 and prevent a `-1`aka`UINT_MAX` delta.
2019-08-01 01:56:30 +02:00
Philippe Teuwen 733a7d836d more ARRAYLEN 2019-08-01 00:14:09 +02:00
Philippe Teuwen f276dca3f1 less hardcoded sizes and more ARRAYLEN 2019-07-31 23:45:17 +02:00