mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-07-15 01:33:00 -07:00
* add PCSC reader support to 'sc raw' and all 'emv' commands * move all APDU -> TPDU mapping to ExchangeAPDUSC() * print "PSE" instead of "PPSE" when using contact interface * fix some #defines in protocols.h * DropField only when using contactless * some refactoring
23 lines
876 B
C
23 lines
876 B
C
//-----------------------------------------------------------------------------
|
|
// Copyright (C) 2019 piwi
|
|
//
|
|
// 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.
|
|
//-----------------------------------------------------------------------------
|
|
// PCSC functions to use alternative Smartcard Readers
|
|
//-----------------------------------------------------------------------------
|
|
|
|
#ifndef PCSC_H__
|
|
#define PCSC_H__
|
|
|
|
#include <stdbool.h>
|
|
#include "smartcard.h"
|
|
|
|
char *getAlternativeSmartcardReader(void);
|
|
bool pcscCheckForCardReaders(void);
|
|
bool pcscSelectAlternativeCardReader(const char *readername);
|
|
bool pcscGetATR(smart_card_atr_t *card);
|
|
void pcscTransmit(uint8_t *data, uint32_t data_len, uint32_t flags, uint8_t *response, int *response_len);
|
|
|
|
#endif
|