mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 18:48:13 -07:00
Make demodulation threshold for Legic configurable
This adds a new parameter to the "hw sethfthresh" command.
This commit is contained in:
parent
dbfd8b7a6d
commit
43b257ddb4
4 changed files with 18 additions and 9 deletions
|
@ -1563,6 +1563,7 @@ static void PacketReceived(PacketCommandNG *packet) {
|
|||
case CMD_HF_ISO14443A_SET_THRESHOLDS: {
|
||||
FpgaDownloadAndGo(FPGA_BITSTREAM_HF);
|
||||
FpgaSendCommand(FPGA_CMD_SET_EDGE_DETECT_THRESHOLD, (packet->data.asBytes[0] & 0x3f) | ((packet->data.asBytes[1] & 0x3f) << 6));
|
||||
LegicRfSetThreshold((uint32_t)packet->data.asBytes[2]);
|
||||
break;
|
||||
}
|
||||
case CMD_HF_ISO14443A_SNIFF: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue