1 //-----------------------------------------------------------------------------
2 // Copyright (C) Proxmark3 contributors. See AUTHORS.md for details.
4 // This program is free software: you can redistribute it and/or modify
5 // it under the terms of the GNU General Public License as published by
6 // the Free Software Foundation, either version 3 of the License, or
7 // (at your option) any later version.
9 // This program is distributed in the hope that it will be useful,
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 // GNU General Public License for more details.
14 // See LICENSE.txt for the text of the license.
15 //-----------------------------------------------------------------------------
19 #include "proxmark3_arm.h"
21 // what to do with skipped data
22 #define HF_SNOOP_SKIP_NONE (0)
23 #define HF_SNOOP_SKIP_DROP (1)
24 #define HF_SNOOP_SKIP_MAX (2)
25 #define HF_SNOOP_SKIP_MIN (3)
26 #define HF_SNOOP_SKIP_AVG (4)
28 int HfSniff(uint32_t samplesToSkip
, uint32_t triggersToSkip
, uint16_t *len
, uint8_t skipMode
, uint8_t skipRatio
);
29 void HfPlotDownload(void);