mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-12 17:47:22 -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_T2 (COTAG_T1>>1)
|
||||
#define COTAG_ONE_THRESHOLD 128+30
|
||||
#define COTAG_ZERO_THRESHOLD 128-30
|
||||
#define COTAG_ONE_THRESHOLD 128+10
|
||||
#define COTAG_ZERO_THRESHOLD 128-10
|
||||
#ifndef COTAG_BITS
|
||||
#define COTAG_BITS 264
|
||||
#endif
|
||||
|
@ -437,6 +437,11 @@ void doCotagAcquisition(size_t sample_size) {
|
|||
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() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue