mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-08-20 21:33:19 -07:00
add some Q5 functionality - add t55xx wipe cmd
not fully tested yet
This commit is contained in:
parent
14331320c4
commit
f665067919
4 changed files with 131 additions and 48 deletions
|
@ -646,7 +646,7 @@ int CmdVikingDemod(const char *Cmd)
|
|||
return 0;
|
||||
}
|
||||
size_t size = DemodBufferLen;
|
||||
//call lfdemod.c demod for gProxII
|
||||
//call lfdemod.c demod for Viking
|
||||
int ans = VikingDemod_AM(DemodBuffer, &size);
|
||||
if (ans < 0) {
|
||||
if (g_debugMode) PrintAndLog("Error Viking_Demod %d", ans);
|
||||
|
@ -1507,6 +1507,10 @@ int CmdFDXBdemodBI(const char *Cmd){
|
|||
if (g_debugMode) PrintAndLog("Error FDXBDemod , no startmarker found :: %d",preambleIndex);
|
||||
return 0;
|
||||
}
|
||||
if (size != 128) {
|
||||
if (g_debugMode) PrintAndLog("Error incorrect data length found");
|
||||
return 0;
|
||||
}
|
||||
|
||||
setDemodBuf(BitStream, 128, preambleIndex);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue