projects
/
proxmark3-svn
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
f4217d5
)
comment fudan check possibilities
author
marshmellow42
<marshmellowrf@gmail.com>
Sun, 21 Jun 2015 01:33:42 +0000
(21:33 -0400)
committer
marshmellow42
<marshmellowrf@gmail.com>
Sun, 21 Jun 2015 01:33:42 +0000
(21:33 -0400)
client/cmdhfmfu.c
patch
|
blob
|
blame
|
history
diff --git
a/client/cmdhfmfu.c
b/client/cmdhfmfu.c
index a631b6b1fc7a68de1c87c0de486a0b046db295a9..3dfee3a6afe33f09add7d9db2d347c1345adaf73 100644
(file)
--- a/
client/cmdhfmfu.c
+++ b/
client/cmdhfmfu.c
@@
-276,7
+276,20
@@
static int ulev1_readSignature( uint8_t *response, uint16_t responseLength ){
return len;
}
return len;
}
-//make sure field is off before calling this function
+
+// Fudan check checks for which error is given for a command with incorrect crc
+// NXP UL chip responds with 01, fudan 00.
+// other possible checks:
+// send a0 + crc
+// UL responds with 00, fudan doesn't respond
+// or
+// send a200 + crc
+// UL doesn't respond, fudan responds with 00
+// or
+// send 300000 + crc (read with extra byte(s))
+// UL responds with read of page 0, fudan doesn't respond.
+//
+// make sure field is off before calling this function
static int ul_fudan_check( void ){
iso14a_card_select_t card;
if ( !ul_select(&card) )
static int ul_fudan_check( void ){
iso14a_card_select_t card;
if ( !ul_select(&card) )
Impressum
,
Datenschutz