mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 13:53:55 -07:00
hf read adc low level command
This commit is contained in:
parent
ded87056d4
commit
541c060a5d
7 changed files with 86 additions and 2 deletions
|
@ -33,6 +33,7 @@
|
|||
#include "legicrf.h"
|
||||
#include "BigBuf.h"
|
||||
#include "iclass_cmd.h"
|
||||
#include "hfops.h"
|
||||
#include "iso14443a.h"
|
||||
#include "iso14443b.h"
|
||||
#include "iso15693.h"
|
||||
|
@ -1384,6 +1385,15 @@ static void PacketReceived(PacketCommandNG *packet) {
|
|||
}
|
||||
#endif
|
||||
|
||||
#ifdef WITH_GENERAL_HF
|
||||
case CMD_HF_ACQ_RAW_ADC: {
|
||||
uint32_t samplesCount = 0;
|
||||
memcpy(&samplesCount, packet->data.asBytes, 4);
|
||||
HfReadADC(samplesCount);
|
||||
break;
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef WITH_ISO14443a
|
||||
case CMD_HF_ISO14443A_PRINT_CONFIG: {
|
||||
printHf14aConfig();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue