Commit graph

211 commits

Author SHA1 Message Date
iceman1001
010668ebb1 clean up 2023-10-02 21:39:15 +02:00
Philippe Teuwen
d74e264250 style 2023-09-07 20:13:18 +02:00
iceman1001
114dda1582 After testing and verification its found that the SHALLOW MODULATION in HF is not working well in RDV4. Swapping from PWR_OE4 to PWR_OE1 makes it much better. Thanks to @d18c7db for solution and @gentlekiwi for testing and never giving up on finding the bug 2023-08-28 12:00:44 +02:00
Henry Gabryjelski
db46e2ce11 more const for iso15693 2023-08-14 22:45:48 -07:00
iceman1001
6ba002725f rmeoved some fct devices side regarding eml get/ set 2023-07-27 18:55:41 +02:00
iceman1001
b0c2ad8ac2 style 2023-06-27 15:25:00 +02:00
iceman1001
adfebd6510 text 2023-06-26 15:01:08 +02:00
nvx
5c9c360977 Fix hf iclass/15693 sniff trace timings.
Previously reader durations would be reported to be twice as long
in the trace vs reality, and as a result the start time would be
earlier than it should have been as well.
Also fixes a minor sniff trace timing with card dual subcarrier
responses.
2023-06-15 22:19:02 +10:00
iceman1001
09f2bf9f02 style 2023-01-29 04:59:50 +01:00
Matthew Jackson
9041627ae5 Add hf 15 sub-commands for EAS, AFI, privacy mode, and passwords on SLIX tags 2023-01-28 13:37:20 -06:00
nvx
4180635218 Add --shallow option to hf iclass reader commands to do shallow (ASK) reader modulation instead of OOK. 2023-01-04 23:59:03 +10:00
Markus Walter
42d0c6d8c1 Use memset to zero memory for better code style. 2022-09-05 10:37:01 +02:00
Markus Walter
f6096367b3 Add ISO15693 write commands to simulation. 2022-09-05 10:36:02 +02:00
Markus Walter
2d7e1d30b9 Refactor ISO 15693 READ commands to handle addressed flag. 2022-09-05 10:36:02 +02:00
Markus Walter
c062c44230 Refactor emulator accessor helpers for ISO15693. 2022-09-05 10:24:52 +02:00
Markus Walter
d79bd5b6b8 Switch hf 15 sim to use image in emulator memory. 2022-09-01 18:53:31 +02:00
Markus Walter
03fa757395 Implement hf 15 eload command to move image dump to emulator. 2022-09-01 18:52:57 +02:00
Markus Walter
62b577d170 Remove unused definition. 2022-08-31 12:26:51 +02:00
Markus Walter
eef1ce9c33 Enhance simulation of ISO15693 devices.
This adds the following things:
- support for reading multiple blocks,
- configurable block size,
- ability to provide a memory image.
2022-08-31 12:25:22 +02:00
Markus Walter
745928e609 Fix comments. 2022-08-26 09:28:04 +02:00
iceman1001
c5119e5bea fix cid 390242 - uninitialized var usage 2022-07-06 13:50:15 +02:00
iceman1001
95d1631bed style 2022-03-23 18:22:03 +01:00
iceman1001
7aeb462e18 convert 15readercommand to use NG frames. Removing the confusing of status and length of received package in same return param. Now returns proper status and length is a ref param 2022-03-23 17:37:40 +01:00
giraut
42f4888f1c Encode ISO15693 response as tag byte by byte, instead of 2 bytes by 2 bytes, so that responses with an odd number of bytes don't end up encoded and transmitted with an extraneous uninitialized byte after the CRC. 2022-03-21 20:22:27 +02:00
Yann GASCUEL
d1e186dbe9 iso15: fix 2SC (FSK) slow decoding
Previous decoding "count" constants have too large scale that may bug
with some answer. With those new constants, this bug can't happend anymore.
2022-03-16 17:36:37 +01:00
Yann GASCUEL
abb840558f iso15: add support for slow and 2SC to GetIso15693AnswerFromTag()
Allow running raw iso15 cmd expecting slow and/or dual subcarriers
answers. E.g. sending slow 2SC inventory ("hf 15 raw -c -d 250100") is
now working.
2022-03-16 17:25:27 +01:00
Yann GASCUEL
f65ca5f14c iso15 sniff: add support for slow answers with single subcarrier
Before this commit, slow answers was only supported for dual
subcarriers answers.
2022-03-16 16:11:50 +01:00
Yann GASCUEL
a387f6774e iso15: move FSK code up (before all functions that may use it) 2022-03-16 16:09:57 +01:00
Yann GASCUEL
352850d158 iso15: update TODO / BUGS / ISSUES with support of iso15 2SC sniff 2022-03-16 15:54:14 +01:00
Yann GASCUEL
c5f216558c iso15sniff: add an "iclass" bool parameter to SniffIso15693()
This is required to disable ISO15 flags parsing when sniffing iClass
because those flags don't exist in iClass coms (iClass iso15 based
communications are always fast and using only one subcarrier).
2022-03-16 11:26:07 +01:00
Yann GASCUEL
6d37410d33 iso15 sniff: fix alignment 2022-03-08 17:29:34 +01:00
Yann GASCUEL
3e784557fc iso15 sniff: improve iso15 FSK decoding (ARM part) 2022-03-08 10:11:34 +01:00
Yann GASCUEL
38d49097f9 iso15 sniffing: intragrate 2SC sniffing in same FPGA mode
switching Fpgamode while sniffing with FpgaWriteConfWord() was
sometimes too long so the tag answer start was lost.
Now, (only with FPGA_BITSTREAM_HF_15) with "FPGA_HF_READER_MODE_SNIFF_AMPLITUDE |
FPGA_HF_READER_2SUBCARRIERS_424_484_KHZ": the amplitude is shrank
from its 2 LSB bits and those 2 bits are now used to return the current
frequency. From my tests, this 2 bits reduction does not affect
quality of 1SC sniffing, but it may have slightly reduced the
receiving range.

FPGA FSK decoding code is also improved.
2022-03-08 10:11:14 +01:00
Yann GASCUEL
1f7bce5580 iso15 sniffing: add support for dual subcarriers tag answers 2022-03-08 10:11:08 +01:00
iceman1001
07855611e4 unify text 2022-02-24 18:03:19 +01:00
iceman1001
638e892088 added device side option to disable EAS/AFI password. Sets to all ZEROS 2022-02-18 18:23:53 +01:00
r1ddl3rz
61f3398fdc fix slixdisable pass id 2022-02-18 11:47:20 +01:00
iceman1001
e550f8ccc8 cppcheck fixes for const 2022-01-06 15:40:11 +01:00
Philippe Teuwen
b703bb746b Adapting license headers, WIP 2022-01-06 02:20:38 +01:00
iceman1001
3491207890 text 2021-12-27 17:39:56 +01:00
Philippe Teuwen
88308ea727 typos 2021-10-10 01:35:45 +02:00
Philippe Teuwen
e79fb92074 Add fpga-xc3s100e and icopyx support 2021-08-21 23:45:46 +02:00
Philippe Teuwen
5b54385347 rename globals 2021-08-21 23:08:26 +02:00
iceman1001
0a32e3ca05 fix hf 15 sample 2021-07-27 19:16:28 +02:00
Philippe Teuwen
1f27be076b make miscchecks 2021-06-04 21:58:38 +02:00
Iceman
d0f2f6622b
Merge branch 'master' into feature/iso15693-standalone 2021-05-06 00:23:33 +02:00
iceman1001
e4f55556ba style 2021-05-05 21:04:48 +02:00
Tim Mudford
4fd4256acd Added standalone mode for ISO15693 cards. 2021-05-05 19:55:58 +12:00
iceman1001
6d71b9327e ISO15693 SLIX modifications found in @g3gg0 's offical pm3 fork, looks like WIP, with more focus on a standalone mode. I took the base fcts 2021-05-04 09:40:30 +02:00
iceman1001
305903c513 rework ISO15693 defines, removing duplicates 2021-05-03 09:35:38 +02:00