proxmark3/armsrc/em4x50.h

33 lines
1 KiB
C
Raw Normal View History

2020-06-15 20:32:44 +08:00
//-----------------------------------------------------------------------------
// Copyright (C) 2020 tharexde
//
// 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.
//-----------------------------------------------------------------------------
// Low frequency EM4x50 commands
//-----------------------------------------------------------------------------
#ifndef EM4X50_H
#define EM4X50_H
#include "../include/em4x50.h"
typedef struct {
uint8_t sectors[34][7];
} em4x50_tag_t;
2020-09-05 19:25:57 +08:00
int em4x50_standalone_read(uint64_t *words);
bool em4x50_sim_send_listen_window2(void);
bool em4x50_sim_send_word3(uint32_t word);
2020-06-15 20:32:44 +08:00
void em4x50_info(em4x50_data_t *etd);
void em4x50_write(em4x50_data_t *etd);
void em4x50_write_password(em4x50_data_t *etd);
2020-06-29 03:32:52 +08:00
void em4x50_read(em4x50_data_t *etd);
2020-07-09 07:59:09 +08:00
void em4x50_wipe(em4x50_data_t *etd);
2020-09-05 19:25:57 +08:00
void em4x50_sim(em4x50_data_t *etd);
void em4x50_test(em4x50_data_t *etd);
2020-06-15 20:32:44 +08:00
#endif /* EM4X50_H */