-//#define SENDBUF_LEN 40
-#define SENDBUF_LEN 100
-#define RECVBUF_LEN 40
-
-#if 0
-#ifdef DEBUGP
-#undef DEBUGP
-#define DEBUGP(x, ...)
-#define DEBUGPC(x, ...)
-#endif
-#endif
+#define SENDBUF_LEN 256+7+10 /* 256bytes max FSD/FSC, plus 7 bytes header,
+ plus 10 bytes reserve */
+#define RECVBUF_LEN SENDBUF_LEN
enum rfid_frametype frametype,
const unsigned char *tx_data, unsigned int tx_len,
unsigned char *rx_data, unsigned int *rx_len,
u_int64_t timeout, unsigned int flags)
{
enum rfid_frametype frametype,
const unsigned char *tx_data, unsigned int tx_len,
unsigned char *rx_data, unsigned int *rx_len,
u_int64_t timeout, unsigned int flags)
{
tx_data, tx_len, rx_data,
rx_len, timeout, flags);
}
tx_data, tx_len, rx_data,
rx_len, timeout, flags);
}
struct iso14443a_anticol_cmd *cmd,
unsigned int *bit_of_col)
{
struct iso14443a_anticol_cmd *cmd,
unsigned int *bit_of_col)
{
- .transcieve_sf = &cm5121_transcieve_sf,
- .transcieve_acf = &cm5121_transcieve_acf,
+ .transceive_sf = &cm5121_transceive_sf,
+ .transceive_acf = &cm5121_transceive_acf,