| 1 | //----------------------------------------------------------------------------- |
| 2 | // Copyright (C) 2018 iceman |
| 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 | // Proxmark3 RDV40 Smartcard module commands |
| 9 | //----------------------------------------------------------------------------- |
| 10 | |
| 11 | #ifndef CMDSMARTCARD_H__ |
| 12 | #define CMDSMARTCARD_H__ |
| 13 | |
| 14 | #include <stdint.h> |
| 15 | #include <stdbool.h> |
| 16 | #include "smartcard.h" |
| 17 | |
| 18 | extern int CmdSmartcard(const char *Cmd); |
| 19 | extern bool smart_getATR(smart_card_atr_t *card); |
| 20 | extern int ExchangeAPDUSC(uint8_t *datain, int datainlen, bool activateCard, bool leaveSignalON, uint8_t *dataout, int maxdataoutlen, int *dataoutlen); |
| 21 | |
| 22 | #endif |