summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* add missing spidev reader driver (missing from last commit)laforge2008-01-261-0/+389
| | | | git-svn-id: https://svn.gnumonks.org/trunk/librfid@2048 e0336214-984f-0b4b-a45f-81c69e1f0ede
* * Add spidev reader driverlaforge2008-01-262-17/+28
| | | | | | | * restructure automake usage, introduce shared Makefile.flags.am git-svn-id: https://svn.gnumonks.org/trunk/librfid@2047 e0336214-984f-0b4b-a45f-81c69e1f0ede
* mifare classic:laforge2008-01-261-47/+17
| | | | | | | | | * Use the officially specified FWT values * READ4 is only ultralight, not classic. So remove from classic codepath (Frederic RODO) git-svn-id: https://svn.gnumonks.org/trunk/librfid@2046 e0336214-984f-0b4b-a45f-81c69e1f0ede
* update FSF postal address (Jeremy Laine)laforge2008-01-2316-16/+16
| | | | git-svn-id: https://svn.gnumonks.org/trunk/librfid@2041 e0336214-984f-0b4b-a45f-81c69e1f0ede
* Return size of mifare ultralight in bytes, just like other protocols (Robertlaforge2008-01-221-1/+2
| | | | | | | Schlephorst) git-svn-id: https://svn.gnumonks.org/trunk/librfid@2039 e0336214-984f-0b4b-a45f-81c69e1f0ede
* Fix bitfields for big endian platforms (Jeremy Lainé)laforge2008-01-222-18/+7
| | | | git-svn-id: https://svn.gnumonks.org/trunk/librfid@2038 e0336214-984f-0b4b-a45f-81c69e1f0ede
* applied Rainer Kellers fix 'Header missing, define name typo'meri2007-10-291-2/+2
| | | | git-svn-id: https://svn.gnumonks.org/trunk/librfid@2016 e0336214-984f-0b4b-a45f-81c69e1f0ede
* Need stdio.h for fprintfploetz2007-06-101-0/+2
| | | | | | | Add debug output for ATS git-svn-id: https://svn.gnumonks.org/trunk/librfid@2002 e0336214-984f-0b4b-a45f-81c69e1f0ede
* fixed automake/autoconf files to allow clean firmware compilationmeri2007-05-032-5/+3
| | | | git-svn-id: https://svn.gnumonks.org/trunk/librfid@1996 e0336214-984f-0b4b-a45f-81c69e1f0ede
* updated win32 support for MINGW32-compiler/cross-compilermeri2007-05-022-5/+102
| | | | git-svn-id: https://svn.gnumonks.org/trunk/librfid@1990 e0336214-984f-0b4b-a45f-81c69e1f0ede
* added win32 support for MINGW32-compiler/cross-compilermeri2007-04-309-8/+940
| | | | git-svn-id: https://svn.gnumonks.org/trunk/librfid@1989 e0336214-984f-0b4b-a45f-81c69e1f0ede
* fixed ISO 14443A anticollisionmeri2007-04-252-23/+49
| | | | git-svn-id: https://svn.gnumonks.org/trunk/librfid@1988 e0336214-984f-0b4b-a45f-81c69e1f0ede
* Add RFID_OPT_14443A_WUPA to request WUPA instead of REQA (Rainer Keller ↵ploetz2007-03-203-4/+16
| | | | | | <mail@rainerkeller.de>) git-svn-id: https://svn.gnumonks.org/trunk/librfid@1985 e0336214-984f-0b4b-a45f-81c69e1f0ede
* unsigned int -> size_t in some appropriate places.ploetz2007-03-203-9/+9
| | | | | | | Fixes segfaults on x86_64 git-svn-id: https://svn.gnumonks.org/trunk/librfid@1984 e0336214-984f-0b4b-a45f-81c69e1f0ede
* Fix a warning (Rainer Keller <mail@rainerkeller.de>)ploetz2007-03-191-0/+1
| | | | git-svn-id: https://svn.gnumonks.org/trunk/librfid@1983 e0336214-984f-0b4b-a45f-81c69e1f0ede
* Simplify compile options (either --enable-ccid or --enable-openct implies ↵ploetz2007-02-141-13/+7
| | | | | | --enable-reader-cm5121, so that is not needed as an explicit option) (Andreas Jellinghaus <aj@dungeon.inka.de>) git-svn-id: https://svn.gnumonks.org/trunk/librfid@1977 e0336214-984f-0b4b-a45f-81c69e1f0ede
* Fix "key format error" on cm5121 (Pierrick Hascoet ↵ploetz2007-02-141-2/+2
| | | | | | <pierrick.hascoet@hydromel.net>) git-svn-id: https://svn.gnumonks.org/trunk/librfid@1976 e0336214-984f-0b4b-a45f-81c69e1f0ede
* Correctly initialise rx_len in mfcl_write() (Pierrick Hascoet ↵ploetz2007-02-141-1/+1
| | | | | | <pierrick.hascoet@hydromel.net>) git-svn-id: https://svn.gnumonks.org/trunk/librfid@1975 e0336214-984f-0b4b-a45f-81c69e1f0ede
* Fix typo. we don't wand sizeof(sizeof(somethin)) (Rainer Keller ↵laforge2007-01-071-1/+1
| | | | | | <mail@rainerkeller.de>) git-svn-id: https://svn.gnumonks.org/trunk/librfid@1957 e0336214-984f-0b4b-a45f-81c69e1f0ede
* - change --with-openct to --enable-openctlaforge2007-01-062-2/+15
| | | | | | | | | - try to be more intelligent to detect openct library location - add librfid.pc file (pkgconfig) (Andreas Jellinghaus <aj@dungeon.inka.de>) git-svn-id: https://svn.gnumonks.org/trunk/librfid@1955 e0336214-984f-0b4b-a45f-81c69e1f0ede
* include not-installed headers in release tarballs laforge2006-12-291-0/+1
| | | | git-svn-id: https://svn.gnumonks.org/trunk/librfid@1945 e0336214-984f-0b4b-a45f-81c69e1f0ede
* - only link with openct if we need itlaforge2006-12-041-1/+2
| | | | | | | - don't try to build the utilities if we're cross-compiling for in-firmware git-svn-id: https://svn.gnumonks.org/trunk/librfid@1931 e0336214-984f-0b4b-a45f-81c69e1f0ede
* - add size detection for mifare classic / ultralightlaforge2006-12-015-9/+87
| | | | | | | | - 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
* - fix mifare write supportlaforge2006-11-287-22/+381
| | | | | | | | | | - 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
* some preliminary work to get 15693 working (actual implementation still missing)laforge2006-10-251-208/+34
| | | | git-svn-id: https://svn.gnumonks.org/trunk/librfid@1916 e0336214-984f-0b4b-a45f-81c69e1f0ede
* fix conditionals / variable definitions (automake madness)laforge2006-10-231-11/+16
| | | | git-svn-id: https://svn.gnumonks.org/trunk/librfid@1915 e0336214-984f-0b4b-a45f-81c69e1f0ede
* graceful error in case of non-existing reader backend driverlaforge2006-10-231-0/+2
| | | | git-svn-id: https://svn.gnumonks.org/trunk/librfid@1914 e0336214-984f-0b4b-a45f-81c69e1f0ede
* export 14443a initialiation routinelaforge2006-10-151-1/+1
| | | | git-svn-id: https://svn.gnumonks.org/trunk/librfid@1911 e0336214-984f-0b4b-a45f-81c69e1f0ede
* - fix multiple include of rfid_protocol_mifare_classic.h problemlaforge2006-10-154-5/+91
| | | | | | | | | | - 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
* prefix functions of openpcd firmware with 'opcd_' to prevent confusion :)laforge2006-10-141-4/+4
| | | | git-svn-id: https://svn.gnumonks.org/trunk/librfid@1907 e0336214-984f-0b4b-a45f-81c69e1f0ede
* redesign autoconf/automake infrastructure to supportlaforge2006-10-143-8/+25
| | | | | | | | - 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
* - remove prototypes for already-removed _register() functions from headerslaforge2006-10-146-29/+14
| | | | | | | | | - 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
* - separate 'STATIC' (non-dyamic-allocation) from 'FIRMWARE' (no host drivers)laforge2006-10-146-6/+38
| | | | | | | | - 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
* Prepare RFID compilation in firmware modelaforge2006-10-1413-129/+168
| | | | | | | | | | | | | | - 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
* - fix segfault during rfid_scan()laforge2006-10-083-2/+14
| | | | | | | | - 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
* - don't display debug messages during usb bus scanlaforge2006-10-081-3/+0
| | | | git-svn-id: https://svn.gnumonks.org/trunk/librfid@1898 e0336214-984f-0b4b-a45f-81c69e1f0ede
* - use C99 compiler flagslaforge2006-10-078-16/+289
| | | | | | | | | | | - 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
* - make openpcd driver work with most recent openpcd dumbreader firmwarelaforge2006-10-041-5/+6
| | | | | | | | - 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
* add support for multiple [new] usb id's in openct backend driverlaforge2006-09-301-12/+26
| | | | git-svn-id: https://svn.gnumonks.org/trunk/librfid@1892 e0336214-984f-0b4b-a45f-81c69e1f0ede
* fix various compile warnings. code cleanuplaforge2006-09-305-4/+11
| | | | git-svn-id: https://svn.gnumonks.org/trunk/librfid@1891 e0336214-984f-0b4b-a45f-81c69e1f0ede
* memset the size of the structure, rather than the pointer to it. Usually ↵laforge2006-09-221-1/+1
| | | | | | 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
* re-initialize sak rx_len for each cascade level (Henryk Ploetz)laforge2006-09-221-0/+1
| | | | git-svn-id: https://svn.gnumonks.org/trunk/librfid@1885 e0336214-984f-0b4b-a45f-81c69e1f0ede
* update to new (four-byte, explicit response_request flag) revision of ↵laforge2006-09-221-24/+36
| | | | | | openpcd usb protocol git-svn-id: https://svn.gnumonks.org/trunk/librfid@1884 e0336214-984f-0b4b-a45f-81c69e1f0ede
* introduce new debug macro for debugging register-level accesseslaforge2006-09-221-12/+23
| | | | git-svn-id: https://svn.gnumonks.org/trunk/librfid@1883 e0336214-984f-0b4b-a45f-81c69e1f0ede
* - fix treatment of rx_length in low-level transceive routineslaforge2006-08-161-3/+15
| | | | git-svn-id: https://svn.gnumonks.org/trunk/librfid@1870 e0336214-984f-0b4b-a45f-81c69e1f0ede
* ugly workaround to avoid stack overflowlaforge2006-08-161-1/+3
| | | | git-svn-id: https://svn.gnumonks.org/trunk/librfid@1869 e0336214-984f-0b4b-a45f-81c69e1f0ede
* add timer/irq handling, disabledlaforge2006-08-161-4/+119
| | | | git-svn-id: https://svn.gnumonks.org/trunk/librfid@1867 e0336214-984f-0b4b-a45f-81c69e1f0ede
* add some more register definitionlaforge2006-08-161-1/+17
| | | | git-svn-id: https://svn.gnumonks.org/trunk/librfid@1862 e0336214-984f-0b4b-a45f-81c69e1f0ede
* - more verbose/precise debug messageslaforge2006-08-161-13/+10
| | | | | | | - don't close usb before closing reader handle git-svn-id: https://svn.gnumonks.org/trunk/librfid@1861 e0336214-984f-0b4b-a45f-81c69e1f0ede
* add interrupt definitionslaforge2006-08-071-0/+10
| | | | git-svn-id: https://svn.gnumonks.org/trunk/librfid@1856 e0336214-984f-0b4b-a45f-81c69e1f0ede
personal git repositories of Harald Welte. Your mileage may vary