Philippe Teuwen
4ae8a3d86b
fix few printf arg types
2019-10-05 23:56:19 +02:00
iceman1001
f42f7c2250
'hf search' new line for
2019-09-23 18:59:45 +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
iceman1001
52065adcfa
chg: 'hf topaz reader' - more verbose
2019-08-02 11:37:35 -04:00
iceman1001
63a7f8a4c4
fix: 'hf topaz reader' - not crashing when trying to read a thinfilm
2019-08-01 12:36:50 -04:00
iceman1001
2400418067
style
2019-08-01 11:15:39 -04:00
iceman1001
74288ad128
chg: hf topaz - got some love
2019-07-31 15:43:00 -04:00
Philippe Teuwen
8bf4b4ad97
Promote WARNING to ERR on some error msgs
2019-07-14 00:35:18 +02:00
Philippe Teuwen
1ebfa897c8
remove some cppcheck warnings
2019-06-12 06:41:23 -07:00
Philippe Teuwen
730927a81d
NG->MIX for few cmds where the zeroes were actual args
...
CMD_READER_ISO_14443a
CMD_EPA_PACE_REPLAY
CMD_TEST_HITAGS_TRACES
CMD_FELICA_COMMAND
2019-05-09 12:33:17 +02: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
iceman1001
0cedfc7b2b
chg: list should always be available, since we can now load / save trace files.
2019-05-02 10:42:02 +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
iceman1001
a872f04c1e
textual
2019-04-11 17:19:48 +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
Philippe Teuwen
961d929f4d
changing {} style to match majority of previous style
2019-03-10 11:20:22 +01:00
Philippe Teuwen
0373696662
make style
2019-03-10 00:00:59 +01:00
Philippe Teuwen
0d9223a547
client: fix mix of spaces & tabs
2019-03-09 23:35:06 +01:00
Philippe Teuwen
60f292b18e
remove spurious spaces & tabs at end of lines
2019-03-09 08:59:13 +01:00
iceman1001
e81b0fa355
chg: use calloc
2019-01-30 20:43:30 +01:00
iceman1001
ed7122e409
chg: use calloc
2019-01-30 20:21:41 +01:00
iceman1001
71ce6e07ee
CHG: moved trace commands into its own category (from hf)
...
'trace list'
there will also the load / save of trace buffer come.
For backwardfunctionality the old commands still works.
2018-03-18 18:00:41 +01:00
Brian Pow
0f6e779e0d
use PrintAndLogEx() instead of PrintAndLog()
2018-02-21 20:43:51 +08:00
iceman1001
52d69ed4ee
CHG: refactor CRC16 algos. This is a big change, most likely some parts broke, hard to test it all.
2018-02-01 15:19:47 +01:00
iceman1001
a4b4a1a9a2
FIX: iso-14443a RATS optional (piwi)
2017-10-01 22:06:06 +02:00
iceman1001
a211877853
CHG: 'script run didump' - got some remake. unfinished.
...
CHG: some default keys
2017-07-04 20:23:47 +02:00
iceman1001
8aa789b195
CHG: updated topaz imp to match PM3 Master (piwi)
2017-04-19 03:41:51 +02:00
iceman1001
7fa7e812fc
ADD: added @marshmellow42 's changes to "lfdemod"
2016-03-20 19:39:06 +01:00
iceman1001
1f3d5401a6
FIX: adding a silent mode for Topaz detection.
...
FIX: adding a silent mode for 14B detection.
2016-03-06 13:21:42 +01:00
iceman1001
3607b5a96a
ADD: Added the autodetection of Topaz to "HF SEARCH"
...
FIX: Fixed a minor bug in "HF SEARCH" where it always found a "14b" tag, making the command never test for other formats afterward the 14b test.
The 14b detection is not good still, conflicting return values is main reason for this bug
2016-03-06 12:40:04 +01:00
iceman1001
02ac2ed464
FIX: 256 is too big for uint8_t
2016-02-18 20:07:50 +01:00
iceman1001
e1ad67eaf2
FIX: Coverity Scan fixes, a bunch of them.
2016-01-16 22:58:44 +01:00
iceman1001
63c236144b
FIX: Coverity, out-of-bounds read, 124 is less than (0x10*8)+2 (130)
...
FIX: Coverity, dead-code, bitcomparison always false. Copy-paste error? but 0x0F can never be equal 0x10.. I guessing its 0x01. @pwpivi have to correct me if its wrong.
2016-01-13 14:53:32 +01:00
iceman1001
9332b857ff
ADD: @marshmellow42 's fixes for Q5, t55xx, fskclock,
...
ADD: got tired of always writing wrong "hf 14a list", so I hooked it back up to call the "hf list" with argument. Things becomes smoother that way.
2015-12-16 11:01:46 +01:00
iceman1001
2495281d14
fix; stupid fixes for some compiler warnings messages of unused variables..
2015-06-14 23:31:05 +02:00
iceman1001
4f5cb23aa1
CHG: the name change from "HF 14A SNOOP" -> "HF 14A SNIFF"
2015-05-16 15:37:27 +02:00
iceman1001
69a2953679
FIX: nasty bug when memcpy structs..
...
ADD: @piwi's topaz commands
2015-05-06 09:30:48 +02:00