This commit is contained in:
iceman1001 2021-06-22 10:46:21 +02:00
commit d330d22c48

View file

@ -227,27 +227,28 @@ void CIPURSECSetActChannelSecurityLevels(CipurseChannelSecurityLevel req, Cipurs
static void CIPURSEPrintPersoMode(uint8_t data) { static void CIPURSEPrintPersoMode(uint8_t data) {
if ((data & 0x01) == 0x01) if ((data & 0x01) == 0x01)
PrintAndLogEx(INFO, "Perso: filesystem"); PrintAndLogEx(INFO, "Perso... " _YELLOW_("filesystem"));
if ((data & 0x02) == 0x02) if ((data & 0x02) == 0x02)
PrintAndLogEx(INFO, "Perso: EMV"); PrintAndLogEx(INFO, "Perso... " _YELLOW_("EMV"));
if ((data & 0x04) == 0x04) if ((data & 0x04) == 0x04)
PrintAndLogEx(INFO, "Perso: transaction supported"); PrintAndLogEx(INFO, "Perso... " _YELLOW_("transaction supported"));
} }
// 2021 iceman: what is the description text of profile L,S,T ?
static void CIPURSEPrintProfileInfo(uint8_t data) { static void CIPURSEPrintProfileInfo(uint8_t data) {
if ((data & 0x01) == 0x01) if ((data & 0x01) == 0x01)
PrintAndLogEx(INFO, "Profile: L"); PrintAndLogEx(INFO, "Profile... L");
if ((data & 0x02) == 0x02) if ((data & 0x02) == 0x02)
PrintAndLogEx(INFO, "Profile: S"); PrintAndLogEx(INFO, "Profile... S");
if ((data & 0x04) == 0x04) if ((data & 0x04) == 0x04)
PrintAndLogEx(INFO, "Profile: T"); PrintAndLogEx(INFO, "Profile... T");
} }
static void CIPURSEPrintManufacturerInfo(uint8_t data) { static void CIPURSEPrintManufacturerInfo(uint8_t data) {
if (data == 0) if (data == 0)
PrintAndLogEx(INFO, "Manufacturer: n/a"); PrintAndLogEx(INFO, "Manufacturer... n/a");
else else
PrintAndLogEx(INFO, "Manufacturer: %s", getTagInfo(data)); // getTagInfo from cmfhf14a.h PrintAndLogEx(INFO, "Manufacturer... %s", getTagInfo(data)); // getTagInfo from cmfhf14a.h
} }
void CIPURSEPrintInfoFile(uint8_t *data, size_t len) { void CIPURSEPrintInfoFile(uint8_t *data, size_t len) {