- PrintAndLog (" Protocol Type: Protocol is %scompliant with ISO/IEC 14443-4",(protocolT) ? "" : "not " );
- PrintAndLog ("Frame Wait Int: %u", data[6]>>4);
- PrintAndLog (" App Data Code: Application is %s",(data[6]&4) ? "Standard" : "Proprietary");
- PrintAndLog (" Frame Options: NAD is %ssupported",(data[6]&2) ? "" : "not ");
- PrintAndLog (" Frame Options: CID is %ssupported",(data[6]&1) ? "" : "not ");
- PrintAndLog ("Tag :");
- PrintAndLog (" Max Buf Length: %u (MBLI) %s",cid>>4, (cid & 0xF0) ? "" : "not supported");
- PrintAndLog (" Cid : %u", cid & 0x0f);
+ PrintAndLog(" Protocol Type: Protocol is %scompliant with ISO/IEC 14443-4",(protocolT) ? "" : "not " );
+
+ uint8_t fwt = data[6]>>4;
+ if ( fwt < 16 ){
+ uint32_t etus = (32 << fwt);
+ uint32_t fwt_time = (302 << fwt);
+ PrintAndLog("Frame Wait Integer: %u - %u ETUs | %u µS", fwt, etus, fwt_time);
+ } else {
+ PrintAndLog("Frame Wait Integer: %u - RFU", fwt);
+ }
+
+ PrintAndLog(" App Data Code: Application is %s",(data[6]&4) ? "Standard" : "Proprietary");
+ PrintAndLog(" Frame Options: NAD is %ssupported",(data[6]&2) ? "" : "not ");
+ PrintAndLog(" Frame Options: CID is %ssupported",(data[6]&1) ? "" : "not ");
+ PrintAndLog("Tag :");
+ PrintAndLog(" Max Buf Length: %u (MBLI) %s", cid>>4, (cid & 0xF0) ? "" : "chained frames not supported");
+ PrintAndLog(" CDI : %u", cid & 0x0f);