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
wh201906
ab9f49f86e
Some minor fixes
...
Use longer timeout in WaitForRawDataTimeout() to handle CMD_WTX
Fix a wrong type
Apply changes to other similar part
Remove unused instructions
2023-11-14 10:46:45 +08:00
wh201906
8b6a274e28
Bigger graph buffer
...
1280000 samples -> 10.24s for 125kHz 8bit sampling
Allocate graph related memory on heap
2023-11-14 10:05:13 +08:00
wh201906
42ab3ee1e6
Receive raw LF samples on the client
2023-11-14 09:42:44 +08:00
wh201906
9e8b1ceda7
Reduce duplicate payload structure for lf read/sniff
2023-11-14 01:05:27 +08:00
iceman1001
010668ebb1
clean up
2023-10-02 21:39:15 +02:00
iceman1001
24a138eeb1
fix some potential empty responses and too much inline calls
2023-08-03 08:41:11 +02:00
iceman1001
ef03d0bee0
text
2023-07-22 15:51:35 +02:00
Angel
dc1a0936da
Re-added old checksum under command parameter for demod and read.
2023-06-04 11:38:13 -04:00
Doridian
6b951960f1
below 150
2022-06-11 12:29:27 -07:00
iceman1001
a5b5b2f08a
fix alway defaulting to freq even if divisor was applied. Will still have issue when addressing both standard values..
2022-05-30 22:35:33 +02:00
Philippe Teuwen
7d0910a5ac
fix lf cmdread help
2022-04-27 22:54:44 +02:00
iceman1001
77520ce489
fix lf sniff input values to be atleast a bit limited
2022-04-10 13:17:21 +02:00
wh201906
4a8f425379
Fix a bug in "lf config"
...
When executing "lf config --reset", the averaging will be 0 rather than 1(default).
This is because the config.averaging is set to 1 at first.(line 621)
Then this argument is overwritten unconditionally by
"config.averaging = (avg == 1);"(line 634)
2022-04-08 19:50:38 +08:00
iceman1001
cdf079a0c1
less false positives with indala. Check ratio of zeros in demod.
2022-03-23 23:03:23 +01:00
iceman1001
77e6626c9c
textual
2022-03-23 22:40:53 +01:00
Philippe Teuwen
623169fe02
fix some CodeQL warnings
2022-02-16 20:28:38 +01:00
Philippe Teuwen
bb098c4eab
Disable zx for the release as it's still WIP
2022-01-09 14:46:28 +01:00
Philippe Teuwen
30aa7aa7d1
Adapting license headers, WIP
2022-01-08 00:40:52 +01:00