Commit Graph
25 Commits
Author SHA1 Message Date
towelbyte 78b621264c Fix (limit) 'lf cotag demod' custom clock argument 2026-06-26 20:23:13 +02:00
Philippe Teuwen 5666cdf4e8 make style 2026-06-23 00:03:16 +02:00
towelbyte 2e9a92e967 Fix 'lf search' COTAG false positive
The bug was due to a bool/int ret-val mixup
and accidentally always returning PM3_SUCCESS.
2026-06-15 16:37:10 +02:00
towelbyte c1cefd6e38 Complete and working reimplementation of COTAG support
- "lf cotag reader": now behaves mostly the same as "lf read",
   except it is dedicated for COTAG.
	- It makes sure to send COTAG start sequence and to use
          real time sampling mode to get enough samples.

- "lf cotag demod": Working client-side COTAG demodulation implementation
   (high-low raw demod + Manchester demodulation from high/low demod).
	- Now uses samples directly from g_GraphBuffer
	- Supports 3 types of COTAG preamble (1 active, 2 passive), which
          can start anywhere in the samples.
	- Prints full 128-bits of COTAG tag data in 3 formats: raw,
          groupped by nibbles, and in hex, and identifies and
          prints out the card number.

Signed-off-by: andrej@towelbyte.net
2026-06-12 22:49:06 +02:00
iceman1001 ae80614a1a style 2024-01-18 16:22:10 +01:00
iceman1001 2d5724f4c3 text 2023-07-22 18:19:02 +02:00
iceman1001 b277e667c9 text 2023-07-21 17:04:21 +02:00
iceman1001 73eb8d0de0 fix lf cotag reader , make the grid command use the new syntax 2023-07-17 17:30:15 +02:00
iceman1001 758e7d9d2b improve hf mf wrbl with text and a new param --force to make sure user understands when writing to block 0. 2022-03-24 12:30:48 +01:00
Philippe Teuwen 30aa7aa7d1 Adapting license headers, WIP 2022-01-08 00:40:52 +01:00
Philippe Teuwen f1f2389fb4 rename globals GraphBuffer 2021-08-21 17:39:17 +02:00
Philippe Teuwen e4fbfe0f40 rename globals DemodBuffer and DemodBufferLen 2021-08-21 17:12:50 +02:00
iceman1001 d7c5f0cac2 text 2021-04-24 14:39:27 +02:00
iceman1001 1a2b89d92f lesser time 6 -> 3 sec wait 2020-12-02 17:14:27 +01:00
iceman1001 2613284dfc fix lf search - cotag exiting on deviceside 2020-12-01 17:06:49 +01:00
iceman1001 2cabfd7e9d fix lf search - false positive cotag 2020-12-01 16:42:33 +01:00
iceman1001 72a6537a3b lf cotag - now uses cliparser 2020-11-30 12:08:20 +01:00
Philippe Teuwen dfb7eaf061 LF: rework internal APIs 2020-09-28 13:59:03 +02:00
iceman1001 0be35a8e7e style 2020-09-07 10:35:09 +02:00
iceman1001 f79a4803c5 no printf 2020-08-29 14:04:01 +02:00
iceman1001 d6e3366c43 mix->ng 2020-08-26 14:37:39 +02:00
iceman1001 3776b2ed6b dont forget these ones 2020-08-26 12:46:16 +02:00
iceman1001 42d1a20dc9 renaming 2020-08-26 12:28:43 +02:00
iceman1001 32c614db7b fix cotag memory bugs. was off-by-one 2020-08-25 15:34:10 +02:00
Bjoern Kerler 81bc0bc2b9 Reorder client src directories 2020-04-16 10:53:24 +02:00