Commit Graph

20 Commits

Author SHA1 Message Date
iceman1001
d7c5f0cac2 text 2021-04-24 14:39:27 +02:00
iceman1001
0f40e97b71 lf gallagher demod - remove debug statements 2021-02-12 10:38:57 +01:00
iceman1001
73cd4fb4ff lf gallagher sim - about w user input. Coverity fixes 2021-02-12 10:14:54 +01:00
DarkMatterMatt
d7a1145945 Add support for specifying region/facility/card/issue numbers to Gallagher simulation
Extract `region_code`/`facility_code`/`card_number`/`issue_level` validation to `isValidGallagherParams` function
Add `--rc/fc/cn/il` parameters to `lf gallagher sim`
2021-02-12 10:23:05 +13:00
DarkMatterMatt
73465e5167 Reorder & simplify code 2021-02-11 17:36:02 +13:00
DarkMatterMatt
03347fcfea Refactor how blocks are generated to be cleaner 2021-02-11 14:07:14 +13:00
DarkMatterMatt
0fdbdb044f Use ARRAYLEN instead of constant length 2021-02-11 11:30:22 +13:00
DarkMatterMatt
62ccbc0a37 Fix styles
Run `make style`
2021-02-11 11:12:45 +13:00
DarkMatterMatt
f655391bd4 Initial implementation of encoding 2021-02-11 00:17:48 +13:00
DarkMatterMatt
a4da1476b6 Fix Gallagher data decoding & CRC checks
Descramble function was re-scrambling the data
Skip constant magic prefix `7FEA` to get correct data to decode
Fix offsets & bitmasks to correctly decode card and region codes
Fix CRC refin & refout parameters (both now false)
2021-02-10 15:47:14 +13:00
iceman1001
6737f6f3cd sanitize fix - lf/hf tune heap overflow 2021-01-28 20:31:39 +01:00
Philippe Teuwen
7cd80611d3 #makestyleday 2020-12-12 14:46:40 +01:00
iceman1001
ae853ede79 reader - textual 2020-12-01 11:26:54 +01:00
iceman1001
c05f75c551 lf gallagher - now uses cliparser, supports continuous mode, EM (untested) 2020-11-29 12:49:09 +01:00
Philippe Teuwen
dfb7eaf061 LF: rework internal APIs 2020-09-28 13:59:03 +02:00
iceman1001
7336906923 no printf 2020-08-29 14:05:13 +02:00
iceman1001
5643eb685d text, color 2020-06-26 13:01:17 +02:00
iceman1001
dbc2fb188a text,color 2020-06-26 12:02:57 +02:00
Philippe Teuwen
8bdda55115 Fix prompt colors in log -> spurious space in color macros -> adjust lots of files... 2020-04-22 02:22:55 +02:00
Bjoern Kerler
81bc0bc2b9 Reorder client src directories 2020-04-16 10:53:24 +02:00