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:
Aaron Tulino (Aaronjamt)
2025-12-22 14:11:59 -07:00
parent 262e5d900c
commit b7f9e3c41d
2 changed files with 2 additions and 5 deletions
+1
View File
@@ -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
View File
@@ -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;