From 0f5442134555e26aed197dda9f70b8dbd4c4be27 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Fri, 4 Dec 2020 00:13:37 +0100 Subject: [PATCH] forgot a file --- client/src/cmdlfem410x.h | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 client/src/cmdlfem410x.h diff --git a/client/src/cmdlfem410x.h b/client/src/cmdlfem410x.h new file mode 100644 index 000000000..62d35cf55 --- /dev/null +++ b/client/src/cmdlfem410x.h @@ -0,0 +1,24 @@ +//----------------------------------------------------------------------------- +// Copyright (C) 2010 iZsh +// 2016, 2017 marshmellow, iceman +// 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 EM 410x commands +//----------------------------------------------------------------------------- + +#ifndef CMDLFEM410X_H__ +#define CMDLFEM410X_H__ + +#include "common.h" + +int CmdLFEM410X(const char *Cmd); + +int demodEM410x(bool verbose); +void printEM410x(uint32_t hi, uint64_t id); + +int AskEm410xDecode(bool verbose, uint32_t *hi, uint64_t *lo); +int AskEm410xDemod(int clk, int invert, int maxErr, size_t maxLen, bool amplify, uint32_t *hi, uint64_t *lo, bool verbose); + +#endif