X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/0923c43cc675b08a295dd531ae0f7c4ed87a1d1d..b86225188edcbcd6af6a545920115d67130882bc:/armsrc/iso14443b.h diff --git a/armsrc/iso14443b.h b/armsrc/iso14443b.h index e522c652..75fdab55 100644 --- a/armsrc/iso14443b.h +++ b/armsrc/iso14443b.h @@ -32,12 +32,17 @@ uint8_t iso14443b_apdu(uint8_t const *message, size_t message_length, uint8_t *r uint8_t iso14443b_select_card(iso14b_card_select_t* card); uint8_t iso14443b_select_card_srx(iso14b_card_select_t* card); - -#define SIM_NOFIELD 0 -#define SIM_IDLE 1 -#define SIM_HALTED 2 -#define SIM_SELECTING 3 -#define SIM_HALTING 4 +// testfunctions +void WaitForFpgaDelayQueueIsEmpty( uint16_t delay ); +void ClearFpgaShiftingRegisters(void); + +// States for 14B SIM command +#define SIM_NOFIELD 0 +#define SIM_IDLE 1 +#define SIM_HALTED 2 +#define SIM_SELECTING 3 +#define SIM_HALTING 4 #define SIM_ACKNOWLEDGE 5 +#define SIM_WORK 6 #endif /* __ISO14443B_H */