mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-19 13:00:42 -07:00
fix: cotag on device side...
This commit is contained in:
parent
44d3539cbf
commit
c1e88f1a9b
1 changed files with 7 additions and 2 deletions
|
@ -374,8 +374,8 @@ void doT55x7Acquisition(size_t sample_size) {
|
||||||
|
|
||||||
#define COTAG_T1 384
|
#define COTAG_T1 384
|
||||||
#define COTAG_T2 (COTAG_T1>>1)
|
#define COTAG_T2 (COTAG_T1>>1)
|
||||||
#define COTAG_ONE_THRESHOLD 128+30
|
#define COTAG_ONE_THRESHOLD 128+10
|
||||||
#define COTAG_ZERO_THRESHOLD 128-30
|
#define COTAG_ZERO_THRESHOLD 128-10
|
||||||
#ifndef COTAG_BITS
|
#ifndef COTAG_BITS
|
||||||
#define COTAG_BITS 264
|
#define COTAG_BITS 264
|
||||||
#endif
|
#endif
|
||||||
|
@ -437,6 +437,11 @@ void doCotagAcquisition(size_t sample_size) {
|
||||||
dest[i] = dest[i - 1];
|
dest[i] = dest[i - 1];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Ensure that DC offset removal and noise check is performed for any device-side processing
|
||||||
|
removeSignalOffset(dest, bufsize);
|
||||||
|
computeSignalProperties(dest, bufsize);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
uint32_t doCotagAcquisitionManchester() {
|
uint32_t doCotagAcquisitionManchester() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue