mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2024-11-21 04:50:29 -08:00
42 lines
1.7 KiB
C
42 lines
1.7 KiB
C
//-----------------------------------------------------------------------------
|
|
// Copyright (C) Proxmark3 contributors. See AUTHORS.md for details.
|
|
//
|
|
// This program is free software: you can redistribute it and/or modify
|
|
// it under the terms of the GNU General Public License as published by
|
|
// the Free Software Foundation, either version 3 of the License, or
|
|
// (at your option) any later version.
|
|
//
|
|
// This program is distributed in the hope that it will be useful,
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
// GNU General Public License for more details.
|
|
//
|
|
// See LICENSE.txt for the text of the license.
|
|
//-----------------------------------------------------------------------------
|
|
// Low frequency EM4x50 commands
|
|
//-----------------------------------------------------------------------------
|
|
|
|
#ifndef EM4X50_H
|
|
#define EM4X50_H
|
|
|
|
#include "../include/em4x50.h"
|
|
|
|
// used by standalone mode
|
|
void em4x50_setup_read(void);
|
|
int standard_read(int *now, uint32_t *words);
|
|
void em4x50_setup_sim(void);
|
|
void em4x50_handle_commands(int *command, uint32_t *tag, bool ledcontrol);
|
|
|
|
// dispatch functions (appmain.c)
|
|
void em4x50_info(const em4x50_data_t *etd, bool ledcontrol);
|
|
void em4x50_write(const em4x50_data_t *etd, bool ledcontrol);
|
|
void em4x50_writepwd(const em4x50_data_t *etd, bool ledcontrol);
|
|
void em4x50_read(const em4x50_data_t *etd, bool ledcontrol);
|
|
void em4x50_brute(const em4x50_data_t *etd, bool ledcontrol);
|
|
void em4x50_login(const uint32_t *password, bool ledcontrol);
|
|
void em4x50_sim(const uint32_t *password, bool ledcontrol);
|
|
void em4x50_reader(bool ledcontrol);
|
|
void em4x50_chk(const char *filename, bool ledcontrol);
|
|
|
|
#endif /* EM4X50_H */
|