librfid
17 years ago- make openpcd driver work with most recent openpcd dumbreader firmware
Harald Welte [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
Harald Welte [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
Harald Welte [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
Harald Welte [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...
Harald Welte [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)
Harald Welte [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...
Harald Welte [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
Harald Welte [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
Harald Welte [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
Harald Welte [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
Harald Welte [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
Harald Welte [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
Harald Welte [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
Harald Welte [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
Harald Welte [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
Harald Welte [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
Harald Welte [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
Harald Welte [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
Harald Welte [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.
Harald Welte [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
Harald Welte [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.
Harald Welte [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
Harald Welte [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
Harald Welte [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...
Harald Welte [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
Harald Welte [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
Harald Welte [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
Harald Welte [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)
Harald Welte [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
Harald Welte [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
Harald Welte [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
Harald Welte [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
Harald Welte [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...
Harald Welte [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)
Harald Welte [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
Harald Welte [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
Harald Welte [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
Harald Welte [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
Harald Welte [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
Harald Welte [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
Harald Welte [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
Harald Welte [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
Harald Welte [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
Harald Welte [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
Harald Welte [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
Harald Welte [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)
Harald Welte [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
Harald Welte [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)
Harald Welte [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
Harald Welte [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
Harald Welte [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
Harald Welte [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
Harald Welte [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

18 years agocosmetic issues (linewrap)
Harald Welte [Tue, 8 Nov 2005 13:40:23 +0000 (13:40 +0000)]
cosmetic issues (linewrap)

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

18 years agoadd our own hexdump routine, since somehow it doesn't work if
Harald Welte [Tue, 8 Nov 2005 13:40:06 +0000 (13:40 +0000)]
add our own hexdump routine, since somehow it doesn't work if
rfid_hexdump() returns a pointer to a static buffer.  !?!

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

18 years agomove include directory for pkginclude compliance
Harald Welte [Tue, 8 Nov 2005 13:04:32 +0000 (13:04 +0000)]
move include directory for pkginclude compliance

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

18 years agoimplement and test baud rates of up to 848k
Harald Welte [Tue, 8 Nov 2005 12:19:38 +0000 (12:19 +0000)]
implement and test baud rates of up to 848k

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

18 years ago- better layering abstraciton
Harald Welte [Tue, 8 Nov 2005 10:34:18 +0000 (10:34 +0000)]
- better layering abstraciton
- differentiate between library internal definitions and public ones
- implement getopt/setopt like get/setsockopt
- offer speed changing controls

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

18 years agoadd -EPERM return in case of missing authentication
Harald Welte [Tue, 8 Nov 2005 09:14:06 +0000 (09:14 +0000)]
add -EPERM return in case of missing authentication

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

18 years agomake library work after autoconf migration
Harald Welte [Tue, 8 Nov 2005 08:40:31 +0000 (08:40 +0000)]
make library work after autoconf migration

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

18 years agouse new name for default mfcl key
Harald Welte [Tue, 8 Nov 2005 08:37:02 +0000 (08:37 +0000)]
use new name for default mfcl key

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

18 years agouse autoconf/automake
Harald Welte [Tue, 8 Nov 2005 08:34:15 +0000 (08:34 +0000)]
use autoconf/automake

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

18 years agofix mifare frame crc
Harald Welte [Tue, 8 Nov 2005 08:20:20 +0000 (08:20 +0000)]
fix mifare frame crc

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

18 years agoadd infineon mifare default keys
Harald Welte [Tue, 8 Nov 2005 08:19:15 +0000 (08:19 +0000)]
add infineon mifare default keys

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

18 years ago- move command definitions to a dedicated header file
Harald Welte [Tue, 8 Nov 2005 00:14:01 +0000 (00:14 +0000)]
- move command definitions to a dedicated header file
- add lots of undocumented commands
- clean up makefile

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

18 years agoadd some rude code for pegoda mifare classic operation
Harald Welte [Mon, 7 Nov 2005 23:03:33 +0000 (23:03 +0000)]
add some rude code for pegoda mifare classic operation

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

18 years agoremove debugging
Harald Welte [Tue, 1 Nov 2005 17:58:09 +0000 (17:58 +0000)]
remove debugging

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

18 years agoremove debugging
Harald Welte [Tue, 1 Nov 2005 17:57:57 +0000 (17:57 +0000)]
remove debugging

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

18 years agoincrease send buffer to 100 bytes
Harald Welte [Tue, 1 Nov 2005 17:57:46 +0000 (17:57 +0000)]
increase send buffer to 100 bytes

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

18 years agofix usage of handle
Harald Welte [Sat, 29 Oct 2005 20:51:19 +0000 (20:51 +0000)]
fix usage of handle

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

18 years agoAdd support for native CCID driver, modularize OpenCT support (based on a patch from...
Harald Welte [Sat, 29 Oct 2005 20:42:34 +0000 (20:42 +0000)]
Add support for native CCID driver, modularize OpenCT support (based on a patch from Werner Koch)

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

18 years agoremove items that are done
Harald Welte [Sat, 29 Oct 2005 20:24:54 +0000 (20:24 +0000)]
remove items that are done

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

18 years agoremove dead code
Harald Welte [Sat, 29 Oct 2005 20:24:35 +0000 (20:24 +0000)]
remove dead code

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

18 years agoadd CCID driver (Werner Koch)
Harald Welte [Sat, 29 Oct 2005 20:14:22 +0000 (20:14 +0000)]
add CCID driver (Werner Koch)

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

18 years agotodo update
Harald Welte [Mon, 24 Oct 2005 14:27:30 +0000 (14:27 +0000)]
todo update

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

18 years ago- fix CRC issue (cl632 now removes crc from end of frame)
Harald Welte [Sun, 23 Oct 2005 22:29:08 +0000 (22:29 +0000)]
- fix CRC issue (cl632 now removes crc from end of frame)
- make TCL implementation use correct frame type for both 14443a/b

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

18 years agofix AID of MRTD app
Harald Welte [Sun, 23 Oct 2005 22:28:13 +0000 (22:28 +0000)]
fix AID of MRTD app

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

18 years ago- handle reception of chained frames correctly
Harald Welte [Sun, 23 Oct 2005 22:01:39 +0000 (22:01 +0000)]
- handle reception of chained frames correctly
- workaround to RC632 problem: asic doesn't remove crc bytes at end of frame ?!?

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

18 years agomake "frametype" a parameter of transcieve functions
Harald Welte [Sun, 23 Oct 2005 20:03:56 +0000 (20:03 +0000)]
make "frametype" a parameter of transcieve functions

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

18 years ago- add mifare classic support
Harald Welte [Sat, 22 Oct 2005 20:20:21 +0000 (20:20 +0000)]
- add mifare classic support
- move uid/pupi from l2 private data into l2 global data
- various cleanups

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

18 years agocleanup
Harald Welte [Sat, 22 Oct 2005 18:31:59 +0000 (18:31 +0000)]
cleanup

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

18 years agoadd convenience functions to set lock bits
Harald Welte [Sat, 22 Oct 2005 18:12:48 +0000 (18:12 +0000)]
add convenience functions to set lock bits

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

18 years agomifare ultraligh have pages 0-15, not only 0-7
Harald Welte [Sat, 22 Oct 2005 17:55:57 +0000 (17:55 +0000)]
mifare ultraligh have pages 0-15, not only 0-7

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

18 years agotesting for mifare ultralight
Harald Welte [Sat, 22 Oct 2005 17:21:53 +0000 (17:21 +0000)]
testing for mifare ultralight

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

18 years agoadd support for mifare ultralight
Harald Welte [Sat, 22 Oct 2005 17:21:36 +0000 (17:21 +0000)]
add support for mifare ultralight

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

18 years ago- move some initialization of proto handle from _tcl to core
Harald Welte [Sat, 22 Oct 2005 17:20:47 +0000 (17:20 +0000)]
- move some initialization of proto handle from _tcl to core
- read_len is actually a pointer to the value

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

18 years agoadd some known vendor codes
Harald Welte [Sat, 22 Oct 2005 17:18:57 +0000 (17:18 +0000)]
add some known vendor codes

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

18 years agofirst read the register, then print it. not the other way around ;)
Harald Welte [Sat, 22 Oct 2005 17:18:25 +0000 (17:18 +0000)]
first read the register, then print it. not the other way around ;)

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

18 years agoadd mifare ultralight support (incomplete)
Harald Welte [Thu, 20 Oct 2005 20:15:49 +0000 (20:15 +0000)]
add mifare ultralight support (incomplete)

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

18 years agofix chaining in Rx case
Harald Welte [Thu, 13 Oct 2005 12:53:05 +0000 (12:53 +0000)]
fix chaining in Rx case

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

18 years agorfid_reader_close() is "void" (Juergen Heinzl)
Harald Welte [Tue, 13 Sep 2005 12:14:57 +0000 (12:14 +0000)]
rfid_reader_close() is "void" (Juergen Heinzl)

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

18 years agoCRC_RX|CRC_TX, not twice TX (Juergen Heinzl)
Harald Welte [Tue, 13 Sep 2005 12:14:06 +0000 (12:14 +0000)]
CRC_RX|CRC_TX, not twice TX (Juergen Heinzl)

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

18 years agoupdate todo
Harald Welte [Sun, 11 Sep 2005 20:02:58 +0000 (20:02 +0000)]
update todo

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

18 years agofix WUPB/REQB handling (Juergen Heinzl)
Harald Welte [Sun, 11 Sep 2005 20:01:03 +0000 (20:01 +0000)]
fix WUPB/REQB handling (Juergen Heinzl)

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

18 years agoImplement 14443-4 (T=CL) PPS
Harald Welte [Sun, 11 Sep 2005 20:00:36 +0000 (20:00 +0000)]
Implement 14443-4 (T=CL) PPS

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

18 years agofix some TCL / ISO14443B interaction on FWT
Harald Welte [Sun, 11 Sep 2005 20:00:19 +0000 (20:00 +0000)]
fix some TCL / ISO14443B interaction on FWT

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

18 years agouse 64bit timeout values throughout the code, since some timeouts exceeds 4.8 billion...
Harald Welte [Sun, 11 Sep 2005 19:59:58 +0000 (19:59 +0000)]
use 64bit timeout values throughout the code, since some timeouts exceeds 4.8 billion microseconds (seconds).

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

18 years agoAs Juergen Heinzl pointed out, much of my original fwi calculations evaluated
Harald Welte [Sun, 11 Sep 2005 19:59:05 +0000 (19:59 +0000)]
As Juergen Heinzl pointed out, much of my original fwi calculations evaluated
to zero due to the integer range limitations.  shifting everything to the microsecond
range should solve this problem without introducing ugly floating point arithmetics.

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

18 years agoChange RX_WAIT to reset default instead of omnikey proprietary driver value
Harald Welte [Sun, 11 Sep 2005 19:58:39 +0000 (19:58 +0000)]
Change RX_WAIT to reset default instead of omnikey proprietary driver value

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

18 years agoSome updates and remarks referring to mc073930.pdf (Errata?) by Juergen Heinzl
Harald Welte [Sun, 11 Sep 2005 19:58:20 +0000 (19:58 +0000)]
Some updates and remarks referring to mc073930.pdf (Errata?) by Juergen Heinzl

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