librfid
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

18 years agoSome cosmetic changes (Juergen Heinzl)
Harald Welte [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
Harald Welte [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
Harald Welte [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
Harald Welte [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
Harald Welte [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]
Harald Welte [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
Harald Welte [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()
Harald Welte [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
Harald Welte [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
Harald Welte [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

18 years agomove librfid to new location in repository
Harald Welte [Sun, 29 May 2005 18:05:31 +0000 (18:05 +0000)]
move librfid to new location in repository

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