iceman1001
9f54495412
coverity 226214
2019-10-10 11:54:23 +02:00
Ludovic Rousseau
f961c1c551
Fix typos
...
Thanks to Debian lintian for the reports:
I: proxmark3: spelling-error-in-binary usr/share/proxmark3/firmware/fullimage.elf dont don't
I: proxmark3: spelling-error-in-binary usr/share/proxmark3/firmware/fullimage.elf succesful successful
I: proxmark3: spelling-error-in-binary usr/share/proxmark3/firmware/fullimage.elf Uknown Unknown
I: proxmark3: spelling-error-in-binary usr/share/proxmark3/firmware/fullimage.elf requestes requests
I: proxmark3: spelling-error-in-binary usr/share/proxmark3/firmware/fullimage.elf unkown unknown
I: proxmark3: spelling-error-in-binary usr/share/proxmark3/firmware/fullimage.elf ambigous ambiguous
2019-09-14 17:53:24 +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
1354aec556
typos
2019-08-06 13:51:10 +02:00
Philippe Teuwen
544fb30ce6
typos
2019-07-23 21:40:01 +02:00
Philippe Teuwen
732bc766f9
Reduce some var scopes
2019-06-07 18:41:39 +02:00
Philippe Teuwen
4761ea13f7
MF_DBGLEVEL => DBGLEVEL (pm3 side)
2019-06-06 10:05:09 +02:00
Philippe Teuwen
3b12ba2e93
replace usb_poll_validate_length() by data_available() that supports USART too
2019-06-03 00:01:08 +02:00
Philippe Teuwen
482db05741
Rename few stuff for consistency
2019-04-18 12:49:51 +02:00
iceman1001
6bba17b1e7
unused
2019-04-09 20:36:06 +02:00
iceman1001
7eee2acfbf
more crc overshadow
2019-04-07 12:10:52 +02:00
iceman1001
c4920d7179
fix crc overshadowing
2019-04-07 12:07:50 +02:00
Philippe Teuwen
a52a0bf537
args names
2019-04-06 20:21:03 +02:00
Philippe Teuwen
049f41a22f
iso15693: fix strncat usage (one must specify available room, not total dest buffer size)
2019-03-12 21:55:36 +01:00
Philippe Teuwen
cdf0a56fad
iso15693: check memcpy and fix BuildInventoryResponse
...
BuildInventoryResponse was copying 5 bytes instead of 12 bytes in the cmd buffer
2019-03-12 21:55:36 +01:00
Philippe Teuwen
1b2601a48a
Add missing EOF LF
2019-03-12 00:12:26 +01: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
8a7c6825b5
armsrc: fix mix of spaces & tabs
2019-03-09 20:34:41 +01:00
Philippe Teuwen
60f292b18e
remove spurious spaces & tabs at end of lines
2019-03-09 08:59:13 +01:00
Chris
91dea8d694
code clean.
2018-08-13 23:49:33 +02:00
iceman1001
08d9d9daf9
cleaning
2018-07-29 18:20:56 +02:00
Federico Cerutti
2dbe5ad720
Fix for uneven octet error when no data is received
2018-02-14 15:48:28 +01: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
b39332e938
REM: 'hf 15 debug' removed command, unified with mf_debuglevel instead. The idea is to have ONE debug flag on deviceside.
2018-01-29 15:58:00 +01:00
iceman1001
c04ac4f9ac
ADD: 'hf felica reader' - added pm3 as FeliCa reader
...
ADD: raw commands - added the basis for sending RAW commands to FeliCa.
CHG: CRC16 rework, uses table based implementation. This will change more functions as I go on.
2018-01-29 13:42:02 +01:00
iceman1001
5939164635
FIX: 'hf 15' timouts bugs when wait is set == 0...
...
thanks @lnv42 for fix 84cb4f6bbf
2018-01-21 18:34:29 +01:00
iceman1001
93ecfddb88
CHG: iso15 from b8f35947f2
@lnv42
2018-01-16 21:07:58 +01:00
iceman1001
2d283c42a6
FIX: ISO15, increased reading distance by letting tag some time to powerup.
2017-09-27 12:12:43 +02:00
iceman1001
635636a267
chg: 'hf 15 sim' - made debugstatements optional (follows DEBUG flag now)
2017-09-14 11:09:21 +02:00
iceman1001
e042ba5432
fix: BUTTON_PRESS needs...
2017-09-05 10:36:25 +02:00
iceman1001
2c1e2a9f3a
CHG: 'hf 15 findafi' - added the possibility to cancel loop with buttonpress
2017-09-05 10:31:27 +02:00
iceman1001
e69d070596
fix: 'hf 15 findafi' switch off antenna afterwards
2017-09-05 10:16:37 +02:00
iceman1001
f21555b1b2
fix: stack corruptions. keep it simple. (coverty scan 170498, 170497, 170496)
2017-09-05 10:10:24 +02:00
iceman1001
85b1c6bdfb
add: 'hf 15 list' is now possible, since I like to be able to call both "hf list 15" and "hf 15 list"...
...
chg: 'hf list 15' better annotations, the flags doens't define the command anymore
chg: device side, iso15, experimenting with different settings.
The tag still doesn't answer to 0x002B not 0x202B---uid--- commands.
2017-09-04 22:48:35 +02:00
iceman1001
ec07e2e006
FIX: 'hf 15 *' commands - the demod should work better now and as a bonus I've added some tracelogging. The timer is not quite correct yet but its a start.
...
sample:
hf 15 reader
hf list raw
2017-09-04 13:56:57 +02:00
iceman1001
eec5780b62
chg: minor clean up in iso15693 commands.
2017-08-31 13:24:12 +02:00
iceman1001
a8334d6ab3
chg: added some WDT_HIT calls
2017-08-21 17:17:43 +02:00
iceman1001
823a814cf6
FIX: some possible null - ref bugs in 'iclass' , 'iso15693' deviceside.
...
FIX: 0 is not a reference.
FIX: iso15693 - wait wasn't implemented
chg: 'hf 15' getTagInfo_15 renamned.
chg: 'hf iclass loclass' some output got newline
2017-08-19 09:49:41 +02:00
iceman1001
722d8b2cdb
chg: more adjustments to iso15 sim
2017-07-31 18:24:53 +02:00
iceman1001
479a288543
chg: 'hf 15 sim' - now it loops until buttonpress or usb_received.
2017-07-31 17:55:21 +02:00
iceman1001
4406f4ee2a
CHG: removed some #DEFINE TRUE/FALSE
2017-07-07 12:52:51 +02:00
iceman1001
6b23be6b7e
CHG: cleaning up.
2016-08-04 21:37:43 +02:00
iceman1001
1b4a446aba
CHG: syntax suger..
2016-04-10 12:58:04 +02:00
iceman1001
6fc68747f6
ADD: well, starting with a luascript for reading calypso tags, made me remake the 14b raw command on client and device side. Sorry @marshmellow42 , but this one broke your "hf 14b info" implementation. I fixed the "hf 14b read" and the hf search. So not to bad, but still a bit broken. The 14b raw device side is now very similar to 14a raw. Which is good. There is a Standard 14b 0x050008 detection and STmicroelectronic 0x0600 detection on deviceside. This removes a lot of code client side.
...
I also made the SRi read functions better by combining them. The demodulation / uart code should be the same as last summers changes. The device side code can now be even smaller.
2016-03-20 19:33:07 +01:00
iceman1001
f2c2b174cd
CHG: moved some #define into include\common.h (which is call by apps.h), so we have one place for them. Also changed them to CAPITAL.
...
ABS(), MIN(), MAX()
2016-03-13 07:16:42 +01:00
iceman1001
4a71da5a35
FIX: Coverity Scan complains about resourceleaks, array reads outside of index, uninitialized variables.
2016-01-20 17:13:25 +01:00
iceman1001
5ee53a0e75
ADD: There were lot of calls to enable tracing, but very few to turn it of afterwards in the methods.
...
Don't know if it has some influence but can't hurt calling "set_tracing(FALSE);" when method returns.
2015-10-11 19:14:17 +02:00
iceman1001
99cf19d9e8
ADD: @pwpivi 's latest fixes for bigbuff
...
ADD: @marshmellow 14b changes.
fix: fixes to the timing inside iso14443b.c sniff/sending. Between TX & RX there should be a 151us pause.
2015-06-29 22:36:55 +02:00
pwpiwi
117d9ec25c
Refactoring of BigBuf handling in order to prepare for more efficient memory allocation and longer traces.
2015-01-27 22:25:55 +01:00