X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/6fc68747f68c47b65215013545c7c551105a366a..d5bded10e28299e4a2b49aaae7d93457736c1263:/armsrc/iso14443b.h diff --git a/armsrc/iso14443b.h b/armsrc/iso14443b.h index 30d1ac34..75fdab55 100644 --- a/armsrc/iso14443b.h +++ b/armsrc/iso14443b.h @@ -25,11 +25,24 @@ extern void AppendCrc14443b(uint8_t *data, int len); -uint8_t iso14443b_apdu(uint8_t const *message, size_t message_length, uint8_t *response); +void SendRawCommand14443B_Ex(UsbCommand *c); + void iso14443b_setup(); +uint8_t iso14443b_apdu(uint8_t const *message, size_t message_length, uint8_t *response); uint8_t iso14443b_select_card(iso14b_card_select_t* card); uint8_t iso14443b_select_card_srx(iso14b_card_select_t* card); -void SendRawCommand14443B_Ex(UsbCommand *c); +// 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 */