Merge pull request #3427 from Sanduuz/feature/st25ta_ndef_sim
Added support for emulating ST25TA tag (IKEA Rothult) with custom NDEF response
This commit is contained in:
8 files changed
+488
-14
No files matched your search
@@ -1209,6 +1209,16 @@ typedef struct {
|
||||
|
||||
#define CMD_UNKNOWN 0xFFFF
|
||||
|
||||
// ST25TA simulation data in emulator memory:
|
||||
// magic[4] || len_le[2] || uid_len[1] || uid[7] || READ BINARY response bytes
|
||||
#define ST25TA_EML_MAGIC_OFFSET 0
|
||||
#define ST25TA_EML_LEN_OFFSET 4
|
||||
#define ST25TA_EML_UIDLEN_OFFSET 6
|
||||
#define ST25TA_EML_UID_OFFSET 7
|
||||
#define ST25TA_EML_DATA_OFFSET 14
|
||||
#define ST25TA_EML_NDEF_MAX 256
|
||||
#define ST25TA_EML_MAGIC "ST25"
|
||||
|
||||
// Mifare simulation flags
|
||||
// In interactive mode, we are expected to finish the operation with an ACK
|
||||
#define FLAG_INTERACTIVE 0x0001
|
||||
|
||||
Reference in new issue
Block a user