Commit Graph

33 Commits

Author SHA1 Message Date
laforge 685d1c4a5a * Add spidev reader driver
* restructure automake usage, introduce shared Makefile.flags.am


git-svn-id: https://svn.gnumonks.org/trunk/librfid@2047 e0336214-984f-0b4b-a45f-81c69e1f0ede
2008-01-26 19:23:54 +00:00
laforge 237c7f9e9d Fix bitfields for big endian platforms (Jeremy Lainé)
git-svn-id: https://svn.gnumonks.org/trunk/librfid@2038 e0336214-984f-0b4b-a45f-81c69e1f0ede
2008-01-22 15:45:50 +00:00
meri 3e18d7e682 applied Rainer Kellers fix 'Header missing, define name typo'
git-svn-id: https://svn.gnumonks.org/trunk/librfid@2016 e0336214-984f-0b4b-a45f-81c69e1f0ede
2007-10-29 01:23:36 +00:00
ploetz 76035dde43 Need stdio.h for fprintf
Add debug output for ATS


git-svn-id: https://svn.gnumonks.org/trunk/librfid@2002 e0336214-984f-0b4b-a45f-81c69e1f0ede
2007-06-10 03:02:41 +00:00
meri 855cc21b1a updated win32 support for MINGW32-compiler/cross-compiler
git-svn-id: https://svn.gnumonks.org/trunk/librfid@1990 e0336214-984f-0b4b-a45f-81c69e1f0ede
2007-05-02 01:46:14 +00:00
meri 1870e3694d added win32 support for MINGW32-compiler/cross-compiler
git-svn-id: https://svn.gnumonks.org/trunk/librfid@1989 e0336214-984f-0b4b-a45f-81c69e1f0ede
2007-04-30 18:39:18 +00:00
meri 8a68898b07 Added new function codes
git-svn-id: https://svn.gnumonks.org/trunk/librfid@1987 e0336214-984f-0b4b-a45f-81c69e1f0ede
2007-04-03 20:17:25 +00:00
ploetz 93ffaaefec Add RFID_OPT_14443A_WUPA to request WUPA instead of REQA (Rainer Keller <mail@rainerkeller.de>)
git-svn-id: https://svn.gnumonks.org/trunk/librfid@1985 e0336214-984f-0b4b-a45f-81c69e1f0ede
2007-03-20 00:47:12 +00:00
ploetz 9a8dbae5c7 unsigned int -> size_t in some appropriate places.
Fixes segfaults on x86_64


git-svn-id: https://svn.gnumonks.org/trunk/librfid@1984 e0336214-984f-0b4b-a45f-81c69e1f0ede
2007-03-20 00:16:22 +00:00
laforge 38bb1c4c01 make rfid_frametype public, since it is used by public function definitions in rfid_reader.h
git-svn-id: https://svn.gnumonks.org/trunk/librfid@1958 e0336214-984f-0b4b-a45f-81c69e1f0ede
2007-01-09 21:45:45 +00:00
laforge d7650b956f Porting librfid on ARM, I got trouble using 14443B due to alignment issue. This
patch fix it. (Pierrick Hascoet <pierrick@hydromel.net>)


git-svn-id: https://svn.gnumonks.org/trunk/librfid@1954 e0336214-984f-0b4b-a45f-81c69e1f0ede
2007-01-06 13:40:55 +00:00
laforge f0a3a3f8c4 - add size detection for mifare classic / ultralight
- add possibility to obtain ATQA via getopt
- fix default -EINVAL return of tcl getopt


git-svn-id: https://svn.gnumonks.org/trunk/librfid@1930 e0336214-984f-0b4b-a45f-81c69e1f0ede
2006-12-01 13:29:00 +00:00
laforge 8b39e78b9d disable debugging by default
git-svn-id: https://svn.gnumonks.org/trunk/librfid@1929 e0336214-984f-0b4b-a45f-81c69e1f0ede
2006-11-28 18:02:14 +00:00
laforge 2da53a43ba - fix mifare write support
- make mifare auth more reliable
- add mifare permission / access bit en/decoding
- some more 15693 bits
- add new 'mifare-tool' program


git-svn-id: https://svn.gnumonks.org/trunk/librfid@1928 e0336214-984f-0b4b-a45f-81c69e1f0ede
2006-11-28 10:06:24 +00:00
laforge bbb902ddc9 some preliminary work to get 15693 working (actual implementation still missing)
git-svn-id: https://svn.gnumonks.org/trunk/librfid@1916 e0336214-984f-0b4b-a45f-81c69e1f0ede
2006-10-25 23:33:06 +00:00
laforge 29063ce3c9 remove unused 'next' pointers
git-svn-id: https://svn.gnumonks.org/trunk/librfid@1912 e0336214-984f-0b4b-a45f-81c69e1f0ede
2006-10-18 14:49:24 +00:00
laforge 7f44cae7c1 - 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
2006-10-15 19:17:22 +00:00
laforge 966a8e3acc redirect DEBUGP to 'debugp' function inside openpcd firmware
git-svn-id: https://svn.gnumonks.org/trunk/librfid@1909 e0336214-984f-0b4b-a45f-81c69e1f0ede
2006-10-14 21:51:24 +00:00
laforge 6bc8adf40b 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
2006-10-14 18:53:50 +00:00
laforge 36751e15b8 - 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
2006-10-14 15:22:36 +00:00
laforge 9ce76f0941 - 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
2006-10-14 15:04:10 +00:00
laforge e404cccecd 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
2006-10-14 12:34:38 +00:00
laforge 6e87a00752 - 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
2006-10-08 01:05:50 +00:00
laforge fe4ffab6d9 - 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
2006-10-07 20:55:16 +00:00
laforge 7829a04b91 fix various compile warnings. code cleanup
git-svn-id: https://svn.gnumonks.org/trunk/librfid@1891 e0336214-984f-0b4b-a45f-81c69e1f0ede
2006-09-30 13:26:32 +00:00
laforge 341afde582 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
2006-09-22 20:56:54 +00:00
laforge b80d2b99aa use attribute(packed) where apropriate
git-svn-id: https://svn.gnumonks.org/trunk/librfid@1868 e0336214-984f-0b4b-a45f-81c69e1f0ede
2006-08-16 22:07:54 +00:00
laforge 96c3aa17bc add some definitions on ISO144443A frame waiting time
git-svn-id: https://svn.gnumonks.org/trunk/librfid@1863 e0336214-984f-0b4b-a45f-81c69e1f0ede
2006-08-16 00:20:28 +00:00
laforge 91f920e0d3 add support for new OpenPCD design
git-svn-id: https://svn.gnumonks.org/trunk/librfid@1851 e0336214-984f-0b4b-a45f-81c69e1f0ede
2006-07-23 18:38:25 +00:00
laforge 7a398f0b12 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
2006-06-23 20:26:40 +00:00
laforge 2e5b78aa3b s/transcieve/transceive/g (Henryk Ploetz)
git-svn-id: https://svn.gnumonks.org/trunk/librfid@1817 e0336214-984f-0b4b-a45f-81c69e1f0ede
2006-06-13 09:55:09 +00:00
laforge 1016f644a1 - disable debug statements
- cleanly initialize pps[2]


git-svn-id: https://svn.gnumonks.org/trunk/librfid@1672 e0336214-984f-0b4b-a45f-81c69e1f0ede
2005-11-08 16:25:57 +00:00
laforge 1fcc35aad6 move include directory for pkginclude compliance
git-svn-id: https://svn.gnumonks.org/trunk/librfid@1664 e0336214-984f-0b4b-a45f-81c69e1f0ede
2005-11-08 13:04:32 +00:00