]>
Commit | Line | Data |
---|---|---|
1 | #ifndef __ISO14443A_H | |
2 | #define __ISO14443A_H | |
3 | #include "common.h" | |
4 | ||
5 | extern byte_t oddparity (const byte_t bt); | |
6 | extern uint32_t GetParity(const uint8_t * pbtCmd, int iLen); | |
7 | extern void AppendCrc14443a(uint8_t* data, int len); | |
8 | ||
9 | extern void ReaderTransmitShort(const uint8_t* bt); | |
10 | extern void ReaderTransmit(uint8_t* frame, int len); | |
11 | extern void ReaderTransmitPar(uint8_t* frame, int len, uint32_t par); | |
12 | extern int ReaderReceive(uint8_t* receivedAnswer); | |
13 | ||
14 | extern void iso14443a_setup(); | |
15 | extern int iso14443a_select_card(uint8_t * uid_ptr, iso14a_card_select_t * resp_data, uint32_t * cuid_ptr); | |
16 | extern void iso14a_set_trigger(int enable); | |
17 | ||
18 | #endif /* __ISO14443A_H */ |