Commit graph

19889 commits

Author SHA1 Message Date
tinooo
23ddf69f70 [PCF7931] added IIR filter
different tags seem to behave differently.
an old tag from the car had way worse signal. Therefore filtering made it way better.
Still not ideal.
2025-03-12 17:39:13 +01:00
tinooo
d3a87ead61 [PCF7930] refactor move code
move "remapping" of dataframes to the actual send function,
where the timer is located
2025-03-12 17:39:11 +01:00
tinooo
8723037e68 [PCF7931] refactor SendCmdPCF7931
first steps in understading and optimizing this function.
replace != with < - if we don't poll fast enough, it is possible that
the condition != is missed.
2025-03-12 17:39:08 +01:00
tinooo
ea96a3b0c9 [PCF7931] refactor write function
rename some variables for more clear reading
changed data type to meaningfull size
2025-03-12 17:39:05 +01:00
tinooo
f6600ec962 [PCF7931] Refactor removed early returns
unneccessary returns.
2025-03-12 17:39:02 +01:00
tinooo
3939e28640 [PCF7931] Starting refactor of write procedure
added comments
2025-03-12 17:38:59 +01:00
tinooo
2da713eba9 [PCF7931] draft continue with refactoring ReadPCF7931()
still not done with DemodPCF7931(). But now including changes in  ReadPCF7931().
They work tightly together.
Trying to resolve some issues and bugs. Basically it seems to work and
my results are consistent. However, they still deviate from what I get if
I do analyze the signal using lf read and data commands.

still some issues somewhere.
2025-03-12 17:38:55 +01:00
tinooo
9bfd55ebe0 [PCF7931] draft of working & refacored DemodPCF7931()
demod function now seems to work basically. Not all error cases are handled I guess.
Also still debug prints, since I've to figure out the rest.

Also unclear, why limit the buffer size to 1-2 blocks only?
2025-03-12 17:38:53 +01:00
tinooo
3a8dc89dca [PCF7930] Refactoring & bugfix in READING
firs commit of a few to come.
First renames of variables, added a few comments to improve clarity.
Fixed types (int -> unitx_t , const, ...) - not all. still some to come

Fixed 2 conditions that did not work properly. Here some explanation:

  Imagine dest[i-1] = 255 and dest[i] = 0. THis would mean a clear falling edge.
  However, this code would not work, since dest[i] > lmax is not true.
  This condition only works if I have at least 1 sample between lmax and 255.
  Same for the other way around.
2025-03-12 17:38:27 +01:00
Philippe Teuwen
f8abfc0731 hf 14a simaid: ignore premature HALT until RATS is reached 2025-02-05 23:31:11 +01:00
Philippe Teuwen
9933034566 hf 14a simaid: support reader requests without CID 2025-02-05 23:31:11 +01:00
Philippe Teuwen
24f474feaa hf 14a sim/simaid: Fix emulated RATS for -t 11 2025-02-05 23:31:11 +01:00
Iceman
1f07e818e3
Merge pull request #2743 from Donny-Guo/lfhidbrute
Update range checkings in all pack functions for LF HID
2025-02-04 06:29:14 +01:00
Donny
ebd85fbc78 Update range checkings in all pack functions for LF HID 2025-02-03 16:34:58 -08:00
Iceman
0d054c6319
Merge pull request #2742 from team-orangeBlue/mf4
Document MF4 tags
2025-02-03 20:57:42 +01:00
team-orangeBlue
27140128b3
Update CHANGELOG.md
Signed-off-by: team-orangeBlue <63470411+team-orangeBlue@users.noreply.github.com>
2025-02-03 22:39:54 +03:00
team-orangeBlue
88b30a778a
Merge branch 'RfidResearchGroup:master' into mf4 2025-02-03 22:38:45 +03:00
team-orangeBlue
be6dc2538c
Finish MF4 documentation
Sufficient for configuration of an MF4 tag A-Z as needed.

I hope you figure it out!

Signed-off-by: team-orangeBlue <63470411+team-orangeBlue@users.noreply.github.com>
2025-02-03 22:38:20 +03:00
Philippe Teuwen
53a1d5be01 better fix, thanks @iceman 2025-02-03 16:14:28 +01:00
Iceman
f863a5e29f
Merge pull request #2741 from Donny-Guo/hidbrute
Fix facility code and card number checking in LF HID Brute
2025-02-03 12:38:42 +01:00
Donny
f0830ce6b0 Remove new struct and recover missing code section 2025-02-03 01:58:08 -08:00
Philippe Teuwen
272286f565 Fix Opensuse-leap docker: use ARM GCC14 2025-02-03 10:11:34 +01:00
Philippe Teuwen
80942c8bad Fix ARM GCC14 warning
error: '%02X' directive output may be truncated writing between 2 and 4 bytes into a region of size 3 [-Werror=format-truncation=]
2025-02-03 10:11:34 +01:00
Donny
1ae4cf37d8 Fix facility code and card number checking in LF HID Brute 2025-02-02 23:42:19 -08:00
Iceman
525ce562e2
Merge pull request #2740 from gentilkiwi/patch-1
Update intertic.py to support new ContractProvider for Strasbourg/CTS
2025-02-02 23:04:45 +01:00
Benjamin DELPY
766d30ecfa
Update intertic.py to support new ContractProvider for Strasbourg/CTS
Signed-off-by: Benjamin DELPY <benjamin@gentilkiwi.com>
2025-02-02 22:57:31 +01:00
Iceman
240b559a8f
Merge pull request #2739 from jareckib/master
t55_chk.lua
2025-02-02 22:15:06 +01:00
Jarek Barwinski
500845b30a
t55_chk.lua
Generated dictionary fixed
february - 28 or 29

Signed-off-by: Jarek Barwinski <116510448+jareckib@users.noreply.github.com>
2025-02-02 20:13:34 +00:00
Iceman
372911f6f3
Merge pull request #2738 from jareckib/master
t55_chk_lua
2025-02-02 21:08:32 +01:00
Jarek Barwinski
82c059adbb
t55_chk_lua
Author: jareckib - created 02.02.2025
    version v1.00

    A simple script for searching the password for T5577. The script creates a
    dictionary starting from the entered starting year to the entered ending year.
    There are two search methods - DDMMYYYY or YYYYMMDD. Checking the entire year
    takes about 1 minute and 50 seconds. Date from 1900 to 2100. The script may be
    useful if the password is, for example, a date of birth.

    Usage:
    script run t55_chk [-s start_year] [-e end_year] [-d | -y]

    Options:
    -h                    Show this help message
    -s                    Starting year (required)
    -e                    Ending year (default: current year)
    -d                    Search method: DDMMYYYY
    -y                    Search method: YYYYMMDD

    Examples:
    script run t55_chk -s 1999 -d             - start from 1999, end year is current year, method 01011999
    script run t55_chk -s 1999 -y             - start from 1999, end year is current year, method 19990101
    script run t55_chk -s 1999 -e 2001 -y     - start from 1999, end year 2001, method 19990101
    script run t55_chk -s 1999 -e 2001 -d     - start from 1999, end year 2001, method 01011999

Signed-off-by: Jarek Barwinski <116510448+jareckib@users.noreply.github.com>
2025-02-02 19:26:42 +00:00
Iceman
31c9b30b1d
Merge pull request #2737 from jareckib/master
Update t55_chk_date.lua
2025-02-02 07:11:43 +01:00
Jarek Barwinski
a573fd4631
Update t55_chk_date.lua
Signed-off-by: Jarek Barwinski <116510448+jareckib@users.noreply.github.com>
2025-02-02 02:49:47 +00:00
Iceman
131834d984
Merge pull request #2736 from jareckib/master
Script for searching the password for T5577
2025-02-01 08:20:11 +01:00
Jarek Barwinski
ecf5b0d7eb
Add files via upload
A simple script for searching the password for T5577. The script creates a
    dictionary starting from the entered starting year to the entered ending year.
    There are two search methods - DDMMYYYY or YYYYMMDD. Checking the entire year
    takes about 1 minutes and 50 seconds. Date from 1900 to 2100. The script may be
    useful if the password is for example date of birth.

Signed-off-by: Jarek Barwinski <116510448+jareckib@users.noreply.github.com>
2025-02-01 04:28:49 +00:00
team-orangeBlue
eb210c14d3
Initial MF4 support
Explained MF4 "thinking logic".

Also commented on MF3.

Signed-off-by: team-orangeBlue <63470411+team-orangeBlue@users.noreply.github.com>
2025-02-01 00:25:21 +03:00
Iceman
c1bc38b39a
Update Troubleshooting.md
Signed-off-by: Iceman <iceman@iuse.se>
2025-01-31 22:24:45 +01:00
Iceman
f7c578aa42
Merge pull request #2735 from jareckib/master
Paxton clone and convert to EM4102
2025-01-31 18:51:38 +01:00
Jarek Barwinski
24265b0ea7
Update Paxton_clone.lua
Signed-off-by: Jarek Barwinski <116510448+jareckib@users.noreply.github.com>
2025-01-31 17:14:24 +00:00
Jarek Barwinski
8d461f6542
Update Paxton_switch.py
Signed-off-by: Jarek Barwinski <116510448+jareckib@users.noreply.github.com>
2025-01-31 15:00:19 +00:00
Jarek Barwinski
b8fb8d763c
Update Paxton_convert.py
Signed-off-by: Jarek Barwinski <116510448+jareckib@users.noreply.github.com>
2025-01-31 14:59:46 +00:00
Jarek Barwinski
aeb75ab43e
Update PAXTON_NET.py
Signed-off-by: Jarek Barwinski <116510448+jareckib@users.noreply.github.com>
2025-01-31 14:59:09 +00:00
Jarek Barwinski
f78ab02498
Update Paxton_switch.py
Signed-off-by: Jarek Barwinski <116510448+jareckib@users.noreply.github.com>
2025-01-31 14:53:08 +00:00
Jarek Barwinski
f1354e5715
Update Paxton_convert.py
Signed-off-by: Jarek Barwinski <116510448+jareckib@users.noreply.github.com>
2025-01-31 14:52:12 +00:00
Jarek Barwinski
e8c1ecf1ba
Update PAXTON_NET.py
Signed-off-by: Jarek Barwinski <116510448+jareckib@users.noreply.github.com>
2025-01-31 14:50:44 +00:00
Jarek Barwinski
989b595119
Add files via upload
Converters Paxton Switch2 and Net2 to EM4102

Signed-off-by: Jarek Barwinski <116510448+jareckib@users.noreply.github.com>
2025-01-31 13:38:04 +00:00
Jarek Barwinski
6e572141a3
Add files via upload
Script for automatic clone Paxton fob or convert to EM4102

Signed-off-by: Jarek Barwinski <116510448+jareckib@users.noreply.github.com>
2025-01-31 13:34:55 +00:00
Jarek Barwinski
ca9f434110
Delete client/luascripts/paxton_clone.lua.txt
Signed-off-by: Jarek Barwinski <116510448+jareckib@users.noreply.github.com>
2025-01-31 13:32:43 +00:00
Jarek Barwinski
4707ac1277
Add files via upload
Script for cloning Paxton fobs

Signed-off-by: Jarek Barwinski <116510448+jareckib@users.noreply.github.com>
2025-01-31 13:28:19 +00:00
Philippe Teuwen
50e920d6bc Add FM11RF08-7B fingerprint, thanks artaud! 2025-01-30 00:18:37 +01:00
Iceman
3ce68d4df9
Merge pull request #2734 from Larision/master
Added spain transport keys
2025-01-28 23:52:39 +01:00