TEST: Moebius two noce mfkey32...
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
|
||||
#include "iso14443crc.h"
|
||||
|
||||
#define RECEIVE_SAMPLES_TIMEOUT 0x0003FFFF
|
||||
#define RECEIVE_SAMPLES_TIMEOUT 0x0004FFFF
|
||||
#define ISO14443B_DMA_BUFFER_SIZE 256
|
||||
|
||||
uint8_t PowerOn = TRUE;
|
||||
@@ -799,7 +799,7 @@ static void GetSamplesFor14443bDemod(int n, bool quiet)
|
||||
|
||||
samples += 2;
|
||||
|
||||
if(Handle14443bSamplesDemod(ci, cq)) {
|
||||
if(Handle14443bSamplesDemod(ci | 0x01 , cq | 0x01)) {
|
||||
gotFrame = TRUE;
|
||||
break;
|
||||
}
|
||||
@@ -1307,6 +1307,7 @@ void RAMFUNC SnoopIso14443b(void)
|
||||
}
|
||||
|
||||
if(!ReaderIsActive) { // no need to try decoding tag data if the reader is sending - and we cannot afford the time
|
||||
// is this | 0x01 the error? & 0xfe in https://github.com/Proxmark/proxmark3/issues/103
|
||||
if(Handle14443bSamplesDemod(ci | 0x01, cq | 0x01)) {
|
||||
|
||||
//Use samples as a time measurement
|
||||
|
||||
21
armsrc/iso14443b.h
Normal file
21
armsrc/iso14443b.h
Normal file
@@ -0,0 +1,21 @@
|
||||
//-----------------------------------------------------------------------------
|
||||
// Merlok - June 2011
|
||||
// Gerhard de Koning Gans - May 2008
|
||||
// Hagen Fritsch - June 2010
|
||||
//
|
||||
// This code is licensed to you under the terms of the GNU GPL, version 2 or,
|
||||
// at your option, any later version. See the LICENSE.txt file for the text of
|
||||
// the license.
|
||||
//-----------------------------------------------------------------------------
|
||||
// Routines to support ISO 14443 type A.
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
#ifndef __ISO14443B_H
|
||||
#define __ISO14443B_H
|
||||
#include "common.h"
|
||||
|
||||
int iso14443b_apdu(uint8_t const *message, size_t message_length, uint8_t *response);
|
||||
void iso14443b_setup();
|
||||
int iso14443b_select_card();
|
||||
|
||||
#endif /* __ISO14443B_H */
|
||||
Reference in New Issue
Block a user