#include "util.h"
#include "cmdparser.h"
#include "cmdhf15.h"
-#include "../common/iso15693tools.h"
+#include "iso15693tools.h"
#include "cmdmain.h"
#define FrameSOF Iso15693FrameSOF
#define Crc(data,datalen) Iso15693Crc(data,datalen)
#define AddCrc(data,datalen) Iso15693AddCrc(data,datalen)
#define sprintUID(target,uid) Iso15693sprintUID(target,uid)
-#define TRACE_BUFF_SIZE 12000
// structure and database for uid -> tagtype lookups
typedef struct {
if (best==-1) {
best=i;
} else {
- if (uidmapping[i].mask > uidmapping[best].mask) {
+ if (uidmapping[i].mask>uidmapping[best].mask) {
best=i;
}
}
*/
int prepareHF15Cmd(char **cmd, UsbCommand *c, uint8_t iso15cmd[], int iso15cmdlen) {
int temp;
- uint8_t *req = c->d.asBytes;
+ uint8_t *req=c->d.asBytes;
uint8_t uid[8] = {0x00};
- uint32_t reqlen = 0;
+ uint32_t reqlen=0;
// strip
while (**cmd==' ' || **cmd=='\t') (*cmd)++;