5 #include <rfid/rfid_reader_cm5121.h>
6 #include <rfid/rfid_protocol.h>
7 #include <rfid/rfid_protocol_tcl.h>
10 rfid_hexdump(const void *data, unsigned int len)
12 static char string[1024];
13 unsigned char *d = (unsigned char *) data;
17 left = sizeof(string);
18 for (i = 0; len--; i += 3) {
19 if (i >= sizeof(string) -4)
21 snprintf(string+i, 4, " %02x", *d++);
28 rfid_reader_register(&rfid_reader_cm5121);
29 rfid_layer2_register(&rfid_layer2_iso14443a);
30 rfid_layer2_register(&rfid_layer2_iso14443b);
31 rfid_protocol_register(&rfid_protocol_tcl);
38 /* FIXME: implementation */