#include "data.h"
#include "graph.h"
#include "ui.h"
+#include "util.h"
#include "cmdparser.h"
#include "cmdhf15.h"
#include "../common/iso15693tools.h"
{
UsbCommand c = {CMD_ACQUIRE_RAW_ADC_SAMPLES_ISO_15693};
SendCommand(&c);
-
- uint8_t data[TRACE_BUFF_SIZE] = {0x00};
-
- GetFromBigBuf(data,TRACE_BUFF_SIZE,3560); //3560 -- should be offset..
- WaitForResponseTimeout(CMD_ACK,NULL, 1500);
-
- for (int j = 0; j < TRACE_BUFF_SIZE; j++) {
- GraphBuffer[j] = ((int)data[j]) ;
- }
- GraphTraceLen = TRACE_BUFF_SIZE;
- RepaintGraphWindow();
return 0;
}
{
UsbCommand c = {CMD_RECORD_RAW_ADC_SAMPLES_ISO_15693};
SendCommand(&c);
-
- uint8_t data[TRACE_BUFF_SIZE] = {0x00};
-
- GetFromBigBuf(data,TRACE_BUFF_SIZE,3560); //3560 -- should be offset..
- WaitForResponseTimeout(CMD_ACK,NULL, 1500);
-
- for (int j = 0; j < TRACE_BUFF_SIZE; j++) {
- GraphBuffer[j] = ((int)data[j]) ;
- }
- GraphTraceLen = TRACE_BUFF_SIZE;
- RepaintGraphWindow();
return 0;
}