librfid
16 years agoalways compile the rfid_hexdump() function, since DEBUG_LIBRFID might be defined...
laforge [Sat, 26 Jan 2008 21:40:52 +0000 (21:40 +0000)]
always compile the rfid_hexdump() function, since DEBUG_LIBRFID might be defined only locally and not for the entire project

git-svn-id: https://svn.gnumonks.org/trunk/librfid@2053 e0336214-984f-0b4b-a45f-81c69e1f0ede

16 years agofix more compiler warnings, based on a patch by Rainer Keller
laforge [Sat, 26 Jan 2008 20:21:59 +0000 (20:21 +0000)]
fix more compiler warnings, based on a patch by Rainer Keller

git-svn-id: https://svn.gnumonks.org/trunk/librfid@2052 e0336214-984f-0b4b-a45f-81c69e1f0ede

16 years ago* support for mingw (Petr Stetiar)
laforge [Sat, 26 Jan 2008 20:08:42 +0000 (20:08 +0000)]
* support for mingw (Petr Stetiar)

git-svn-id: https://svn.gnumonks.org/trunk/librfid@2051 e0336214-984f-0b4b-a45f-81c69e1f0ede

16 years agoupdate COPYING to latest version (Uwe Hermann)
laforge [Sat, 26 Jan 2008 19:58:30 +0000 (19:58 +0000)]
update COPYING to latest version (Uwe Hermann)

git-svn-id: https://svn.gnumonks.org/trunk/librfid@2050 e0336214-984f-0b4b-a45f-81c69e1f0ede

16 years ago* add missing header files to distributed tarball
laforge [Sat, 26 Jan 2008 19:51:55 +0000 (19:51 +0000)]
* add missing header files to distributed tarball
* bump revision number to 0.2.0 (not yet released)

git-svn-id: https://svn.gnumonks.org/trunk/librfid@2049 e0336214-984f-0b4b-a45f-81c69e1f0ede

16 years agoadd missing spidev reader driver (missing from last commit)
laforge [Sat, 26 Jan 2008 19:26:22 +0000 (19:26 +0000)]
add missing spidev reader driver (missing from last commit)

git-svn-id: https://svn.gnumonks.org/trunk/librfid@2048 e0336214-984f-0b4b-a45f-81c69e1f0ede

16 years ago* Add spidev reader driver
laforge [Sat, 26 Jan 2008 19:23:54 +0000 (19:23 +0000)]
* Add spidev reader driver
* restructure automake usage, introduce shared Makefile.flags.am

git-svn-id: https://svn.gnumonks.org/trunk/librfid@2047 e0336214-984f-0b4b-a45f-81c69e1f0ede

16 years agomifare classic:
laforge [Sat, 26 Jan 2008 09:29:56 +0000 (09:29 +0000)]
mifare classic:
* Use the officially specified FWT values
* READ4 is only ultralight, not classic.  So remove from classic codepath
(Frederic RODO)

git-svn-id: https://svn.gnumonks.org/trunk/librfid@2046 e0336214-984f-0b4b-a45f-81c69e1f0ede

16 years agoAdd manpages for all executables (Uwe Hermann)
laforge [Sat, 26 Jan 2008 09:26:57 +0000 (09:26 +0000)]
Add manpages for all executables (Uwe Hermann)

git-svn-id: https://svn.gnumonks.org/trunk/librfid@2045 e0336214-984f-0b4b-a45f-81c69e1f0ede

16 years agoAdd the OpenPCD USB device ID to the udev rule file (Uwe Hermann)
laforge [Sat, 26 Jan 2008 09:25:30 +0000 (09:25 +0000)]
Add the OpenPCD USB device ID to the udev rule file (Uwe Hermann)

git-svn-id: https://svn.gnumonks.org/trunk/librfid@2044 e0336214-984f-0b4b-a45f-81c69e1f0ede

16 years agomake 'make distcheck' work properly (Uwe Hermann)
laforge [Sat, 26 Jan 2008 09:24:01 +0000 (09:24 +0000)]
make 'make distcheck' work properly (Uwe Hermann)

git-svn-id: https://svn.gnumonks.org/trunk/librfid@2043 e0336214-984f-0b4b-a45f-81c69e1f0ede

16 years agoadd common.h to noinst_HEADERS (Jeremy Laine)
laforge [Wed, 23 Jan 2008 18:19:33 +0000 (18:19 +0000)]
add common.h to noinst_HEADERS (Jeremy Laine)

git-svn-id: https://svn.gnumonks.org/trunk/librfid@2042 e0336214-984f-0b4b-a45f-81c69e1f0ede

16 years agoupdate FSF postal address (Jeremy Laine)
laforge [Wed, 23 Jan 2008 18:18:46 +0000 (18:18 +0000)]
update FSF postal address (Jeremy Laine)

git-svn-id: https://svn.gnumonks.org/trunk/librfid@2041 e0336214-984f-0b4b-a45f-81c69e1f0ede

16 years agoPatch to implement brute-forcng of mifare classic keys (Bjoern Riemer)
laforge [Tue, 22 Jan 2008 15:46:47 +0000 (15:46 +0000)]
Patch to implement brute-forcng of mifare classic keys (Bjoern Riemer)

git-svn-id: https://svn.gnumonks.org/trunk/librfid@2040 e0336214-984f-0b4b-a45f-81c69e1f0ede

16 years agoReturn size of mifare ultralight in bytes, just like other protocols (Robert
laforge [Tue, 22 Jan 2008 15:46:19 +0000 (15:46 +0000)]
Return size of mifare ultralight in bytes, just like other protocols (Robert
Schlephorst)

git-svn-id: https://svn.gnumonks.org/trunk/librfid@2039 e0336214-984f-0b4b-a45f-81c69e1f0ede

16 years agoFix bitfields for big endian platforms (Jeremy Lainé)
laforge [Tue, 22 Jan 2008 15:45:50 +0000 (15:45 +0000)]
Fix bitfields for big endian platforms (Jeremy LainĂ©)

git-svn-id: https://svn.gnumonks.org/trunk/librfid@2038 e0336214-984f-0b4b-a45f-81c69e1f0ede

16 years agoParse mifare keys with colons correctly (Rainer Keller)
laforge [Tue, 22 Jan 2008 15:44:21 +0000 (15:44 +0000)]
Parse mifare keys with colons correctly (Rainer Keller)

git-svn-id: https://svn.gnumonks.org/trunk/librfid@2037 e0336214-984f-0b4b-a45f-81c69e1f0ede

16 years agoapplied Rainer Kellers fix 'Header missing, define name typo'
meri [Mon, 29 Oct 2007 01:23:36 +0000 (01:23 +0000)]
applied Rainer Kellers fix 'Header missing, define name typo'

git-svn-id: https://svn.gnumonks.org/trunk/librfid@2016 e0336214-984f-0b4b-a45f-81c69e1f0ede

16 years agoNeed stdio.h for fprintf
ploetz [Sun, 10 Jun 2007 03:02:41 +0000 (03:02 +0000)]
Need stdio.h for fprintf
Add debug output for ATS

git-svn-id: https://svn.gnumonks.org/trunk/librfid@2002 e0336214-984f-0b4b-a45f-81c69e1f0ede

16 years agoNot including libgen.h breaks 64bit builds (probably because the compiler assumes...
ploetz [Sat, 9 Jun 2007 22:02:21 +0000 (22:02 +0000)]
Not including libgen.h breaks 64bit builds (probably because the compiler assumes a default return type for basename which would be int, which is smaller than char*)

git-svn-id: https://svn.gnumonks.org/trunk/librfid@2001 e0336214-984f-0b4b-a45f-81c69e1f0ede

16 years agoupdated python support by Kushal Das
meri [Thu, 31 May 2007 03:10:21 +0000 (03:10 +0000)]
updated python support by Kushal Das

git-svn-id: https://svn.gnumonks.org/trunk/librfid@1999 e0336214-984f-0b4b-a45f-81c69e1f0ede

16 years agopython support by Kushal Das
meri [Thu, 31 May 2007 02:40:02 +0000 (02:40 +0000)]
python support by Kushal Das

git-svn-id: https://svn.gnumonks.org/trunk/librfid@1998 e0336214-984f-0b4b-a45f-81c69e1f0ede

16 years agopython support by Kushal Das
meri [Wed, 30 May 2007 22:03:53 +0000 (22:03 +0000)]
python support by Kushal Das

git-svn-id: https://svn.gnumonks.org/trunk/librfid@1997 e0336214-984f-0b4b-a45f-81c69e1f0ede

17 years agofixed automake/autoconf files to allow clean firmware compilation
meri [Thu, 3 May 2007 09:11:50 +0000 (09:11 +0000)]
fixed automake/autoconf files to allow clean firmware compilation

git-svn-id: https://svn.gnumonks.org/trunk/librfid@1996 e0336214-984f-0b4b-a45f-81c69e1f0ede

17 years agostupid me forgot to add copyright/license headers
meri [Wed, 2 May 2007 17:30:26 +0000 (17:30 +0000)]
stupid me forgot to add copyright/license headers

git-svn-id: https://svn.gnumonks.org/trunk/librfid@1995 e0336214-984f-0b4b-a45f-81c69e1f0ede

17 years agothanks to Abhisek Datta this nasty off-by-one bug could be fixed
meri [Wed, 2 May 2007 17:24:40 +0000 (17:24 +0000)]
thanks to Abhisek Datta this nasty off-by-one bug could be fixed

git-svn-id: https://svn.gnumonks.org/trunk/librfid@1994 e0336214-984f-0b4b-a45f-81c69e1f0ede

17 years agoadded UID output for loop mode
meri [Wed, 2 May 2007 02:29:53 +0000 (02:29 +0000)]
added UID output for loop mode

git-svn-id: https://svn.gnumonks.org/trunk/librfid@1993 e0336214-984f-0b4b-a45f-81c69e1f0ede

17 years agofixed Makefile to ignore win32 durectory during Unix based build
meri [Wed, 2 May 2007 01:53:18 +0000 (01:53 +0000)]
fixed Makefile to ignore win32 durectory during Unix based build

git-svn-id: https://svn.gnumonks.org/trunk/librfid@1992 e0336214-984f-0b4b-a45f-81c69e1f0ede

17 years agoupdated win32 support for MINGW32-compiler/cross-compiler
meri [Wed, 2 May 2007 01:48:44 +0000 (01:48 +0000)]
updated win32 support for MINGW32-compiler/cross-compiler

git-svn-id: https://svn.gnumonks.org/trunk/librfid@1991 e0336214-984f-0b4b-a45f-81c69e1f0ede

17 years agoupdated win32 support for MINGW32-compiler/cross-compiler
meri [Wed, 2 May 2007 01:46:14 +0000 (01:46 +0000)]
updated win32 support for MINGW32-compiler/cross-compiler

git-svn-id: https://svn.gnumonks.org/trunk/librfid@1990 e0336214-984f-0b4b-a45f-81c69e1f0ede

17 years agoadded win32 support for MINGW32-compiler/cross-compiler
meri [Mon, 30 Apr 2007 18:39:18 +0000 (18:39 +0000)]
added win32 support for MINGW32-compiler/cross-compiler

git-svn-id: https://svn.gnumonks.org/trunk/librfid@1989 e0336214-984f-0b4b-a45f-81c69e1f0ede

17 years agofixed ISO 14443A anticollision
meri [Wed, 25 Apr 2007 01:36:28 +0000 (01:36 +0000)]
fixed ISO 14443A anticollision

git-svn-id: https://svn.gnumonks.org/trunk/librfid@1988 e0336214-984f-0b4b-a45f-81c69e1f0ede

17 years agoAdded new function codes
meri [Tue, 3 Apr 2007 20:17:25 +0000 (20:17 +0000)]
Added new function codes

git-svn-id: https://svn.gnumonks.org/trunk/librfid@1987 e0336214-984f-0b4b-a45f-81c69e1f0ede

17 years agoAdd RFID_OPT_14443A_WUPA to request WUPA instead of REQA (Rainer Keller <mail@rainerk...
ploetz [Tue, 20 Mar 2007 00:47:12 +0000 (00:47 +0000)]
Add RFID_OPT_14443A_WUPA to request WUPA instead of REQA (Rainer Keller <mail@rainerkeller.de>)

git-svn-id: https://svn.gnumonks.org/trunk/librfid@1985 e0336214-984f-0b4b-a45f-81c69e1f0ede

17 years agounsigned int -> size_t in some appropriate places.
ploetz [Tue, 20 Mar 2007 00:16:22 +0000 (00:16 +0000)]
unsigned int -> size_t in some appropriate places.
Fixes segfaults on x86_64

git-svn-id: https://svn.gnumonks.org/trunk/librfid@1984 e0336214-984f-0b4b-a45f-81c69e1f0ede

17 years agoFix a warning (Rainer Keller <mail@rainerkeller.de>)
ploetz [Mon, 19 Mar 2007 23:11:57 +0000 (23:11 +0000)]
Fix a warning (Rainer Keller <mail@rainerkeller.de>)

git-svn-id: https://svn.gnumonks.org/trunk/librfid@1983 e0336214-984f-0b4b-a45f-81c69e1f0ede

17 years agoSimplify compile options (either --enable-ccid or --enable-openct implies --enable...
ploetz [Wed, 14 Feb 2007 23:06:42 +0000 (23:06 +0000)]
Simplify compile options (either --enable-ccid or --enable-openct implies --enable-reader-cm5121, so that is not needed as an explicit option) (Andreas Jellinghaus <aj@dungeon.inka.de>)

git-svn-id: https://svn.gnumonks.org/trunk/librfid@1977 e0336214-984f-0b4b-a45f-81c69e1f0ede

17 years agoFix "key format error" on cm5121 (Pierrick Hascoet <pierrick.hascoet@hydromel.net>)
ploetz [Wed, 14 Feb 2007 22:36:35 +0000 (22:36 +0000)]
Fix "key format error" on cm5121 (Pierrick Hascoet <pierrick.hascoet@hydromel.net>)

git-svn-id: https://svn.gnumonks.org/trunk/librfid@1976 e0336214-984f-0b4b-a45f-81c69e1f0ede

17 years agoCorrectly initialise rx_len in mfcl_write() (Pierrick Hascoet <pierrick.hascoet...
ploetz [Wed, 14 Feb 2007 22:34:09 +0000 (22:34 +0000)]
Correctly initialise rx_len in mfcl_write()  (Pierrick Hascoet <pierrick.hascoet@hydromel.net>)

git-svn-id: https://svn.gnumonks.org/trunk/librfid@1975 e0336214-984f-0b4b-a45f-81c69e1f0ede

17 years agoupdate copyright notice
ploetz [Wed, 14 Feb 2007 22:31:24 +0000 (22:31 +0000)]
update copyright notice

git-svn-id: https://svn.gnumonks.org/trunk/librfid@1974 e0336214-984f-0b4b-a45f-81c69e1f0ede

17 years agomake sure that LICENSING, librfid.spec openct-cm5121-librfid.patch and etc/udev/librf...
laforge [Fri, 12 Jan 2007 14:18:50 +0000 (14:18 +0000)]
make sure that LICENSING, librfid.spec openct-cm5121-librfid.patch and etc/udev/librfid.rules end up in the 'make dist' target (Uwe Hermann <uwe@hermann-uwe.de>)

git-svn-id: https://svn.gnumonks.org/trunk/librfid@1960 e0336214-984f-0b4b-a45f-81c69e1f0ede

17 years agoFix typos in documentation (Uwe Hermann <uwe@hermann-uwe.de>)
laforge [Fri, 12 Jan 2007 14:17:06 +0000 (14:17 +0000)]
Fix typos in documentation (Uwe Hermann <uwe@hermann-uwe.de>)

git-svn-id: https://svn.gnumonks.org/trunk/librfid@1959 e0336214-984f-0b4b-a45f-81c69e1f0ede

17 years agomake rfid_frametype public, since it is used by public function definitions in rfid_r...
laforge [Tue, 9 Jan 2007 21:45:45 +0000 (21:45 +0000)]
make rfid_frametype public, since it is used by public function definitions in rfid_reader.h

git-svn-id: https://svn.gnumonks.org/trunk/librfid@1958 e0336214-984f-0b4b-a45f-81c69e1f0ede

17 years agoFix typo. we don't wand sizeof(sizeof(somethin)) (Rainer Keller <mail@rainerkeller...
laforge [Sun, 7 Jan 2007 23:53:47 +0000 (23:53 +0000)]
Fix typo. we don't wand sizeof(sizeof(somethin)) (Rainer Keller <mail@rainerkeller.de>)

git-svn-id: https://svn.gnumonks.org/trunk/librfid@1957 e0336214-984f-0b4b-a45f-81c69e1f0ede

17 years ago- change --with-openct to --enable-openct
laforge [Sat, 6 Jan 2007 14:39:59 +0000 (14:39 +0000)]
- change --with-openct to --enable-openct
- try to be more intelligent to detect openct library location
- add librfid.pc file (pkgconfig)
(Andreas Jellinghaus <aj@dungeon.inka.de>)

git-svn-id: https://svn.gnumonks.org/trunk/librfid@1955 e0336214-984f-0b4b-a45f-81c69e1f0ede

17 years agoPorting librfid on ARM, I got trouble using 14443B due to alignment issue. This
laforge [Sat, 6 Jan 2007 13:40:55 +0000 (13:40 +0000)]
Porting librfid on ARM, I got trouble using 14443B due to alignment issue. This
patch fix it. (Pierrick Hascoet <pierrick@hydromel.net>)

git-svn-id: https://svn.gnumonks.org/trunk/librfid@1954 e0336214-984f-0b4b-a45f-81c69e1f0ede

17 years agorename librfid_send_script to librfid-send_script to be consistent with librfid-tool
laforge [Sat, 6 Jan 2007 13:36:39 +0000 (13:36 +0000)]
rename librfid_send_script to librfid-send_script to be consistent with librfid-tool

git-svn-id: https://svn.gnumonks.org/trunk/librfid@1953 e0336214-984f-0b4b-a45f-81c69e1f0ede

17 years agofix build of librfid_send_script
laforge [Sat, 6 Jan 2007 13:29:08 +0000 (13:29 +0000)]
fix build of librfid_send_script

git-svn-id: https://svn.gnumonks.org/trunk/librfid@1952 e0336214-984f-0b4b-a45f-81c69e1f0ede

17 years agorename 'send_script' program into 'librfid_send_script', as recommended in https...
laforge [Sun, 31 Dec 2006 09:27:37 +0000 (09:27 +0000)]
rename 'send_script' program into 'librfid_send_script', as recommended in https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=221010

git-svn-id: https://svn.gnumonks.org/trunk/librfid@1951 e0336214-984f-0b4b-a45f-81c69e1f0ede

17 years agocommit librfid SPEC file for fedora (Kushal Das)
laforge [Sun, 31 Dec 2006 09:24:42 +0000 (09:24 +0000)]
commit librfid SPEC file for fedora (Kushal Das)

git-svn-id: https://svn.gnumonks.org/trunk/librfid@1950 e0336214-984f-0b4b-a45f-81c69e1f0ede

17 years agobump version number
laforge [Fri, 29 Dec 2006 11:28:19 +0000 (11:28 +0000)]
bump version number

git-svn-id: https://svn.gnumonks.org/trunk/librfid@1946 e0336214-984f-0b4b-a45f-81c69e1f0ede

17 years agoinclude not-installed headers in release tarballs
laforge [Fri, 29 Dec 2006 11:28:08 +0000 (11:28 +0000)]
include not-installed headers in release tarballs

git-svn-id: https://svn.gnumonks.org/trunk/librfid@1945 e0336214-984f-0b4b-a45f-81c69e1f0ede

17 years agoimplement help message
laforge [Fri, 29 Dec 2006 11:27:40 +0000 (11:27 +0000)]
implement help message

git-svn-id: https://svn.gnumonks.org/trunk/librfid@1944 e0336214-984f-0b4b-a45f-81c69e1f0ede

17 years agoREADME update
laforge [Mon, 4 Dec 2006 07:27:25 +0000 (07:27 +0000)]
README update

git-svn-id: https://svn.gnumonks.org/trunk/librfid@1932 e0336214-984f-0b4b-a45f-81c69e1f0ede

17 years ago- only link with openct if we need it
laforge [Mon, 4 Dec 2006 07:16:05 +0000 (07:16 +0000)]
- only link with openct if we need it
- don't try to build the utilities if we're cross-compiling for in-firmware

git-svn-id: https://svn.gnumonks.org/trunk/librfid@1931 e0336214-984f-0b4b-a45f-81c69e1f0ede

17 years ago- add size detection for mifare classic / ultralight
laforge [Fri, 1 Dec 2006 13:29:00 +0000 (13:29 +0000)]
- add size detection for mifare classic / ultralight
- add possibility to obtain ATQA via getopt
- fix default -EINVAL return of tcl getopt

git-svn-id: https://svn.gnumonks.org/trunk/librfid@1930 e0336214-984f-0b4b-a45f-81c69e1f0ede

17 years agodisable debugging by default
laforge [Tue, 28 Nov 2006 18:02:14 +0000 (18:02 +0000)]
disable debugging by default

git-svn-id: https://svn.gnumonks.org/trunk/librfid@1929 e0336214-984f-0b4b-a45f-81c69e1f0ede

17 years ago- fix mifare write support
laforge [Tue, 28 Nov 2006 10:06:24 +0000 (10:06 +0000)]
- fix mifare write support
- make mifare auth more reliable
- add mifare permission / access bit en/decoding
- some more 15693 bits
- add new 'mifare-tool' program

git-svn-id: https://svn.gnumonks.org/trunk/librfid@1928 e0336214-984f-0b4b-a45f-81c69e1f0ede

17 years agoupdate TODO
laforge [Wed, 25 Oct 2006 23:33:21 +0000 (23:33 +0000)]
update TODO

git-svn-id: https://svn.gnumonks.org/trunk/librfid@1917 e0336214-984f-0b4b-a45f-81c69e1f0ede

17 years agosome preliminary work to get 15693 working (actual implementation still missing)
laforge [Wed, 25 Oct 2006 23:33:06 +0000 (23:33 +0000)]
some preliminary work to get 15693 working (actual implementation still missing)

git-svn-id: https://svn.gnumonks.org/trunk/librfid@1916 e0336214-984f-0b4b-a45f-81c69e1f0ede

17 years agofix conditionals / variable definitions (automake madness)
laforge [Mon, 23 Oct 2006 16:06:33 +0000 (16:06 +0000)]
fix conditionals / variable definitions (automake madness)

git-svn-id: https://svn.gnumonks.org/trunk/librfid@1915 e0336214-984f-0b4b-a45f-81c69e1f0ede

17 years agograceful error in case of non-existing reader backend driver
laforge [Mon, 23 Oct 2006 16:05:27 +0000 (16:05 +0000)]
graceful error in case of non-existing reader backend driver

git-svn-id: https://svn.gnumonks.org/trunk/librfid@1914 e0336214-984f-0b4b-a45f-81c69e1f0ede

17 years agoremove unused 'next' pointers
laforge [Wed, 18 Oct 2006 14:49:24 +0000 (14:49 +0000)]
remove unused 'next' pointers

git-svn-id: https://svn.gnumonks.org/trunk/librfid@1912 e0336214-984f-0b4b-a45f-81c69e1f0ede

17 years agoexport 14443a initialiation routine
laforge [Sun, 15 Oct 2006 20:12:45 +0000 (20:12 +0000)]
export 14443a initialiation routine

git-svn-id: https://svn.gnumonks.org/trunk/librfid@1911 e0336214-984f-0b4b-a45f-81c69e1f0ede

17 years ago- fix multiple include of rfid_protocol_mifare_classic.h problem
laforge [Sun, 15 Oct 2006 19:17:22 +0000 (19:17 +0000)]
- fix multiple include of rfid_protocol_mifare_classic.h problem
- add some more layer2 {get,set}opt()s
- add rfid_protocol_{get,set}opt()
- export functions for l2/proto scanning, not just for combined scanning
- add support for sending WUPA instead of REQA in iso14443a

git-svn-id: https://svn.gnumonks.org/trunk/librfid@1910 e0336214-984f-0b4b-a45f-81c69e1f0ede

17 years agoredirect DEBUGP to 'debugp' function inside openpcd firmware
laforge [Sat, 14 Oct 2006 21:51:24 +0000 (21:51 +0000)]
redirect DEBUGP to 'debugp' function inside openpcd firmware

git-svn-id: https://svn.gnumonks.org/trunk/librfid@1909 e0336214-984f-0b4b-a45f-81c69e1f0ede

17 years agofirmware compilation TODO has been done
laforge [Sat, 14 Oct 2006 21:50:56 +0000 (21:50 +0000)]
firmware compilation TODO has been done

git-svn-id: https://svn.gnumonks.org/trunk/librfid@1908 e0336214-984f-0b4b-a45f-81c69e1f0ede

17 years agoprefix functions of openpcd firmware with 'opcd_' to prevent confusion :)
laforge [Sat, 14 Oct 2006 21:45:56 +0000 (21:45 +0000)]
prefix functions of openpcd firmware with 'opcd_' to prevent confusion :)

git-svn-id: https://svn.gnumonks.org/trunk/librfid@1907 e0336214-984f-0b4b-a45f-81c69e1f0ede

17 years agoredesign autoconf/automake infrastructure to support
laforge [Sat, 14 Oct 2006 18:53:50 +0000 (18:53 +0000)]
redesign autoconf/automake infrastructure to support
- building of CM5121 driver (and backends) optional
- building of librfid for in-firmware-use

git-svn-id: https://svn.gnumonks.org/trunk/librfid@1906 e0336214-984f-0b4b-a45f-81c69e1f0ede

17 years ago- remove prototypes for already-removed _register() functions from headers
laforge [Sat, 14 Oct 2006 15:22:36 +0000 (15:22 +0000)]
- remove prototypes for already-removed _register() functions from headers
- automatically define LIBRFID_STATIC if LIBRFID_FIRMWARE is set
- remove any references to printf/snprintf
- remove bogus free() in 14443b_init

git-svn-id: https://svn.gnumonks.org/trunk/librfid@1905 e0336214-984f-0b4b-a45f-81c69e1f0ede

17 years ago- separate 'STATIC' (non-dyamic-allocation) from 'FIRMWARE' (no host drivers)
laforge [Sat, 14 Oct 2006 15:04:10 +0000 (15:04 +0000)]
- separate 'STATIC' (non-dyamic-allocation) from 'FIRMWARE' (no host drivers)
- enhance openpcd in-firmware driver stubs
- fix 15693 segfaults with cm5121 and openpcd (15693 is not working yet!)

git-svn-id: https://svn.gnumonks.org/trunk/librfid@1904 e0336214-984f-0b4b-a45f-81c69e1f0ede

17 years agoPrepare RFID compilation in firmware mode
laforge [Sat, 14 Oct 2006 12:34:38 +0000 (12:34 +0000)]
Prepare RFID compilation in firmware mode
- switch from linked lists to static arrays
- remove all non-handle dynamic allocations (at the expense of stack)
- declare all proto/reader/asic/layer2 structures as const
- wrap all handle allocations in macros that expand to references to
  static structures in case of firmware mode
- update copyright notices
- add skeleton code for openpcd-inside-firmware driver
- update TODO with remaining TODO for firmware mode

git-svn-id: https://svn.gnumonks.org/trunk/librfid@1903 e0336214-984f-0b4b-a45f-81c69e1f0ede

17 years ago- fix segfault during rfid_scan()
laforge [Sun, 8 Oct 2006 01:05:50 +0000 (01:05 +0000)]
- fix segfault during rfid_scan()
- add accessor functions for protocol and layer2 names
- print l2 and proto name + uid after successful scan

git-svn-id: https://svn.gnumonks.org/trunk/librfid@1899 e0336214-984f-0b4b-a45f-81c69e1f0ede

17 years ago- don't display debug messages during usb bus scan
laforge [Sun, 8 Oct 2006 00:54:35 +0000 (00:54 +0000)]
- don't display debug messages during usb bus scan

git-svn-id: https://svn.gnumonks.org/trunk/librfid@1898 e0336214-984f-0b4b-a45f-81c69e1f0ede

17 years agosome reality update of the README file
laforge [Sat, 7 Oct 2006 22:04:57 +0000 (22:04 +0000)]
some reality update of the README file

git-svn-id: https://svn.gnumonks.org/trunk/librfid@1896 e0336214-984f-0b4b-a45f-81c69e1f0ede

17 years ago- use C99 compiler flags
laforge [Sat, 7 Oct 2006 20:55:16 +0000 (20:55 +0000)]
- use C99 compiler flags
- implement some getopt/setopt functions for UID and layer2 specific parameters
- basic rfid scanning support
- add commandline arguments for layer2 / scanning to librfid-tool
- try to detect both supported readers automatically in librfid-tool
- add new 'l2_supported' and 'proto_supported members to rfid_reader

git-svn-id: https://svn.gnumonks.org/trunk/librfid@1895 e0336214-984f-0b4b-a45f-81c69e1f0ede

17 years ago- make openpcd driver work with most recent openpcd dumbreader firmware
laforge [Wed, 4 Oct 2006 10:23:54 +0000 (10:23 +0000)]
- make openpcd driver work with most recent openpcd dumbreader firmware
- make openpcd driver work if it is called after some other usb driver
  was initialized

git-svn-id: https://svn.gnumonks.org/trunk/librfid@1893 e0336214-984f-0b4b-a45f-81c69e1f0ede

17 years agoadd support for multiple [new] usb id's in openct backend driver
laforge [Sat, 30 Sep 2006 13:27:07 +0000 (13:27 +0000)]
add support for multiple [new] usb id's in openct backend driver

git-svn-id: https://svn.gnumonks.org/trunk/librfid@1892 e0336214-984f-0b4b-a45f-81c69e1f0ede

17 years agofix various compile warnings. code cleanup
laforge [Sat, 30 Sep 2006 13:26:32 +0000 (13:26 +0000)]
fix various compile warnings. code cleanup

git-svn-id: https://svn.gnumonks.org/trunk/librfid@1891 e0336214-984f-0b4b-a45f-81c69e1f0ede

17 years agotry OpenPCD if there is no cm5121 available
laforge [Fri, 22 Sep 2006 23:12:40 +0000 (23:12 +0000)]
try OpenPCD if there is no cm5121 available

git-svn-id: https://svn.gnumonks.org/trunk/librfid@1887 e0336214-984f-0b4b-a45f-81c69e1f0ede

17 years agomemset the size of the structure, rather than the pointer to it. Usually this problem...
laforge [Fri, 22 Sep 2006 21:00:27 +0000 (21:00 +0000)]
memset the size of the structure, rather than the pointer to it. Usually this problem results in memsetting too litttle... but here we actually have a less-than-four-byte-structure and we end up messing up the stack :(

git-svn-id: https://svn.gnumonks.org/trunk/librfid@1886 e0336214-984f-0b4b-a45f-81c69e1f0ede

17 years agore-initialize sak rx_len for each cascade level (Henryk Ploetz)
laforge [Fri, 22 Sep 2006 20:57:48 +0000 (20:57 +0000)]
re-initialize sak rx_len for each cascade level (Henryk Ploetz)

git-svn-id: https://svn.gnumonks.org/trunk/librfid@1885 e0336214-984f-0b4b-a45f-81c69e1f0ede

17 years agoupdate to new (four-byte, explicit response_request flag) revision of openpcd usb...
laforge [Fri, 22 Sep 2006 20:56:54 +0000 (20:56 +0000)]
update to new (four-byte, explicit response_request flag) revision of openpcd usb protocol

git-svn-id: https://svn.gnumonks.org/trunk/librfid@1884 e0336214-984f-0b4b-a45f-81c69e1f0ede

17 years agointroduce new debug macro for debugging register-level accesses
laforge [Fri, 22 Sep 2006 20:54:32 +0000 (20:54 +0000)]
introduce new debug macro for debugging register-level accesses

git-svn-id: https://svn.gnumonks.org/trunk/librfid@1883 e0336214-984f-0b4b-a45f-81c69e1f0ede

17 years ago- fix treatment of rx_length in low-level transceive routines
laforge [Wed, 16 Aug 2006 22:11:21 +0000 (22:11 +0000)]
- fix treatment of rx_length in low-level transceive routines

git-svn-id: https://svn.gnumonks.org/trunk/librfid@1870 e0336214-984f-0b4b-a45f-81c69e1f0ede

17 years agougly workaround to avoid stack overflow
laforge [Wed, 16 Aug 2006 22:08:58 +0000 (22:08 +0000)]
ugly workaround to avoid stack overflow

git-svn-id: https://svn.gnumonks.org/trunk/librfid@1869 e0336214-984f-0b4b-a45f-81c69e1f0ede

17 years agouse attribute(packed) where apropriate
laforge [Wed, 16 Aug 2006 22:07:54 +0000 (22:07 +0000)]
use attribute(packed) where apropriate

git-svn-id: https://svn.gnumonks.org/trunk/librfid@1868 e0336214-984f-0b4b-a45f-81c69e1f0ede

17 years agoadd timer/irq handling, disabled
laforge [Wed, 16 Aug 2006 14:00:56 +0000 (14:00 +0000)]
add timer/irq handling, disabled

git-svn-id: https://svn.gnumonks.org/trunk/librfid@1867 e0336214-984f-0b4b-a45f-81c69e1f0ede

17 years agoadd some definitions on ISO144443A frame waiting time
laforge [Wed, 16 Aug 2006 00:20:28 +0000 (00:20 +0000)]
add some definitions on ISO144443A frame waiting time

git-svn-id: https://svn.gnumonks.org/trunk/librfid@1863 e0336214-984f-0b4b-a45f-81c69e1f0ede

17 years agoadd some more register definition
laforge [Wed, 16 Aug 2006 00:19:51 +0000 (00:19 +0000)]
add some more register definition

git-svn-id: https://svn.gnumonks.org/trunk/librfid@1862 e0336214-984f-0b4b-a45f-81c69e1f0ede

17 years ago- more verbose/precise debug messages
laforge [Wed, 16 Aug 2006 00:19:20 +0000 (00:19 +0000)]
- more verbose/precise debug messages
- don't close usb before closing reader handle

git-svn-id: https://svn.gnumonks.org/trunk/librfid@1861 e0336214-984f-0b4b-a45f-81c69e1f0ede

17 years agoadd interrupt definitions
laforge [Mon, 7 Aug 2006 14:07:33 +0000 (14:07 +0000)]
add interrupt definitions

git-svn-id: https://svn.gnumonks.org/trunk/librfid@1856 e0336214-984f-0b4b-a45f-81c69e1f0ede

17 years agoadd support for new OpenPCD design
laforge [Sun, 23 Jul 2006 18:38:25 +0000 (18:38 +0000)]
add support for new OpenPCD design

git-svn-id: https://svn.gnumonks.org/trunk/librfid@1851 e0336214-984f-0b4b-a45f-81c69e1f0ede

17 years agominor cosmetic cleanup, use macro instead of explicit check
laforge [Fri, 23 Jun 2006 21:47:00 +0000 (21:47 +0000)]
minor cosmetic cleanup, use macro instead of explicit check

git-svn-id: https://svn.gnumonks.org/trunk/librfid@1833 e0336214-984f-0b4b-a45f-81c69e1f0ede

17 years agoadd more debugging about CID/NAD capability of card
laforge [Fri, 23 Jun 2006 21:45:49 +0000 (21:45 +0000)]
add more debugging about CID/NAD capability of card

git-svn-id: https://svn.gnumonks.org/trunk/librfid@1832 e0336214-984f-0b4b-a45f-81c69e1f0ede

17 years agofix TX chaining: Don't use/respect toggle bit (block nr) for S-blocks.
laforge [Fri, 23 Jun 2006 20:26:40 +0000 (20:26 +0000)]
fix TX chaining: Don't use/respect toggle bit (block nr) for S-blocks.

git-svn-id: https://svn.gnumonks.org/trunk/librfid@1831 e0336214-984f-0b4b-a45f-81c69e1f0ede

17 years agoimplement TX side chaining, clean up a lot of spaghetti code
laforge [Wed, 21 Jun 2006 16:45:03 +0000 (16:45 +0000)]
implement TX side chaining, clean up a lot of spaghetti code

git-svn-id: https://svn.gnumonks.org/trunk/librfid@1828 e0336214-984f-0b4b-a45f-81c69e1f0ede

17 years agorespect MTU indicated by low-level driver.
laforge [Wed, 14 Jun 2006 19:47:07 +0000 (19:47 +0000)]
respect MTU indicated by low-level driver.

git-svn-id: https://svn.gnumonks.org/trunk/librfid@1825 e0336214-984f-0b4b-a45f-81c69e1f0ede

17 years agofix tx chaining
laforge [Wed, 14 Jun 2006 19:46:44 +0000 (19:46 +0000)]
fix tx chaining

git-svn-id: https://svn.gnumonks.org/trunk/librfid@1824 e0336214-984f-0b4b-a45f-81c69e1f0ede

17 years agomake sure we never rx/tx frames > 64 bytes because stupid cm5121 is not able to
laforge [Wed, 14 Jun 2006 19:45:26 +0000 (19:45 +0000)]
make sure we never rx/tx frames > 64 bytes because stupid cm5121 is not able to
refill FIFO during rx/tx operation due to latency issues.   This needs to be
put in a reader specific field, rather than an ASIC specific field.

git-svn-id: https://svn.gnumonks.org/trunk/librfid@1823 e0336214-984f-0b4b-a45f-81c69e1f0ede