mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-03-20 12:07:05 +08:00
Merge pull request #581 from mwalker33/Keri-MS
Keri Internal ID demod alignment. Issue #577
This commit is contained in:
commit
b9a7215ffa
1 changed files with 4 additions and 1 deletions
|
@ -181,7 +181,10 @@ static int CmdKeriDemod(const char *Cmd) {
|
||||||
uint32_t raw2 = bytebits_to_byte(DemodBuffer + 32, 32);
|
uint32_t raw2 = bytebits_to_byte(DemodBuffer + 32, 32);
|
||||||
|
|
||||||
//get internal id
|
//get internal id
|
||||||
uint32_t ID = bytebits_to_byte(DemodBuffer + 29, 32);
|
// uint32_t ID = bytebits_to_byte(DemodBuffer + 29, 32);
|
||||||
|
// Due to the 3 sync bits being at the start of the capture
|
||||||
|
// We can take the last 32bits as the internal ID.
|
||||||
|
uint32_t ID = raw2;
|
||||||
ID &= 0x7FFFFFFF;
|
ID &= 0x7FFFFFFF;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Add table
Reference in a new issue