X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/d51717fffdc5859964a3ba878c7c9d92689448de..137f207a8d18365eac183588910c5abdc693f76b:/armsrc/iso14443b.h?ds=inline diff --git a/armsrc/iso14443b.h b/armsrc/iso14443b.h index 1ed439ac..f2cf74a5 100644 --- a/armsrc/iso14443b.h +++ b/armsrc/iso14443b.h @@ -14,24 +14,30 @@ #define __ISO14443B_H #include "proxmark3.h" +#include "common.h" #include "apps.h" #include "util.h" #include "string.h" #include "iso14443crc.h" -#include "common.h" + #include "mifare.h" #include "protocols.h" #include "mifareutil.h" // access to global variable: MF_DBGLEVEL -extern void AppendCrc14443b(uint8_t *data, int len); +#ifdef __cplusplus +extern "C" { +#endif +extern void AppendCrc14443b(uint8_t *data, int len); 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); +// testfunctions +void WaitForFpgaDelayQueueIsEmpty( uint16_t delay ); +void ClearFpgaShiftingRegisters(void); // States for 14B SIM command #define SIM_NOFIELD 0 @@ -42,4 +48,8 @@ uint8_t iso14443b_select_card_srx(iso14b_card_select_t* card); #define SIM_ACKNOWLEDGE 5 #define SIM_WORK 6 +#ifdef __cplusplus +} +#endif + #endif /* __ISO14443B_H */