librfid
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

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