mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2026-05-12 11:18:11 -07:00
Correct ATS in iso14443a
Turns out, at least for HID RevE readers, the ATS value must specify FSC=256 or it won't read.
This commit is contained in:
@@ -1368,6 +1368,7 @@ bool SimulateIso14443aInit(uint8_t tagType, uint16_t flags, uint8_t *data,
|
||||
}
|
||||
case 12: { // HID Seos 4K card
|
||||
rATQA[0] = 0x01;
|
||||
rATS[1] = 0x78; // FSC=256 required
|
||||
sak = 0x20;
|
||||
break;
|
||||
}
|
||||
|
||||
+1
-5
@@ -264,12 +264,8 @@ void SimulateSeos(seos_emulate_req_t *msg) {
|
||||
memcpy(data, msg->uid, msg->uid_len);
|
||||
FLAG_SET_UID_IN_DATA(flags, msg->uid_len);
|
||||
|
||||
// TODO: Is this required?
|
||||
uint8_t ats[] = { 0x05, 0x78, 0x77, 0x80, 0x02 };
|
||||
flags |= FLAG_ATS_IN_DATA;
|
||||
|
||||
// 12 = HID Seos 4K card
|
||||
if (SimulateIso14443aInit(12, flags, data, ats, sizeof(ats), &responses, &cuid, NULL, NULL) == false) {
|
||||
if (SimulateIso14443aInit(12, flags, data, NULL, 0, &responses, &cuid, NULL, NULL) == false) {
|
||||
BigBuf_free_keep_EM();
|
||||
reply_ng(CMD_HF_SEOS_SIMULATE, PM3_EINIT, NULL, 0);
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user