mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-08-19 21:03:23 -07:00
update more demods for graphing
still todo fsk based tag demods (like HID, AWID, IO, Pyramid...)
This commit is contained in:
parent
b8fdac9e6f
commit
9fe4507c03
20 changed files with 48 additions and 33 deletions
|
@ -153,7 +153,8 @@ int AskEm410xDecode(bool verbose, uint32_t *hi, uint64_t *lo )
|
|||
if (Em410xDecode(BitStream, &BitLen, &idx, hi, lo)) {
|
||||
//set GraphBuffer for clone or sim command
|
||||
setDemodBuf(DemodBuffer, (BitLen==40) ? 64 : 128, idx+1);
|
||||
g_DemodStartIdx += (idx+1)*g_DemodClock;
|
||||
setClockGrid(g_DemodClock, g_DemodStartIdx + ((idx+1)*g_DemodClock));
|
||||
|
||||
if (g_debugMode) {
|
||||
PrintAndLog("DEBUG: idx: %d, Len: %d, Printing Demod Buffer:", idx, BitLen);
|
||||
printDemodBuff();
|
||||
|
@ -704,6 +705,8 @@ bool EM4x05testDemodReadData(uint32_t *word, bool readCmd) {
|
|||
}
|
||||
|
||||
setDemodBuf(DemodBuffer, 32, 0);
|
||||
setClockGrid(0,0);
|
||||
|
||||
*word = bytebits_to_byteLSBF(DemodBuffer, 32);
|
||||
}
|
||||
return true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue