mirror of
https://github.com/Proxmark/proxmark3.git
synced 2024-11-21 04:50:14 -08:00
0b6efd01ec
* share getATR from smartcard.h/c * remove duplicates in tlv.h and add get_uint_8 * check ATS/ATR length
23 lines
859 B
C
23 lines
859 B
C
//-----------------------------------------------------------------------------
|
|
// Copyright (C) 2018 iceman
|
|
//
|
|
// This code is licensed to you under the terms of the GNU GPL, version 2 or,
|
|
// at your option, any later version. See the LICENSE.txt file for the text of
|
|
// the license.
|
|
//-----------------------------------------------------------------------------
|
|
// Proxmark3 RDV40 Smartcard module commands
|
|
//-----------------------------------------------------------------------------
|
|
|
|
#ifndef CMDSMARTCARD_H__
|
|
#define CMDSMARTCARD_H__
|
|
|
|
#include <stdint.h>
|
|
#include <stdbool.h>
|
|
#include "smartcard.h"
|
|
|
|
extern int CmdSmartcard(const char *Cmd);
|
|
extern bool smart_getATR(smart_card_atr_t *card);
|
|
extern int ExchangeAPDUSC(uint8_t *datain, int datainlen, bool activateCard, bool leaveSignalON, uint8_t *dataout, int maxdataoutlen, int *dataoutlen);
|
|
|
|
#endif
|