librfid
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

17 years agofix multi-fifo-writes. still doesn't work, I think we have to limit the framesize...
laforge [Wed, 14 Jun 2006 19:18:24 +0000 (19:18 +0000)]
fix multi-fifo-writes.  still doesn't work, I think we have to limit the framesize to 64bytes with the cm5121

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

17 years ago- make timeout more liberal
laforge [Wed, 14 Jun 2006 18:36:28 +0000 (18:36 +0000)]
- make timeout more liberal
- implement fifo refill for transmit/transceive > 64bytes

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

17 years agoremove linux.c
laforge [Wed, 14 Jun 2006 16:39:55 +0000 (16:39 +0000)]
remove linux.c

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

17 years agoadd send_script program
laforge [Wed, 14 Jun 2006 16:39:16 +0000 (16:39 +0000)]
add send_script program

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

17 years agos/transcieve/transceive/g (Henryk Ploetz)
laforge [Tue, 13 Jun 2006 09:55:09 +0000 (09:55 +0000)]
s/transcieve/transceive/g (Henryk Ploetz)

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

17 years agoincreased SNDBUF_SIZE to prevent overflow
laforge [Tue, 13 Jun 2006 09:48:29 +0000 (09:48 +0000)]
increased SNDBUF_SIZE to prevent overflow

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

17 years agopatch introduces -ETIMEDOUT as an error return code in case of
laforge [Tue, 13 Jun 2006 09:34:48 +0000 (09:34 +0000)]
patch introduces -ETIMEDOUT as an error return code in case of
timeout. (For *_close it's important to distinguish between 'real'
errors and timeout.) (Henryk Ploetz)

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

17 years agoFix mifare authentication for multiple blocks
laforge [Tue, 13 Jun 2006 09:32:06 +0000 (09:32 +0000)]
Fix mifare authentication for multiple blocks

Around line 1320 in rfid_asic_rc632.c the CRYPTO1 bit in the
RC632 is disabled. The RC632 docs state that this bit can only be set
by a successfull AUTHENT2 command, but may be cleared by the user to
disable encryption thereafter (but they don't say why anyone would want
to do that). (Henryk Ploetz)

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

17 years agoadd error checking to T=CL test program
laforge [Sat, 27 May 2006 18:31:58 +0000 (18:31 +0000)]
add error checking to T=CL test program

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

17 years agoadd some very rudimentary timeout handling, i.e. abort if there is no response. toler...
laforge [Sat, 27 May 2006 18:31:36 +0000 (18:31 +0000)]
add some very rudimentary timeout handling, i.e. abort if there is no response. tolerance = 10000%

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

17 years agouse block number, not sector (Henryk Ploetz)
laforge [Sat, 27 May 2006 18:26:11 +0000 (18:26 +0000)]
use block number, not sector (Henryk Ploetz)

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

17 years agoadd information about our own udev rules file to README
laforge [Sat, 27 May 2006 18:05:40 +0000 (18:05 +0000)]
add information about our own udev rules file to README

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

17 years agoadd udev rules
laforge [Sat, 27 May 2006 18:02:30 +0000 (18:02 +0000)]
add udev rules

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

17 years agoadd openct patch
laforge [Sat, 27 May 2006 17:51:47 +0000 (17:51 +0000)]
add openct patch

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

17 years agoupdate readme
laforge [Sat, 27 May 2006 17:46:58 +0000 (17:46 +0000)]
update readme

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

17 years agoadd support for commandline protocol specification
laforge [Sat, 27 May 2006 17:44:47 +0000 (17:44 +0000)]
add support for commandline protocol specification

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

17 years agorename openct-escape into librfid-tool
laforge [Sat, 27 May 2006 16:55:12 +0000 (16:55 +0000)]
rename openct-escape into librfid-tool

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

17 years agoadd some more mifare classic related code
laforge [Sat, 27 May 2006 16:09:08 +0000 (16:09 +0000)]
add some more mifare classic related code

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

17 years agofix conditional compilation of internal CCID driver
laforge [Sat, 27 May 2006 16:06:18 +0000 (16:06 +0000)]
fix conditional compilation of internal CCID driver

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

17 years agomove ccid direct backend to subdirectory
laforge [Sat, 27 May 2006 14:28:27 +0000 (14:28 +0000)]
move ccid direct backend to subdirectory

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

17 years agofix include path
laforge [Sat, 27 May 2006 14:27:19 +0000 (14:27 +0000)]
fix include path

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

17 years agomove ccid driver to correct directory
laforge [Sat, 27 May 2006 14:20:29 +0000 (14:20 +0000)]
move ccid driver to correct directory

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

18 years agofix CCID PC_to_RDR_escape (Werner Koch)
laforge [Mon, 2 Jan 2006 16:50:49 +0000 (16:50 +0000)]
fix CCID PC_to_RDR_escape (Werner Koch)

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

18 years agoadd configure.in
laforge [Thu, 8 Dec 2005 05:45:34 +0000 (05:45 +0000)]
add configure.in

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

18 years agoit's 89C5122, not 98C5122 (Paul Stewart)
laforge [Sat, 3 Dec 2005 04:34:08 +0000 (04:34 +0000)]
it's 89C5122, not 98C5122 (Paul Stewart)

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

18 years agocleanup
laforge [Tue, 8 Nov 2005 22:00:44 +0000 (22:00 +0000)]
cleanup

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

18 years agocleanup
laforge [Tue, 8 Nov 2005 21:28:43 +0000 (21:28 +0000)]
cleanup

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

18 years agodisable 848k since it's unstable
laforge [Tue, 8 Nov 2005 17:15:06 +0000 (17:15 +0000)]
disable 848k since it's unstable

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

18 years ago- disable debug statements
laforge [Tue, 8 Nov 2005 16:25:57 +0000 (16:25 +0000)]
- disable debug statements
- cleanly initialize pps[2]

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