| 1 | //----------------------------------------------------------------------------- |
| 2 | // Willok, June 2018 |
| 3 | // Edits by Iceman, July 2018 |
| 4 | // |
| 5 | // This code is licensed to you under the terms of the GNU GPL, version 2 or, |
| 6 | // at your option, any later version. See the LICENSE.txt file for the text of |
| 7 | // the license. |
| 8 | //----------------------------------------------------------------------------- |
| 9 | // The main i2c code, for communications with smart card module |
| 10 | //----------------------------------------------------------------------------- |
| 11 | |
| 12 | #include "i2c.h" |
| 13 | |
| 14 | #include <stdint.h> |
| 15 | #include <stdbool.h> |
| 16 | #include "string.h" //for memset memcmp |
| 17 | #include "proxmark3.h" |
| 18 | #include "mifareutil.h" // for MF_DBGLEVEL |
| 19 | #include "BigBuf.h" |
| 20 | #include "apps.h" |
| 21 | |
| 22 | #ifdef WITH_SMARTCARD |
| 23 | #include "smartcard.h" |
| 24 | #endif |
| 25 | |
| 26 | |
| 27 |