mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-08-14 02:26:59 -07:00
implement 'hf iclass snoop -j'
* fix long option --jam * make room for one more bit for FPGA minor mode * new mode FPGA_HF_READER_MODE_SEND_JAM * implement jamming in Handle15693SampleFromReader
This commit is contained in:
parent
be09ea8603
commit
cd028159be
13 changed files with 116 additions and 68 deletions
|
@ -9,9 +9,8 @@
|
|||
|
||||
#include "iso15693tools.h"
|
||||
|
||||
#include "proxmark3.h"
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#ifdef ON_DEVICE
|
||||
#include "printf.h"
|
||||
#else
|
||||
|
@ -90,7 +89,7 @@ uint16_t iclass_crc16(char *data_p, unsigned short length) {
|
|||
crc = ~crc;
|
||||
data = crc;
|
||||
crc = (crc << 8) | (data >> 8 & 0xff);
|
||||
crc = crc ^ 0xBC3;
|
||||
crc = crc ^ 0x0BC3;
|
||||
return (crc);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue