+// int CmdReadBlk(const char *Cmd)\r
+// {\r
+ // int block = -1;\r
+ // sscanf(Cmd, "%d", &block);\r
+\r
+ // if ((block > 7) | (block < 0)) {\r
+ // PrintAndLog("Block must be between 0 and 7");\r
+ // return 1;\r
+ // } \r
+\r
+ // UsbCommand c;\r
+ // c.cmd = CMD_T55XX_READ_BLOCK;\r
+ // c.d.asBytes[0] = 0x00;\r
+ // c.arg[0] = 0;\r
+ // c.arg[1] = block;\r
+ // c.arg[2] = 0;\r
+ // SendCommand(&c);\r
+ // WaitForResponse(CMD_ACK, NULL);\r
+ \r
+ // uint8_t data[LF_TRACE_BUFF_SIZE] = {0x00};\r
+ \r
+ // GetFromBigBuf(data,LF_TRACE_BUFF_SIZE,0); //3560 -- should be offset..\r
+ // WaitForResponseTimeout(CMD_ACK,NULL, 1500);\r
+\r
+ // for (int j = 0; j < LF_TRACE_BUFF_SIZE; j++) {\r
+ // GraphBuffer[j] = (int)data[j];\r
+ // }\r
+ // GraphTraceLen = LF_TRACE_BUFF_SIZE;\r
+ // ManchesterDemod(block);\r
+ // RepaintGraphWindow();\r
+ // return 0;\r
+// }\r
+\r