mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2024-11-11 01:55:38 +08:00
65 lines
1.8 KiB
C
65 lines
1.8 KiB
C
//-----------------------------------------------------------------------------
|
|
// Copyright (C) 2010 iZsh <izsh at fail0verflow.com>
|
|
//
|
|
// 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 ISO15693 commands
|
|
//-----------------------------------------------------------------------------
|
|
|
|
#ifndef CMDHF15_H__
|
|
#define CMDHF15_H__
|
|
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
#include <string.h>
|
|
#include <stdint.h>
|
|
|
|
#include "proxmark3.h"
|
|
#include "graph.h"
|
|
#include "ui.h"
|
|
#include "util.h"
|
|
#include "cmdparser.h"
|
|
#include "crc16.h" // iso15 crc
|
|
#include "cmdmain.h"
|
|
#include "cmddata.h" // getsamples
|
|
#include "loclass/fileutils.h" // savefileEML
|
|
|
|
int CmdHF15(const char *Cmd);
|
|
|
|
int HF15Reader(const char *Cmd, bool verbose);
|
|
|
|
int CmdHF15Demod(const char *Cmd);
|
|
int CmdHF15Samples(const char *Cmd);
|
|
int CmdHF15Info(const char *Cmd);
|
|
int CmdHF15Record(const char *Cmd);
|
|
int CmdHF15Reader(const char *Cmd);
|
|
int CmdHF15Sim(const char *Cmd);
|
|
int CmdHF15Afi(const char *Cmd);
|
|
int CmdHF15Dump(const char *Cmd);
|
|
int CmdHF15Raw(const char *Cmd);
|
|
int CmdHF15Readmulti(const char *Cmd);
|
|
int CmdHF15Read(const char *Cmd);
|
|
int CmdHF15Write(const char *Cmd);
|
|
|
|
int CmdHF15Help(const char *Cmd);
|
|
|
|
// usages
|
|
int usage_15_demod(void);
|
|
int usage_15_samples(void);
|
|
int usage_15_info(void);
|
|
int usage_15_record(void);
|
|
int usage_15_reader(void);
|
|
int usage_15_sim(void);
|
|
int usage_15_findafi(void);
|
|
int usage_15_dump(void);
|
|
int usage_15_restore(void);
|
|
int usage_15_raw(void);
|
|
|
|
int usage_15_read(void);
|
|
int usage_15_write(void);
|
|
int usage_15_readmulti(void);
|
|
|
|
int prepareHF15Cmd(char **cmd, UsbCommand *c, uint8_t iso15cmd);
|
|
#endif
|