mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-08-20 21:33:19 -07:00
Added the new SRIX4K reading routine, thanks to jonor. Regression tested against SRI512 tags,
but I do not have SRIX4K tags to test this with.
This commit is contained in:
parent
e70140224f
commit
c86cc30801
6 changed files with 34 additions and 2 deletions
|
@ -873,6 +873,15 @@ void AcquireRawAdcSamplesIso14443(DWORD parameter)
|
|||
//-----------------------------------------------------------------------------
|
||||
void ReadSRI512Iso14443(DWORD parameter)
|
||||
{
|
||||
ReadSTMemoryIso14443(parameter,0x0F);
|
||||
}
|
||||
void ReadSRIX4KIso14443(DWORD parameter)
|
||||
{
|
||||
ReadSTMemoryIso14443(parameter,0x7F);
|
||||
}
|
||||
|
||||
void ReadSTMemoryIso14443(DWORD parameter,DWORD dwLast)
|
||||
{
|
||||
BYTE i = 0x00;
|
||||
|
||||
// Make sure that we start from off, since the tags are stateful;
|
||||
|
@ -961,8 +970,9 @@ void ReadSRI512Iso14443(DWORD parameter)
|
|||
DbpString("Tag memory dump, block 0 to 15");
|
||||
cmd1[0] = 0x08;
|
||||
i = 0x00;
|
||||
dwLast++;
|
||||
for (;;) {
|
||||
if (i == 0x10) {
|
||||
if (i == dwLast) {
|
||||
DbpString("System area block (0xff):");
|
||||
i = 0xff;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue