mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 10:37:23 -07:00
CHG: increased the preamble
CHG: from inverted to non-inverted. 2 of the forum samples is non-inverted. Block 0: 00150080
This commit is contained in:
parent
d34a0b0cc7
commit
c71f4da9bc
4 changed files with 84 additions and 19 deletions
|
@ -770,7 +770,7 @@ int NedapDemod(uint8_t *dest, size_t *size) {
|
|||
if (*size < 128) return -3;
|
||||
|
||||
size_t startIdx = 0;
|
||||
uint8_t preamble[] = {1,1,1,1,1,1,1,1,1,0};
|
||||
uint8_t preamble[] = {1,1,1,1,1,1,1,1,1,0,0,0,1};
|
||||
uint8_t errChk = preambleSearch(dest, preamble, sizeof(preamble), size, &startIdx);
|
||||
if (errChk == 0) return -4; //preamble not found
|
||||
//return start position
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue