mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2024-12-27 10:34:08 +08:00
24eaac8681
chg: FPC com speed limited to 115200 when compiled with FPC chg: USART remake (@drandreas)
46 lines
1.4 KiB
C
46 lines
1.4 KiB
C
//-----------------------------------------------------------------------------
|
|
// Copyright (C) 2017 October, Satsuoni
|
|
// 2017 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.
|
|
//-----------------------------------------------------------------------------
|
|
// High frequency ISO18092 / FeliCa commands
|
|
//-----------------------------------------------------------------------------
|
|
|
|
#ifndef CMDHFFELICA_H__
|
|
#define CMDHFFELICA_H__
|
|
|
|
#include <stdint.h>
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
#include <string.h>
|
|
#include <unistd.h>
|
|
#include "proxmark3.h"
|
|
#include "common.h"
|
|
#include "ui.h"
|
|
#include "util.h"
|
|
#include "cmdparser.h"
|
|
#include "comms.h" // getfromdevice
|
|
#include "iso14443crc.h"
|
|
#include "cmdhf.h" // list cmd
|
|
#include "mifare.h" // felica_card_select_t struct
|
|
|
|
extern int CmdHFFelica(const char *Cmd);
|
|
extern int CmdHFFelicaList(const char *Cmd);
|
|
extern int CmdHFFelicaReader(const char *Cmd);
|
|
extern int CmdHFFelicaSim(const char *Cmd);
|
|
extern int CmdHFFelicaSniff(const char *Cmd);
|
|
extern int CmdHFFelicaCmdRaw(const char *Cmd);
|
|
|
|
extern int usage_hf_felica_sim(void);
|
|
extern int usage_hf_felica_sniff(void);
|
|
extern int usage_hf_fFelica_raw(void);
|
|
|
|
void waitCmdFelica(uint8_t iSelect);
|
|
|
|
//temp
|
|
extern int CmdHFFelicaSimLite(const char *Cmd);
|
|
extern int CmdHFFelicaDumpLite(const char *Cmd);
|
|
|
|
#endif
|