From: marshmellow42 Date: Sun, 21 Jun 2015 01:33:42 +0000 (-0400) Subject: comment fudan check possibilities X-Git-Tag: v2.2.0~13^2^2~1 X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/commitdiff_plain/7c8b5e68110a08a78b6fc5d49175108d9e751345?ds=sidebyside comment fudan check possibilities --- diff --git a/client/cmdhfmfu.c b/client/cmdhfmfu.c index a631b6b1..3dfee3a6 100644 --- a/client/cmdhfmfu.c +++ b/client/cmdhfmfu.c @@ -276,7 +276,20 @@ static int ulev1_readSignature( uint8_t *response, uint16_t responseLength ){ 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) )