fixing NDEF
This commit is contained in:
@@ -10,22 +10,20 @@
|
||||
// Data and Graph commands
|
||||
//-----------------------------------------------------------------------------
|
||||
#include "cmddata.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <limits.h> // for CmdNorm INT_MIN && INT_MAX
|
||||
#include <math.h> // pow
|
||||
#include <ctype.h> // tolower
|
||||
|
||||
#include "commonutil.h" // ARRAYLEN
|
||||
#include "cmdparser.h" // for command_t
|
||||
#include "ui.h" // for show graph controls
|
||||
#include "graph.h" // for graph data
|
||||
#include "commonutil.h" // ARRAYLEN
|
||||
#include "cmdparser.h" // for command_t
|
||||
#include "ui.h" // for show graph controls
|
||||
#include "graph.h" // for graph data
|
||||
#include "comms.h"
|
||||
#include "lfdemod.h" // for demod code
|
||||
#include "lfdemod.h" // for demod code
|
||||
#include "loclass/cipherutils.h" // for decimating samples in getsamples
|
||||
#include "cmdlfem4x.h" // askem410xdecode
|
||||
#include "fileutils.h" // searchFile
|
||||
#include "cmdlfem4x.h" // askem410xdecode
|
||||
#include "fileutils.h" // searchFile
|
||||
#include "mifare/ndef.h"
|
||||
#include "cliparser/cliparser.h"
|
||||
|
||||
@@ -2314,9 +2312,7 @@ static int CmdDataNDEF(const char *Cmd) {
|
||||
|
||||
CLIParserFree();
|
||||
|
||||
PrintAndLogEx(NORMAL, "ice: %s", sprint_hex(data, datalen));
|
||||
|
||||
NDEFDecodeAndPrint(data, datalen, true);
|
||||
NDEFRecordsDecodeAndPrint(data, datalen);
|
||||
return PM3_SUCCESS;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user