From 1fcc35aad699f3d40ca786b99c7255cf8aa55892 Mon Sep 17 00:00:00 2001 From: laforge Date: Tue, 8 Nov 2005 13:04:32 +0000 Subject: move include directory for pkginclude compliance git-svn-id: https://svn.gnumonks.org/trunk/librfid@1664 e0336214-984f-0b4b-a45f-81c69e1f0ede --- include/rfid/rfid_protocol_tcl.h | 70 ---------------------------------------- 1 file changed, 70 deletions(-) delete mode 100644 include/rfid/rfid_protocol_tcl.h (limited to 'include/rfid/rfid_protocol_tcl.h') diff --git a/include/rfid/rfid_protocol_tcl.h b/include/rfid/rfid_protocol_tcl.h deleted file mode 100644 index f754ad9..0000000 --- a/include/rfid/rfid_protocol_tcl.h +++ /dev/null @@ -1,70 +0,0 @@ -#ifndef _RFID_PROTOCOL_TCL_H -#define _RFID_PROTOCOL_TCL_H - -#ifdef __LIBRFID__ - -enum tcl_transport_rate { - TCL_RATE_106 = 0x01, - TCL_RATE_212 = 0x02, - TCL_RATE_424 = 0x04, - TCL_RATE_848 = 0x08, -}; - -enum tcl_transport_transcieve_flags { - TCL_TRANSP_F_TX_CRC = 0x01, /* transport adds TX CRC */ - TCL_TRANSP_F_RX_CRC = 0x02, -}; - -struct tcl_handle { - /* derived from ats */ - unsigned char *historical_bytes; /* points into ats */ - unsigned int historical_len; - - unsigned int fsc; /* max frame size accepted by card */ - unsigned int fsd; /* max frame size accepted by reader */ - unsigned int fwt; /* frame waiting time (in usec)*/ - unsigned char ta; /* divisor information */ - unsigned char sfgt; /* start-up frame guard time (in usec) */ - - /* otherwise determined */ - unsigned int cid; /* Card ID */ - unsigned int nad; /* Node Address */ - - unsigned int flags; - unsigned int state; /* protocol state */ - - unsigned int toggle; /* send toggle with next frame */ - - unsigned int ats_len; - unsigned char ats[0]; -}; - -enum tcl_handle_flags { - TCL_HANDLE_F_NAD_SUPPORTED = 0x0001, - TCL_HANDLE_F_CID_SUPPORTED = 0x0002, - TCL_HANDLE_F_NAD_USED = 0x0010, - TCL_HANDLE_F_CID_USED = 0x0020, -}; - - -enum tcl_pcb_bits { - TCL_PCB_CID_FOLLOWING = 0x08, - TCL_PCB_NAD_FOLLOWING = 0x04, -}; - -enum tcl_pcd_state { - TCL_STATE_NONE = 0x00, - TCL_STATE_INITIAL, - TCL_STATE_RATS_SENT, /* waiting for ATS */ - TCL_STATE_ATS_RCVD, /* ATS received */ - TCL_STATE_PPS_SENT, /* waiting for PPS response */ - TCL_STATE_ESTABLISHED, /* xchg transparent data */ - TCL_STATE_DESELECT_SENT, /* waiting for DESELECT response */ - TCL_STATE_DESELECTED, /* card deselected or HLTA'd */ -}; - -struct rfid_protocol rfid_protocol_tcl; - -#endif /* __LIBRFID__ */ - -#endif -- cgit v1.2.3