Commit Graph

158 Commits

Author SHA1 Message Date
iceman1001 607f1bb26c style 2025-05-24 22:49:46 +02:00
iceman1001 ad292e8810 unify test - step 2 2025-03-25 10:17:42 +01:00
iceman1001 4d603a4530 unify hint text 2025-03-20 22:55:26 +01:00
iceman1001 b4cc21c68f modified hf 14a apdu to report back when extending time and also added a possibililty to interrupt the extension loop with button press or usb commad. A bunch of minor textual changes 2025-03-20 19:58:13 +01:00
iceman1001 17a8f0f9c2 text 2025-03-20 12:17:37 +01:00
douniwan5788 04133e6d07 Add lf search Chipset detection for Hitag µ / 8265 2025-03-19 18:56:23 +08:00
iceman1001 b3285cce8a style 2024-11-02 15:13:40 +01:00
iceman1001 9ddd833cba fix string handling and styles 2024-11-02 14:50:31 +01:00
douniwan5788 f049b568c5 style 2024-10-23 22:25:30 +08:00
douniwan5788 ef0bae7bc6 refactor: cleanup PacketResponseNG init 2024-09-24 21:06:42 +08:00
douniwan5788 0ef374e06f fix: lf search hangs 2024-09-21 23:37:55 +08:00
iceman1001 805dc99b97 lf search - now tries to read out hitag2 data with the paxton key. 2024-09-15 18:19:28 +02:00
iceman1001 db1b28f327 rename hts read/write commands to rdbl/wrbl to match rest of the client. added a lf hitag hts reader comamnd, modified the lf search to identify hitag2/s/82xx in the chipset detection 2024-09-14 21:00:42 +02:00
iceman1001 8f9ca98f6c fix narrow type .. 2024-09-14 14:19:20 +02:00
douniwan5788 424a467132 fix: lf cmdread silent lost CRC 2024-09-13 19:15:11 +08:00
douniwan5788 112caec054 refactor: lf config renames 2024-08-27 23:45:42 +08:00
douniwan5788 0f2eaa316b fix: WITH_EM4x50 and WITH_EM4x70 in lf search 2024-08-26 21:45:06 +08:00
douniwan5788 8928883f2d refactor: move FPGA_BITSTREAM_* to fpga.h 2024-08-26 20:55:58 +08:00
douniwan5788 d15537bbf1 Unified hitag naming style 2024-08-22 02:01:43 +08:00
douniwan5788 eca9830050 fix: lf cmdread. skip WaitMS(100) when keep signal field ON.
4 extra symbol.
avoid include SOF in crc-hitag
2024-08-20 22:50:13 +08:00
Philippe Teuwen 153064ddfa Fix a bunch of potential buffer overruns with CLIGetStrWithReturn :
Most prominent one was "lf pac clone --cn 123456789" causing garbage on the terminal
Some changed code was valid before but as ppl tend to copy-paste to new code,
better to uniformize and document usages of CLIGetStrWithReturn.

Exceptions left are when filling real buffers (bin, raw,...), not strings.
2024-07-30 22:23:04 +02:00
iceman1001 42f0699c78 style 2024-05-14 10:04:28 +02:00
iceman1001 36603818d1 fixed a valgrind memory usage of uninitialised array 2024-04-25 07:29:22 +02:00
jlitewski 2d0bc5100a Forgot about resetting the grid offsets 2024-04-20 22:47:42 -04:00
jlitewski 791f02209d Implemented Buffer SaveStates 2024-04-20 14:14:15 -04:00
iceman1001 189262cff7 text 2024-03-05 09:08:45 +01:00
iceman1001 392c251c81 fix lf search when running it without any tag on it. In short hitag get uid loop on device side just sits an waits 2024-02-20 00:42:35 +01:00
iceman1001 c03e15b553 unify texts 2024-02-03 11:14:51 +01:00
iceman1001 2288c7e72b less memory footprint 2024-01-25 16:23:00 +01:00
iceman1001 05353deb4a unified verbose param text and fixed behavior 2024-01-18 19:46:14 +01:00
wh201906 9548f12a94 Change format string 2024-01-19 00:23:04 +08:00
wh201906 40c35cc634 Show statistical data after tuning 2024-01-19 00:08:02 +08:00
iceman1001 49f07a39d5 lf idteck demod takes a raw hex string and tries to decode it 2024-01-18 16:20:35 +01:00
nvx d2d6f80d11 Fix some missing frees, null dereferences and missing initialisation picked up by clang-analyzer 2024-01-16 00:22:53 +10:00
iceman1001 238572c337 style 2024-01-01 21:52:05 +01:00
iceman1001 2bfc31a7b6 changed "data dectectclock" to try all clocks when not called with any params. Adapted the "lf search -1u" - with text and it should be more intuitive 2023-12-18 22:12:26 +01:00
iceman1001 bdbfa26f9a fix lf config --reset where the resetet value got overwritten. testing some rounding and textual changes to lf search -1uc 2023-12-18 14:52:56 +01:00
iceman1001 f8f135a3b7 style 2023-12-18 10:11:11 +01:00
iceman1001 7fa09a556a improved the autocorreleate detection. lf search -1uc got some more textual improvements 2023-12-18 10:04:19 +01:00
iceman1001 586acf0933 modified the autocorrelate part in lf search -1u command. It should be a more informative output and better bytes length reporting 2023-12-17 21:42:54 +01:00
iceman1001 c72d4a188d fix string formatter 2023-12-09 11:21:42 +01:00
iceman1001 843fa33d09 modified to print number of samples. Also added a isnoise check, in order to fast get feedback instead of forcing user to look at the plot window 2023-12-08 19:20:39 +01:00
iceman1001 fdc1c9d864 text 2023-12-06 22:16:53 +01:00
wh201906 bb529a9077 Fix corrupted data caused by CMD_WTX
No need to wait for 2.5s (1s + FPGA_LOAD_WAIT_TIME) if the real-time
sampling stops.
Make sure the LF bitstream is loaded before real-time sampling so the
response of CMD_WTX won't appear.
2023-12-02 17:04:03 +08:00
iceman1001 f3a9629895 style 2023-12-01 15:25:09 +01:00
wh201906 f8605311f7 Use real-time sampling with high sample size 2023-12-01 19:58:00 +08:00
iceman1001 a913b2c662 style 2023-12-01 10:59:18 +01:00
wh201906 e82fb8b67f Use calloc() instead of malloc()
Suggested by @iceman1001
Mainly for 8b6a274e28
Replaced the malloc() in getSamplesFromBufEx()
Added memory allocation result check for getSamplesFromBufEx(),
lf_read_internal(), and lf_sniff()
2023-11-17 12:38:20 +08:00
wh201906 3ee13c9ba6 Apply suggestions from @henrygab
Check if memory allocation fails
Fix memory leak
Initialize struct in declaration
Add/Fix some notes
Remove unlikely() in favor of readability
Remove a hard-coded magic number
2023-11-15 18:04:52 +08:00
wh201906 835b7a9150 Add support for trigger threshold 2023-11-14 13:12:35 +08:00