2016-12-16 01:04:30 +08:00
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
//
|
|
|
|
// 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.
|
|
|
|
//-----------------------------------------------------------------------------
|
2017-07-14 22:20:34 +08:00
|
|
|
// Low frequency Noralsy tag commands
|
2016-12-16 01:04:30 +08:00
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
#ifndef CMDLFNORALSY_H__
|
|
|
|
#define CMDLFNORALSY_H__
|
2019-08-08 22:57:33 +08:00
|
|
|
|
|
|
|
#include "common.h"
|
2017-07-14 22:20:34 +08:00
|
|
|
|
2019-09-16 02:56:43 +08:00
|
|
|
#include <string.h>
|
|
|
|
#include <stdlib.h>
|
|
|
|
#include <ctype.h>
|
|
|
|
|
|
|
|
#include "cmdparser.h" // command_t
|
|
|
|
#include "comms.h"
|
|
|
|
#include "ui.h"
|
|
|
|
#include "cmddata.h"
|
|
|
|
#include "cmdlf.h"
|
|
|
|
#include "protocols.h" // for T55xx config register definitions
|
|
|
|
#include "lfdemod.h" // parityTest
|
|
|
|
#include "cmdlft55xx.h" // verifywrite
|
|
|
|
|
2019-04-06 06:38:22 +08:00
|
|
|
int CmdLFNoralsy(const char *Cmd);
|
2016-12-16 01:04:30 +08:00
|
|
|
|
2019-04-12 06:38:54 +08:00
|
|
|
int demodNoralsy(void);
|
|
|
|
int detectNoralsy(uint8_t *dest, size_t *size);
|
2017-01-12 06:00:08 +08:00
|
|
|
int getnoralsyBits(uint32_t id, uint16_t year, uint8_t *bits);
|
2016-12-16 01:04:30 +08:00
|
|
|
|
|
|
|
#endif
|
|
|
|
|