1 #ifndef _RDR_RC632_COMMON
2 #define _RDR_RC632_COMMON
4 int _rdr_rc632_transceive(struct rfid_reader_handle *rh,
5 enum rfid_frametype frametype,
6 const unsigned char *tx_data, unsigned int tx_len,
7 unsigned char *rx_data, unsigned int *rx_len,
8 u_int64_t timeout, unsigned int flags);
9 int _rdr_rc632_transceive_sf(struct rfid_reader_handle *rh,
10 unsigned char cmd, struct iso14443a_atqa *atqa);
11 int _rdr_rc632_transceive_acf(struct rfid_reader_handle *rh,
12 struct iso14443a_anticol_cmd *cmd,
13 unsigned int *bit_of_col);
14 int _rdr_rc632_iso15693_transceive_ac(struct rfid_reader_handle *rh,
15 const struct iso15693_anticol_cmd *acf,
17 struct iso15693_anticol_resp *resp,
18 unsigned int *resp_len, char *bit_of_col);
19 int _rdr_rc632_14443a_set_speed(struct rfid_reader_handle *rh, unsigned int tx,
21 int _rdr_rc632_l2_init(struct rfid_reader_handle *rh, enum rfid_layer2_id l2);
22 int _rdr_rc632_mifare_setkey(struct rfid_reader_handle *rh, const u_int8_t *key);
23 int _rdr_rc632_mifare_setkey_ee(struct rfid_reader_handle *rh, const unsigned int addr);
24 int _rdr_rc632_mifare_auth(struct rfid_reader_handle *rh, u_int8_t cmd,
25 u_int32_t serno, u_int8_t block);
26 int _rdr_rc632_getopt(struct rfid_reader_handle *rh, int optname,
27 void *optval, unsigned int *optlen);
28 int _rdr_rc632_setopt(struct rfid_reader_handle *rh, int optname,
29 const void *optval, unsigned int optlen);