hf felica: handle system polling in ARM select

Pass the requested system code to firmware selection so default and system-specific reader modes share one polling path. Keep the RF field active across retries for the system-specific mode.

Co-Authored-By: Codex (GPT-6) <noreply@openai.com>
This commit is contained in:
歐歪andCodex committed 2026-09-27 01:27:38 +08:00
1 parent 24e11e3d72
commit a991b20a51
3 files changed
+36 -20

No files matched your search

+2
View File
@@ -90,6 +90,8 @@ typedef enum FELICA_COMMAND {
// so reading distance and coupling can be measured rather than guessed
FELICA_PROBE = (1 << 2),
FELICA_RAW = (1 << 3),
// With CONNECT, raw[] holds the two-byte polling system code.
FELICA_SYSTEM_SELECT = (1 << 4),
FELICA_APPEND_CRC = (1 << 5),
FELICA_NO_SELECT = (1 << 6),
FELICA_CLEARTRACE = (1 << 7),