]>
Commit | Line | Data |
---|---|---|
1 | //----------------------------------------------------------------------------- | |
2 | // Copyright (C) Merlok - 2017 | |
3 | // | |
4 | // This code is licensed to you under the terms of the GNU GPL, version 2 or, | |
5 | // at your option, any later version. See the LICENSE.txt file for the text of | |
6 | // the license. | |
7 | //----------------------------------------------------------------------------- | |
8 | // Command: hf mf list. It shows data from arm buffer. | |
9 | //----------------------------------------------------------------------------- | |
10 | #ifndef CMDHFLIST_H | |
11 | #define CMDHFLIST_H | |
12 | ||
13 | #include <stdlib.h> | |
14 | #include <stdint.h> | |
15 | #include <stdbool.h> | |
16 | ||
17 | extern uint8_t iso14443A_CRC_check(bool isResponse, uint8_t* data, uint8_t len); | |
18 | extern uint8_t mifare_CRC_check(bool isResponse, uint8_t* data, uint8_t len); | |
19 | extern void annotateIso14443a(char *exp, size_t size, uint8_t* cmd, uint8_t cmdsize); | |
20 | extern void annotateMifare(char *exp, size_t size, uint8_t* cmd, uint8_t cmdsize, bool isResponse); | |
21 | ||
22 | ||
23 | #endif // CMDHFLIST |