diff options
Diffstat (limited to 'easytool/mifare_classic.h')
-rw-r--r-- | easytool/mifare_classic.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/easytool/mifare_classic.h b/easytool/mifare_classic.h new file mode 100644 index 0000000..c6ba524 --- /dev/null +++ b/easytool/mifare_classic.h @@ -0,0 +1,16 @@ +#ifndef EASY_MFCL_H +#define EASY_MFCL_H + +#include <stdint.h> + +#define ABP_C1 0x04 +#define ABP_C2 0x02 +#define ABP_C3 0x01 + +struct acc_bits_parsed { + uint8_t block[4]; +}; + +void mfcl_parse_acc_bits(struct acc_bits_parsed *abp, uint8_t *acc_bits); + +#endif |