Remove parity bit check for felica.
This commit is contained in:
@@ -845,7 +845,6 @@ static int CmdHFFelicaSim(const char *Cmd) {
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
static int CmdHFFelicaSniff(const char *Cmd) {
|
static int CmdHFFelicaSniff(const char *Cmd) {
|
||||||
if (strlen(Cmd) < 2) return usage_hf_felica_sniff();
|
|
||||||
uint8_t paramCount = 0;
|
uint8_t paramCount = 0;
|
||||||
uint64_t samples2skip = 0;
|
uint64_t samples2skip = 0;
|
||||||
uint64_t triggers2skip = 0;
|
uint64_t triggers2skip = 0;
|
||||||
|
|||||||
@@ -301,6 +301,7 @@ static uint16_t printTraceLine(uint16_t tracepos, uint16_t traceLen, uint8_t *tr
|
|||||||
&& protocol != ISO_7816_4
|
&& protocol != ISO_7816_4
|
||||||
&& protocol != PROTO_HITAG
|
&& protocol != PROTO_HITAG
|
||||||
&& protocol != THINFILM
|
&& protocol != THINFILM
|
||||||
|
&& protocol != FELICA
|
||||||
&& (isResponse || protocol == ISO_14443A)
|
&& (isResponse || protocol == ISO_14443A)
|
||||||
&& (oddparity8(frame[j]) != ((parityBits >> (7 - (j & 0x0007))) & 0x01))) {
|
&& (oddparity8(frame[j]) != ((parityBits >> (7 - (j & 0x0007))) & 0x01))) {
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user