mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 13:53:55 -07:00
ADD: Holimans new changes in master.
This commit is contained in:
parent
f0cf62cd73
commit
d3a22c7dfa
23 changed files with 488 additions and 321 deletions
|
@ -66,11 +66,11 @@ char* Iso15693sprintUID(char *target,uint8_t *uid) {
|
|||
return target;
|
||||
}
|
||||
|
||||
unsigned short iclass_crc16(char *data_p, unsigned short length)
|
||||
uint16_t iclass_crc16(char *data_p, unsigned short length)
|
||||
{
|
||||
unsigned char i;
|
||||
unsigned int data;
|
||||
unsigned int crc = 0xffff;
|
||||
uint16_t crc = 0xffff;
|
||||
|
||||
if (length == 0)
|
||||
return (~crc);
|
||||
|
|
|
@ -621,8 +621,8 @@ int IOdemodFSK(uint8_t *dest, size_t size)
|
|||
testMax = dest[idx];
|
||||
}
|
||||
|
||||
//if not just noise
|
||||
if (testMax < 170) return -2;
|
||||
//if not, just noise
|
||||
if (testMax < 20) return -2;
|
||||
|
||||
// FSK demodulator
|
||||
size = fskdemod(dest, size, 64, 1, 10, 8); // RF/64 and invert
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue