Commit graph

88 commits

Author SHA1 Message Date
Philippe Teuwen 3aeb5c493f fix a few cppcheck warnings 2023-09-07 22:28:37 +02:00
iceman1001 6ba002725f rmeoved some fct devices side regarding eml get/ set 2023-07-27 18:55:41 +02:00
iceman1001 b0c2ad8ac2 style 2023-06-27 15:25:00 +02:00
Jin Jia 303dbae85b Fixed a warning on uninitialized variable 2023-01-06 06:26:21 +00:00
Jin Jia 949ef8435e changed keyB in line 896 to the correct macro 2023-01-04 07:19:29 +00:00
Jin Jia 810a89c4df Added Compliance of MIFARE Classic EV1 1K Datasheet footnote of Table 8 2023-01-04 07:11:48 +00:00
iceman1001 0968b39243 fix #1694 - take in consideration pointer could be called with NULL 2022-08-16 04:18:27 +02:00
iceman1001 b4255eea77 simplify save files 2022-06-06 13:20:39 +02:00
iceman1001 3d0e54d85c fix format strings 2022-06-02 21:18:21 +02:00
iceman1001 023ae4c7f1 mf sim - after getting a rats from rdr , and we are not simulating a rats supporting tag, set state to idle, ie wait for WUPA/REQA 2022-06-02 05:16:34 +02:00
iceman1001 b98d518fd7 style 2022-01-06 19:41:45 +01:00
Philippe Teuwen bcafc5d03c some historical copyright adjustments, thanks @iceman1001! 2022-01-06 11:24:04 +01:00
Philippe Teuwen b703bb746b Adapting license headers, WIP 2022-01-06 02:20:38 +01:00
Philippe Teuwen 88308ea727 typos 2021-10-10 01:35:45 +02:00
Philippe Teuwen e79fb92074 Add fpga-xc3s100e and icopyx support 2021-08-21 23:45:46 +02:00
Philippe Teuwen 5b54385347 rename globals 2021-08-21 23:08:26 +02:00
iceman1001 e4f55556ba style 2021-05-05 21:04:48 +02:00
iceman1001 218dbafdff fiddling with simulating ndef messages on MFC and android 2021-05-03 21:47:12 +02:00
iceman1001 cd9090b6c8 hf iclass chk - now uses NG 2021-05-03 20:01:12 +02:00
iceman1001 27184d7f5b style 2021-04-08 10:44:31 +02:00
iceman1001 bc4a5cf4de hf mf sim - testing to remove the field detection, its inside emcmd anyway 2021-03-15 01:26:55 +01:00
iceman1001 93bdc9f75b hf mf sim - minor short times... 2020-11-29 00:16:22 +01:00
iceman1001 5d357a6039 style 2020-09-07 10:39:15 +02:00
iceman1001 a928fade9c textual 2020-09-06 21:40:06 +02:00
iceman1001 9639ee8e81 less checks for dataavailable 2020-08-31 01:15:49 +02:00
iceman1001 9189dc8563 applied theremin patch, adc values are summed, remember to divide when read 2020-06-09 23:37:56 +02:00
Philippe Teuwen a68b8983f2 make style 2020-04-21 01:56:51 +02:00
iceman1001 c6473afcc1 text 2020-04-16 09:53:31 +02:00
iceman1001 054f28e783 fix #682 - hf mf sim - not working good with MCT Tool app. Actually it didnt work at all 2020-04-14 16:18:14 +02:00
iceman1001 a751684a31 style 2020-03-09 17:11:11 +01:00
iceman1001 36f2234121 fix HF simulation 2020-02-12 10:29:00 +01:00
Philippe Teuwen 7c33eeb7d5 style 2020-01-15 19:25:29 +01:00
Philippe Teuwen fe5b3b0911 fix compilation bug 2020-01-13 11:36:39 +01:00
iceman1001 eb9f67635b chg: enable/disable hf fpga tracing 2020-01-13 10:34:59 +01:00
Philippe Teuwen 39fd6b1910 coverity: separate crypto1 fcts ARM<>host into create/destroy and init/deinit 2019-10-18 16:58:24 +02:00
Philippe Teuwen 8ea04a42a6 Use GetTickCountDelta when possible 2019-10-16 00:03:53 +02:00
Philippe Teuwen 395d0f9ebf make style 2019-10-13 00:48:26 +02:00
Philippe Teuwen fb1e7879e1 coverity 226393 - missing break in mifaresim 2019-10-09 23:44:46 +02:00
iceman1001 1ec34e00b6 coverity 226386 - fix operands dont.. 2019-10-09 13:05:23 +02:00
iceman1001 a337611708 coverity 226386, u8 can never be larger than 256 2019-10-09 10:59:10 +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 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 a0a232a985 rename few CMD_* to get some less diversity 2019-08-03 19:48:02 +02:00
Philippe Teuwen c0eb19acb1 remove tabs 2019-07-24 00:52:24 +02:00
Eloff 0b38c23ed3 'hf mf sim' - wrong access rights to write key B in trailer; typo; simple code optimization 2019-07-19 16:27:08 +03:00
Iceman 9196bdc670
Merge pull request #245 from McEloff/hf_mf_sim_auth_nack
hf_mf_sim. Really tags not respond NACK on invalid authentication
2019-07-14 22:48:04 +02:00
Eloff a28e359095 Fix. More flexible anti-collision frame check 2019-07-14 23:18:07 +03:00
Eloff f6f7e7a9f6 hf_mf_sim. Really tags not respond NACK on invalid authentication 2019-07-14 23:12:39 +03:00
Philippe Teuwen b0dbbd3683 make style 2019-07-13 00:38:30 +02:00