em4x50: keep the PR to the listen window fix

Per review, drop `lf em 4x50 config`, lf_em4x50_tune.lua, the debug
capture and the doc/commands.* changes. Reader timings go back to the
upstream constants; only the RM delay is new (132 cycles, centre of
the 104-164 range that worked).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
abou28andClaude Opus 5.5 committed 2026-11-08 08:50:34 +01:00
1 parent a22ed6f6bb
commit 537114da6c
10 files changed
+28 -419

No files matched your search

-14
View File
@@ -84,20 +84,6 @@ typedef struct {
uint32_t *words;
} PACKED em4x50_read_data_response_t;
// CMD_LF_EM4X50_CONFIG payload and reply, reader timings in carrier cycles
#define EM4X50_CONFIG_GET 0
#define EM4X50_CONFIG_SET 1
#define EM4X50_CONFIG_RESET 2
typedef struct {
uint8_t mode; // EM4X50_CONFIG_*
uint8_t threshold; // envelope thresholds, percent of amplitude
uint8_t tolerance; // pulse length tolerance
uint8_t gap_start; // field gap start within a reader "0" bit
uint8_t gap_end; // field gap end within a reader "0" bit
uint16_t rm_delay; // RM start after the end of the first listen window
} PACKED em4x50_config_t;
// Global variables...
extern bool g_Login;
extern bool g_WritePasswordProcess;
-1
View File
@@ -1089,7 +1089,6 @@ typedef struct {
#define CMD_LF_EM4X50_READER 0x0251
#define CMD_LF_EM4X50_ESET 0x0252
#define CMD_LF_EM4X50_CHK 0x0253
#define CMD_LF_EM4X50_CONFIG 0x0254
#define CMD_LF_EM4X70_INFO 0x0260
#define CMD_LF_EM4X70_WRITE 0x0261
#define CMD_LF_EM4X70_UNLOCK 0x0262