Skip to content

Commit

Permalink
Update FrmMain.cs
Browse files Browse the repository at this point in the history
compatibility for ntag21x
  • Loading branch information
ca1e committed Jul 26, 2021
1 parent a88f790 commit 8d9aa94
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions ChameleonMiniGUI/FrmMain.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2375,6 +2375,17 @@ private void IndentifyDumpTypeBySize(DumpData dump)
case 164:
SendCommandWithoutResult($"CONFIG{_cmdExtension}=MF_ULTRALIGHT_EV1_164B");
break;
// case for NTAG21X
case 180:
SendCommandWithoutResult($"CONFIG{_cmdExtension}=NTAG213");
break;
case 540:
SendCommandWithoutResult($"CONFIG{_cmdExtension}=NTAG215");
break;
case 924:
SendCommandWithoutResult($"CONFIG{_cmdExtension}=NTAG216");
break;
// default to m1
default:
SendCommandWithoutResult(IdentifyUIDSize(dump.Data) == 7 ? $"CONFIG{_cmdExtension}=MF_CLASSIC_1K_7B" : $"CONFIG{_cmdExtension}=MF_CLASSIC_1K");
break;
Expand Down

0 comments on commit 8d9aa94

Please sign in to comment.