Commit Graph

70 Commits

Author SHA1 Message Date
iceman1001
69732ef709 better identification of PLus vs Plus EV1. Be verycareful of that WRITEPERSO cmd inside INFO to detect card type. No good at all 2020-04-10 10:30:37 +02:00
iceman1001
68a890d0e9 textual 2020-04-08 19:16:42 +02:00
iceman1001
f216fc7f5e chg: hf mfp info - need all data from getversion. Layout changes 2020-04-08 19:07:11 +02:00
iceman1001
133e2a6bc4 fix: 'hf mfp info' - now support GetVersion command (Plus EV1) 2020-04-08 17:13:05 +02:00
iceman1001
7643b24ca7 chg: 'hf mfp info' - colors and now checks originality for Plus EV1 2020-04-08 15:21:40 +02:00
iceman1001
f870abf454 text 2020-04-08 13:59:20 +02:00
iceman1001
69b7d798c1 colors 2020-04-08 13:48:56 +02:00
iceman1001
e2370d7866 style 2020-04-08 05:03:19 +02:00
merlokk
6d3c13c49a fix mfp behavior in info command 2020-03-31 19:13:03 +03:00
iceman1001
063b393eba textual 2020-03-26 20:36:38 +01:00
iceman1001
be3932d3c0 textual 2020-03-19 12:05:48 +01:00
iceman1001
37011158e1 chg: hf mfp info - more text / better detection between DESFire and Plus 2020-03-19 09:26:56 +01:00
iceman1001
e9b293e8e9 hf mfp info - textual / colours 2020-03-17 13:38:51 +01:00
iceman1001
4eb5907637 cppcheck 2020-01-01 21:32:41 +01:00
iceman1001
f428b016c1 cppcheck 2019-12-30 21:11:18 +01:00
iceman1001
b5be8a3663 style 2019-12-03 14:51:55 +01:00
merlokk
8132de9b4f fix braces 2019-12-01 23:43:47 +02:00
merlokk
256782402e fix linux make errors 2019-12-01 23:39:41 +02:00
merlokk
bc27b0e910 add some help 2019-12-01 23:36:34 +02:00
merlokk
2dfbe151b9 hf mfp check: dictionary works, verbose mode works 2019-12-01 23:21:00 +02:00
merlokk
94eb741a4f refactoring + make dictionary works 2019-12-01 22:33:50 +02:00
merlokk
ca462424d0 refactoring 2019-12-01 10:56:41 +02:00
merlokk
1daf155b9c added dictionary 2019-12-01 10:45:02 +02:00
merlokk
0cb7637e1f added save keys to json for mfp check 2019-11-30 23:46:37 +02:00
merlokk
8e6f08835d added some error handling 2019-11-29 17:34:54 +02:00
merlokk
a861d2971c specify key in the command line 2019-11-29 17:29:36 +02:00
merlokk
1efc731fac refactoring and break operation via keyboard 2019-11-29 17:23:30 +02:00
merlokk
385a747dbd added search 2-byte pattern 2019-11-28 16:24:39 +02:00
merlokk
9f8a8cce96 refactoring. move key list to uint8_t[16] array 2019-11-28 15:36:52 +02:00
merlokk
2c101ebbb9 internal keys search works 2019-11-28 15:16:11 +02:00
merlokk
133d59e483 added command parsing and result printing 2019-11-28 14:16:53 +02:00
merlokk
17a2379ddd hf mfp check sketch 2019-11-28 00:49:12 +02:00
merlokk
b07e33bcdb changed signature of hf info 2019-11-04 19:54:51 +02:00
Philippe Teuwen
a8ee33baf4 change scripts/ to luascripts/ 2019-08-21 23:17:01 +02:00
Philippe Teuwen
d19754567d summer restructuring:
* .h include only the strict minimum for their own parsing
  * this forces all files to include explicitment their needs and not count on far streched dependencies
  * this helps Makefile to rebuild only the minimum
  * according to this rule, most standalone .h are now gone
  * big app.h is gone
  * remove seldom __cplusplus, if c++ happens, everything will have to be done properly anyway
* all unrequired include were removed
* split common/ into common/ (client+arm) and common_arm/ (os+bootloader)
  * bring zlib to common/
  * bring stuff not really/not yet used in common back to armsrc/ or client/
  * bring liblua into client/
  * bring uart into client/
  * move some portions of code around (dbprint, protocols,...)
* rename unused files into *_disabled.[ch] to make it explicit
* rename soft Uarts between 14a, 14b and iclass, so a standalone could use several without clash
* remove PrintAndLogDevice
* move deprecated-hid-flasher from client to tools
* Makefiles
  * treat deps in armsrc/ as in client/
  * client: stop on warning (-Werror), same as for armsrc/

Tested on:

* all standalone modes
* Linux
2019-08-11 21:42:01 +02:00
Philippe Teuwen
a0a232a985 rename few CMD_* to get some less diversity 2019-08-03 19:48:02 +02:00
Philippe Teuwen
733a7d836d more ARRAYLEN 2019-08-01 00:14:09 +02:00
Philippe Teuwen
1ebfa897c8 remove some cppcheck warnings 2019-06-12 06:41:23 -07:00
Philippe Teuwen
290f2b625b Automated upgrades SendCommandOLD/MIX 0,0,0,NULL,0 -> NG and SendCommandOLD ....,NULL,0 -> MIX 2019-05-07 19:51:33 +02:00
Philippe Teuwen
e6135a8f78 Replace WITH_ISO14443a by dynamic detection in client 2019-05-01 23:38:57 +02:00
Philippe Teuwen
ca43afa19b begin of dynamic capabilities handling in client 2019-05-01 20:48:15 +02:00
Philippe Teuwen
c4766b2649 Semi-Automated SendCommand -> SendCommandOLD 2019-04-19 23:01:13 +02:00
Philippe Teuwen
1b6a45ac17 propagate CmdsParse return value 2019-04-19 00:47:51 +02:00
Philippe Teuwen
482db05741 Rename few stuff for consistency 2019-04-18 12:49:51 +02:00
Philippe Teuwen
533667ea6d Better Reply structs 2019-04-17 23:44:48 +02:00
Philippe Teuwen
be15ad7fec Viva la revolucion 2019-04-17 21:30:01 +02:00
Philippe Teuwen
05374fce07 Rework Cmd exposed API, use more static and fix [-Wmissing-prototypes] 2019-04-12 19:41:56 +02:00
Philippe Teuwen
0ab6de64d4 structs: initializes explicitely all fields, so we can detect when we really forgot one [-Wmissing-field-initializers] 2019-04-10 13:59:00 +02:00
Philippe Teuwen
cc0454d5d2 tag unused Cmd [-Wunused-parameter] 2019-04-10 12:23:40 +02:00
iceman1001
27003904ce printandlogs.. 2019-04-07 18:12:58 +02:00