2019-04-26 03:44:34 +08:00
|
|
|
//-----------------------------------------------------------------------------
|
2022-01-06 09:19:46 +08:00
|
|
|
// Copyright (C) Proxmark3 contributors. See AUTHORS.md for details.
|
2019-04-26 03:44:34 +08:00
|
|
|
//
|
2022-01-06 09:19:46 +08:00
|
|
|
// This program is free software: you can redistribute it and/or modify
|
|
|
|
// it under the terms of the GNU General Public License as published by
|
|
|
|
// the Free Software Foundation, either version 3 of the License, or
|
|
|
|
// (at your option) any later version.
|
|
|
|
//
|
|
|
|
// This program is distributed in the hope that it will be useful,
|
|
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
// GNU General Public License for more details.
|
|
|
|
//
|
|
|
|
// See LICENSE.txt for the text of the license.
|
2019-04-26 03:44:34 +08:00
|
|
|
//-----------------------------------------------------------------------------
|
2019-08-08 22:57:33 +08:00
|
|
|
#ifndef __HFSNOOP_H
|
|
|
|
#define __HFSNOOP_H
|
2019-04-26 03:44:34 +08:00
|
|
|
|
2020-06-18 17:54:19 +08:00
|
|
|
#include "proxmark3_arm.h"
|
|
|
|
|
2022-07-09 21:45:08 +08:00
|
|
|
// what to do with skipped data
|
|
|
|
#define HF_SNOOP_SKIP_NONE (0)
|
|
|
|
#define HF_SNOOP_SKIP_DROP (1)
|
|
|
|
#define HF_SNOOP_SKIP_MAX (2)
|
|
|
|
#define HF_SNOOP_SKIP_MIN (3)
|
|
|
|
#define HF_SNOOP_SKIP_AVG (4)
|
|
|
|
|
|
|
|
int HfSniff(uint32_t samplesToSkip, uint32_t triggersToSkip, uint16_t *len, uint8_t skipMode, uint8_t skipRatio);
|
2020-01-12 23:45:24 +08:00
|
|
|
void HfPlotDownload(void);
|
2019-08-08 22:57:33 +08:00
|
|
|
#endif
|