style
[RRG-proxmark3.git] / armsrc / em4x50.h
blobeb52c36e50911df2d43e18c0736e69f694e9dd62
1 //-----------------------------------------------------------------------------
2 // Copyright (C) Proxmark3 contributors. See AUTHORS.md for details.
3 //
4 // This program is free software: you can redistribute it and/or modify
5 // it under the terms of the GNU General Public License as published by
6 // the Free Software Foundation, either version 3 of the License, or
7 // (at your option) any later version.
8 //
9 // This program is distributed in the hope that it will be useful,
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 // GNU General Public License for more details.
14 // See LICENSE.txt for the text of the license.
15 //-----------------------------------------------------------------------------
16 // Low frequency EM4x50 commands
17 //-----------------------------------------------------------------------------
19 #ifndef EM4X50_H
20 #define EM4X50_H
22 #include "../include/em4x50.h"
24 // used by standalone mode
25 void em4x50_setup_read(void);
26 int standard_read(int *now, uint32_t *words);
27 void em4x50_setup_sim(void);
28 void em4x50_handle_commands(int *command, uint32_t *tag, bool ledcontrol);
30 // dispatch functions (appmain.c)
31 void em4x50_info(const em4x50_data_t *etd, bool ledcontrol);
32 void em4x50_write(const em4x50_data_t *etd, bool ledcontrol);
33 void em4x50_writepwd(const em4x50_data_t *etd, bool ledcontrol);
34 void em4x50_read(const em4x50_data_t *etd, bool ledcontrol);
35 void em4x50_brute(const em4x50_data_t *etd, bool ledcontrol);
36 void em4x50_login(const uint32_t *password, bool ledcontrol);
37 void em4x50_sim(const uint32_t *password, bool ledcontrol);
38 void em4x50_reader(bool ledcontrol);
39 void em4x50_chk(const char *filename, bool ledcontrol);
41 #endif /* EM4X50_H */