mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-01-19 22:51:48 +08:00
6fc68747f6
I also made the SRi read functions better by combining them. The demodulation / uart code should be the same as last summers changes. The device side code can now be even smaller.
35 lines
1.2 KiB
C
35 lines
1.2 KiB
C
//-----------------------------------------------------------------------------
|
|
// Merlok - June 2011
|
|
// Gerhard de Koning Gans - May 2008
|
|
// Hagen Fritsch - June 2010
|
|
//
|
|
// 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.
|
|
//-----------------------------------------------------------------------------
|
|
// Routines to support ISO 14443 type B.
|
|
//-----------------------------------------------------------------------------
|
|
|
|
#ifndef __ISO14443B_H
|
|
#define __ISO14443B_H
|
|
|
|
#include "proxmark3.h"
|
|
#include "apps.h"
|
|
#include "util.h"
|
|
#include "string.h"
|
|
#include "iso14443crc.h"
|
|
#include "common.h"
|
|
#include "mifare.h"
|
|
#include "protocols.h"
|
|
#include "mifareutil.h" // access to global variable: MF_DBGLEVEL
|
|
|
|
extern void AppendCrc14443b(uint8_t *data, int len);
|
|
|
|
uint8_t iso14443b_apdu(uint8_t const *message, size_t message_length, uint8_t *response);
|
|
void iso14443b_setup();
|
|
uint8_t iso14443b_select_card(iso14b_card_select_t* card);
|
|
uint8_t iso14443b_select_card_srx(iso14b_card_select_t* card);
|
|
|
|
void SendRawCommand14443B_Ex(UsbCommand *c);
|
|
|
|
#endif /* __ISO14443B_H */
|