librfid
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

18 years agocosmetic issues (linewrap)
laforge [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
laforge [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
laforge [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
laforge [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
laforge [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
laforge [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
laforge [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
laforge [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
laforge [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
laforge [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
laforge [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
laforge [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
laforge [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
laforge [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
laforge [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
laforge [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
laforge [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...
laforge [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
laforge [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
laforge [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)
laforge [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
laforge [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)
laforge [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
laforge [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
laforge [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
laforge [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
laforge [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
laforge [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
laforge [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
laforge [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
laforge [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
laforge [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
laforge [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
laforge [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 ;)
laforge [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)
laforge [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
laforge [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)
laforge [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)
laforge [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
laforge [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)
laforge [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
laforge [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
laforge [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...
laforge [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
laforge [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
laforge [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
laforge [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

18 years agoSome cosmetic changes (Juergen Heinzl)
laforge [Sun, 11 Sep 2005 19:58:00 +0000 (19:58 +0000)]
Some cosmetic changes (Juergen Heinzl)

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

18 years ago- start 15693 implementation
laforge [Tue, 14 Jun 2005 12:41:42 +0000 (12:41 +0000)]
- start 15693 implementation
- build a real library (librfid.a)

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

18 years agoupdate of TODO list
laforge [Mon, 13 Jun 2005 09:20:05 +0000 (09:20 +0000)]
update of TODO list

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

18 years agoselect_mf() and get_challenge() to test whether T=CL layer is working
laforge [Mon, 13 Jun 2005 09:19:51 +0000 (09:19 +0000)]
select_mf() and get_challenge() to test whether T=CL layer is working

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

18 years ago- add support for toggle bit
laforge [Mon, 13 Jun 2005 09:19:02 +0000 (09:19 +0000)]
- add support for toggle bit
- full implementation of ACK / chaining for both Rx and Tx

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

18 years agoshuffle structure elements to cope with atr[0]
laforge [Mon, 13 Jun 2005 09:17:31 +0000 (09:17 +0000)]
shuffle structure elements to cope with atr[0]

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

18 years agoadd speed information to data structures
laforge [Mon, 13 Jun 2005 09:17:05 +0000 (09:17 +0000)]
add speed information to data structures

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

18 years agopoewr down RC632 before powering it up to ensure all PICC's are reset in open()
laforge [Mon, 13 Jun 2005 09:16:39 +0000 (09:16 +0000)]
poewr down RC632 before powering it up to ensure all PICC's are reset in open()

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

18 years agosome more reader-related debugging
laforge [Mon, 13 Jun 2005 09:15:33 +0000 (09:15 +0000)]
some more reader-related debugging

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

18 years agoadd gpl disclaimers
laforge [Sun, 29 May 2005 18:21:58 +0000 (18:21 +0000)]
add gpl disclaimers

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