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"
|
|
|
|
|
2020-10-12 02:06:03 +08:00
|
|
|
int em4x50_standalone_read(uint32_t *words);
|
2020-10-04 04:59:21 +08:00
|
|
|
int em4x50_standalone_brute(uint32_t start, uint32_t stop, uint32_t *pwd);
|
2020-09-24 05:06:12 +08:00
|
|
|
bool em4x50_sim_send_listen_window(void);
|
|
|
|
bool em4x50_sim_send_word(uint32_t word);
|
2020-09-05 19:25:57 +08:00
|
|
|
|
2020-10-04 04:59:21 +08:00
|
|
|
|
2020-06-15 20:32:44 +08:00
|
|
|
void em4x50_info(em4x50_data_t *etd);
|
2020-06-17 05:24:44 +08:00
|
|
|
void em4x50_write(em4x50_data_t *etd);
|
2020-11-02 05:44:16 +08:00
|
|
|
void em4x50_writepwd(em4x50_data_t *etd);
|
2020-06-29 03:32:52 +08:00
|
|
|
void em4x50_read(em4x50_data_t *etd);
|
2020-09-27 19:42:27 +08:00
|
|
|
void em4x50_brute(em4x50_data_t *etd);
|
2020-10-22 06:42:18 +08:00
|
|
|
void em4x50_login(uint32_t *password);
|
2020-09-28 05:39:04 +08:00
|
|
|
void em4x50_reset(void);
|
2020-10-06 04:59:08 +08:00
|
|
|
void em4x50_watch(void);
|
2020-10-25 23:40:02 +08:00
|
|
|
void em4x50_restore(em4x50_data_t *etd);
|
2020-10-31 08:50:03 +08:00
|
|
|
void em4x50_sim(void);
|
2020-10-31 21:53:52 +08:00
|
|
|
void em4x50_stdread(void);
|
2020-11-02 05:44:16 +08:00
|
|
|
void em4x50_chk(uint32_t *numkeys);
|
2020-06-15 20:32:44 +08:00
|
|
|
|
|
|
|
#endif /* EM4X50_H */
|