- uint8_t isOK = resp.arg[0] & 0xff;
- PrintAndLog("Answers to chinese magic backdoor commands: %s", (isOK ? "YES" : "NO") );
+
+ uint8_t isGeneration = resp.arg[0] & 0xff;
+ switch( isGeneration ){
+ case 1: PrintAndLog("Answers to chinese magic backdoor commands (GEN 1a): YES"); break;
+ case 2: PrintAndLog("Answers to chinese magic backdoor commands (GEN 1b): YES"); break;
+ default: PrintAndLog("Answers to chinese magic backdoor commands: NO"); break;
+ }