From: frederikmoellers@aol.de Date: Fri, 24 Aug 2012 21:00:03 +0000 (+0000) Subject: -Fixed a bug in iso14_apdu X-Git-Tag: v1.0.0~150 X-Git-Url: http://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/commitdiff_plain/b0127e65f1bef754e0ac72893e2ba99f9ca7f106?hp=b0127e65f1bef754e0ac72893e2ba99f9ca7f106 -Fixed a bug in iso14_apdu -According to ISO14443-4, the block number (bit 0) in the PCB needs to be flipped every once in a while. Not doing so leads to the card not responding to commands anymore. The flipping is done according to the standard now. -Declare iso14_apdu in iso14443a.h to enable usage from other .c files -iso14_apdu now returns 0 if ReaderReceive returned 0 (to distinguish between the case that ReaderReceive returns -1 and the case that it returns 0) -Added a new function to change the timeout (to enable changing it from other .c files without the need for a global variable) ---