summaryrefslogtreecommitdiff
path: root/include/rfid/rfid_reader_cm5121.h
blob: 8d9a3128bc12e01d0f71299d2b3f6d2e95a490ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef _RFID_READER_CM5121_H
#define _RFID_READER_CM5121_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 struct rfid_reader rfid_reader_cm5121;
// extern struct rfid_asic_transport cm5121_ccid;

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