#include <rfid/rfid_layer2.h>
-#include <rfid/rfid_protocol_tcl.h>
-
struct rfid_protocol_handle;
+#include <rfid/rfid_protocol_tcl.h>
+#include <rfid/rfid_protocol_mifare_ul.h>
+
struct rfid_protocol {
struct rfid_protocol *next;
unsigned int id;
rfid_protocol_read(struct rfid_protocol_handle *ph,
unsigned int page,
unsigned char *rx_data,
- unsigned int rx_len);
+ unsigned int *rx_len);
int
rfid_protocol_write(struct rfid_protocol_handle *ph,
RFID_PROTOCOL_UNKNOWN,
RFID_PROTOCOL_TCL,
RFID_PROTOCOL_MIFARE_UL,
+ RFID_PROTOCOL_MIFARE_CLASSIC,
};
#endif