Add ISO14443-3 Type A timeslot support to 'hf 14a info' and 'hf 14a reader'

Co-authored-by: mxcdoam <72457810+mxcdoam@users.noreply.github.com>
This commit is contained in:
kormaxandmxcdoam committed 2026-09-07 22:55:24 +03:00
1 parent 9f641c3ced
commit 1ecbcb74be
3 files changed
+127 -20

No files matched your search

+2 -1
View File
@@ -110,6 +110,7 @@ typedef enum ISO14A_COMMAND {
ISO14A_SET_WAIT_US = (1 << 15),
ISO14A_APPEND_CMAC = (1 << 16),
ISO14A_CLEARTRACE = (1 << 17),
ISO14A_NO_PARITY = (1 << 18),
} iso14a_command_t;
// CMD_HF_ISO14443A_READER payload.
@@ -118,7 +119,7 @@ typedef enum ISO14A_COMMAND {
// arg1 = (lenbits << 16) | len
// arg2 = (wait_us << 32) | timeout
typedef struct {
uint32_t flags; // iso14a_command_t bitmask, needs 18 bits today
uint32_t flags; // iso14a_command_t bitmask, needs 19 bits today
uint32_t timeout; // in ETUs, only read when ISO14A_SET_TIMEOUT is set
uint32_t wait_us; // only read when ISO14A_SET_WAIT_US is set
uint16_t len; // bytes in data[]