mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 18:48:13 -07:00
skeleton for ZX8211
This commit is contained in:
parent
7668d99300
commit
69ea599fee
11 changed files with 253 additions and 1 deletions
|
@ -48,6 +48,7 @@
|
|||
#include "ticks.h"
|
||||
#include "commonutil.h"
|
||||
#include "crc16.h"
|
||||
#include "zx8211.h"
|
||||
|
||||
|
||||
#ifdef WITH_LCD
|
||||
|
@ -541,6 +542,13 @@ static void SendCapabilities(void) {
|
|||
#else
|
||||
capabilities.compiled_with_lcd = false;
|
||||
#endif
|
||||
|
||||
#ifdef WITH_ZX8211
|
||||
capabilities.compiled_with_zx8211 = true;
|
||||
#else
|
||||
capabilities.compiled_with_zx8211 = false;
|
||||
#endif
|
||||
|
||||
reply_ng(CMD_CAPABILITIES, PM3_SUCCESS, (uint8_t *)&capabilities, sizeof(capabilities));
|
||||
}
|
||||
|
||||
|
@ -1196,6 +1204,17 @@ static void PacketReceived(PacketCommandNG *packet) {
|
|||
}
|
||||
#endif
|
||||
|
||||
#ifdef WITH_ZX8211
|
||||
case CMD_LF_ZX_READ: {
|
||||
zx8211_read((zx8211_data_t *)packet->data.asBytes, true);
|
||||
break;
|
||||
}
|
||||
case CMD_LF_ZX_WRITE: {
|
||||
zx8211_write((zx8211_data_t *)packet->data.asBytes, true);
|
||||
break;
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef WITH_ISO15693
|
||||
case CMD_HF_ISO15693_ACQ_RAW_ADC: {
|
||||
AcquireRawAdcSamplesIso15693();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue