added NfcVSendFlags to choose fields to send

This commit is contained in:
g3gg0
2022-11-26 16:54:32 +01:00
parent 466a2fd96f
commit 67f8f5a014
2 changed files with 39 additions and 17 deletions

View File

@@ -104,6 +104,17 @@ typedef struct {
uint8_t rand[2];
} NfcVSlixData;
typedef enum {
NfcVSendFlagsNormal = 0,
NfcVSendFlagsSof = 1<<0,
NfcVSendFlagsCrc = 1<<1,
NfcVSendFlagsEof = 1<<2,
NfcVSendFlagsOneSubcarrier = 0,
NfcVSendFlagsTwoSubcarrier = 1<<3,
NfcVSendFlagsLowRate = 0,
NfcVSendFlagsHighRate = 1<<4
} NfcVSendFlags;
typedef struct {
uint8_t key_read[4];
uint8_t key_write[4];