fix hf 14a sim, on device side a sneaky detection if data started with zero, it would treat it as uid is in emulator memory. Also fixed a size issue on flag
This commit is contained in:
1 parent
2fc5834c98
commit
98d291f5b1
8 files changed
+13
-11
No files matched your search
@@ -676,7 +676,7 @@ int CmdHF14ASim(const char *Cmd) {
|
||||
uint8_t uid[10] = {0};
|
||||
CLIGetHexWithReturn(ctx, 2, uid, &uid_len);
|
||||
|
||||
uint8_t flags = 0;
|
||||
uint16_t flags = 0;
|
||||
bool useUIDfromEML = true;
|
||||
|
||||
if (uid_len > 0) {
|
||||
@@ -719,7 +719,7 @@ int CmdHF14ASim(const char *Cmd) {
|
||||
|
||||
struct {
|
||||
uint8_t tagtype;
|
||||
uint8_t flags;
|
||||
uint16_t flags;
|
||||
uint8_t uid[10];
|
||||
uint8_t exitAfter;
|
||||
} PACKED payload;
|
||||
|
||||
Reference in new issue
Block a user