summaryrefslogtreecommitdiff
path: root/include/librfid/rfid_reader_cm5121.h
blob: 5a1b7c34f633f181757c64d9facb536386870184 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef _RFID_READER_CM5121_H
#define _RFID_READER_CM5121_H

#include <librfid/rfid_reader.h>

#define CM5121_CW_CONDUCTANCE	0x3f
#define CM5121_MOD_CONDUCTANCE	0x3f
#define CM5121_14443A_BITPHASE	0xa9
#define CM5121_14443A_THRESHOLD	0xff

#define CM5121_14443B_BITPHASE	0xad
#define CM5121_14443B_THRESHOLD	0xff

extern int
PC_to_RDR_Escape(void *handle,
		const unsigned char *tx_buf, unsigned int tx_len,
		unsigned char *rx_buf, unsigned int *rx_len);

extern const struct rfid_reader rfid_reader_cm5121;
// extern struct rfid_asic_transport cm5121_ccid;

#endif
personal git repositories of Harald Welte. Your mileage may vary