summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* RC632: don't use RFID_14443A_SPEED_???K to index linear arrayHEADmasterHarald Welte2011-04-081-4/+4
| | | | | | | | The RFID_14443A_SPEED_???K are defined as 0x01, 0x02, 0x04, 0x08 to allow for bitmasks, thus we cannot directly use them to index an array. Instead we now use named array initializers Thanks to Gianni Tedesco for spotting this.
* The copyright on the SPIDEV driver has been transferred to HaraldHarald Welte2010-10-251-1/+2
| | | | | On May 5, 2010, Frederic Rodo of TIL Technologies has transferred the copyright of the SPIDEV driver to Harald Welte
* Note that ISO15693 contributions by Bjoern Riemer are now (C) Harald WelteHarald Welte2010-10-251-2/+4
| | | | | | Bjoern was working for Fraunhofer at the time he wrote the code, so they actually own the copyright. The rights have been transferred to Harald in September 2010.
* add gitignore filesHarald Welte2010-05-051-0/+2
|
* fix compiler warningslaforge2008-05-241-2/+4
| | | | git-svn-id: https://svn.gnumonks.org/trunk/librfid@2107 e0336214-984f-0b4b-a45f-81c69e1f0ede
* Add WRITE support for ISO15693 (Bjoern Riemer)laforge2008-05-242-46/+221
| | | | git-svn-id: https://svn.gnumonks.org/trunk/librfid@2106 e0336214-984f-0b4b-a45f-81c69e1f0ede
* add CRC check to ISO15693 (Bjoern Riemer)laforge2008-05-241-2/+4
| | | | git-svn-id: https://svn.gnumonks.org/trunk/librfid@2104 e0336214-984f-0b4b-a45f-81c69e1f0ede
* remove extra reads of primary status register (Bjoern Riemer)laforge2008-05-241-4/+0
| | | | git-svn-id: https://svn.gnumonks.org/trunk/librfid@2103 e0336214-984f-0b4b-a45f-81c69e1f0ede
* * use RC632_CMD_IDLE instead of 0x00 to improve readabilitylaforge2008-05-241-2/+1
| | | | | | | * don't write to read-only ERROR_FLAG register (Mate Soos) git-svn-id: https://svn.gnumonks.org/trunk/librfid@2102 e0336214-984f-0b4b-a45f-81c69e1f0ede
* Follow-up fixes for IRQ/ERR bitmaks mess (Bjoern Riemer) Patch 011laforge2008-05-242-7/+39
| | | | git-svn-id: https://svn.gnumonks.org/trunk/librfid@2101 e0336214-984f-0b4b-a45f-81c69e1f0ede
* * Fix the STATUS register bit definitions foer STAT_{ERR,IRQ} (Bjoern Riemer)laforge2008-05-241-2/+2
| | | | git-svn-id: https://svn.gnumonks.org/trunk/librfid@2100 e0336214-984f-0b4b-a45f-81c69e1f0ede
* add anticollision support for iso15693 and use correct mask_len (Bjoern Riemer)laforge2008-02-241-22/+91
| | | | git-svn-id: https://svn.gnumonks.org/trunk/librfid@2088 e0336214-984f-0b4b-a45f-81c69e1f0ede
* implement SELECT command for ISO15693 (Bjoern Riemer)laforge2008-02-241-14/+24
| | | | git-svn-id: https://svn.gnumonks.org/trunk/librfid@2087 e0336214-984f-0b4b-a45f-81c69e1f0ede
* add function to set mifare key from internal eepromlaforge2008-02-247-0/+65
| | | | git-svn-id: https://svn.gnumonks.org/trunk/librfid@2086 e0336214-984f-0b4b-a45f-81c69e1f0ede
* finish eeprom read/write implementations for RC632laforge2008-02-081-10/+65
| | | | git-svn-id: https://svn.gnumonks.org/trunk/librfid@2084 e0336214-984f-0b4b-a45f-81c69e1f0ede
* add ISO15693 stay_quiet (close) support (Bjoern Riemer)laforge2008-02-081-3/+73
| | | | git-svn-id: https://svn.gnumonks.org/trunk/librfid@2082 e0336214-984f-0b4b-a45f-81c69e1f0ede
* use DEBUGP, not printf (Bjoern Riemer)laforge2008-02-081-2/+2
| | | | git-svn-id: https://svn.gnumonks.org/trunk/librfid@2081 e0336214-984f-0b4b-a45f-81c69e1f0ede
* add missing semicolonlaforge2008-02-081-1/+1
| | | | git-svn-id: https://svn.gnumonks.org/trunk/librfid@2080 e0336214-984f-0b4b-a45f-81c69e1f0ede
* fix typo in 15693 AFI setopt implementation (Bjoern Riemer)laforge2008-02-081-1/+1
| | | | git-svn-id: https://svn.gnumonks.org/trunk/librfid@2079 e0336214-984f-0b4b-a45f-81c69e1f0ede
* fix bugs for optlen setting in layer2_Getopt of iso14443a (Uwe Hermann)laforge2008-02-081-1/+3
| | | | git-svn-id: https://svn.gnumonks.org/trunk/librfid@2076 e0336214-984f-0b4b-a45f-81c69e1f0ede
* disable debug in the default compile (Uwe Hermann)laforge2008-02-083-7/+2
| | | | git-svn-id: https://svn.gnumonks.org/trunk/librfid@2074 e0336214-984f-0b4b-a45f-81c69e1f0ede
* add (preliminary?) SAK based detection of mifare mini.laforge2008-02-072-4/+17
| | | | git-svn-id: https://svn.gnumonks.org/trunk/librfid@2073 e0336214-984f-0b4b-a45f-81c69e1f0ede
* * add rfid_reader_rc632_common.h to noinst_HEADERSlaforge2008-02-041-1/+2
| | | | git-svn-id: https://svn.gnumonks.org/trunk/librfid@2068 e0336214-984f-0b4b-a45f-81c69e1f0ede
* * implement rfid_reader_{get,set}opt()laforge2008-01-2912-773/+939
| | | | | | | | | | | | | | | | | | | * move get/set environment and get firmware api version to reader_{get,set}opt() * merge rc632 power_up and power_down functions in new power function * merge rc632 layer 2 protocol init functions into one * rename parameters of rfid_layer2_{get,set}opt() * move rf_power() function of reader to new setopt() interface * merge reader layer 2 protocol init functiosn into one * move most of the iso15693 anticol implementation from asic into layer2 code * make most iso15693 parameters configurable via layer2_{get,set}opt() * implement AFI for iso15693 inventory request * introduce new generic 'rc632 asic based reader' functions * use those functions from openpcd, cm5121 and spidev readers * use new register initialization script data structure for rc632 init functions * TODO update git-svn-id: https://svn.gnumonks.org/trunk/librfid@2064 e0336214-984f-0b4b-a45f-81c69e1f0ede
* * fix length of mifare classic blocklaforge2008-01-291-1/+32
| | | | | | | * add mifare classic block/sector conversion functions git-svn-id: https://svn.gnumonks.org/trunk/librfid@2062 e0336214-984f-0b4b-a45f-81c69e1f0ede
* partial ISO15693 support (based on patch by Bjoern Kaiser)laforge2008-01-2711-190/+935
| | | | git-svn-id: https://svn.gnumonks.org/trunk/librfid@2057 e0336214-984f-0b4b-a45f-81c69e1f0ede
* * improve scanning support:laforge2008-01-275-21/+56
| | | | | | | | | | | | ** first try REQA/HLTA/REQA/HLTA until no more tags found ** then power off the field and start from the beginning again * add proper RF field on/off switching support to all readers * reduce timer to actual value, don't multiply by 10 * detect collisions during transceive_sf (ATQA) * make UID length depend on cascade level, not ATQA git-svn-id: https://svn.gnumonks.org/trunk/librfid@2056 e0336214-984f-0b4b-a45f-81c69e1f0ede
* cosmetic coding style fixes laforge2008-01-262-19/+20
| | | | git-svn-id: https://svn.gnumonks.org/trunk/librfid@2055 e0336214-984f-0b4b-a45f-81c69e1f0ede
* coding style fixeslaforge2008-01-261-10/+7
| | | | git-svn-id: https://svn.gnumonks.org/trunk/librfid@2054 e0336214-984f-0b4b-a45f-81c69e1f0ede
* always compile the rfid_hexdump() function, since DEBUG_LIBRFID might be ↵laforge2008-01-261-2/+0
| | | | | | defined only locally and not for the entire project git-svn-id: https://svn.gnumonks.org/trunk/librfid@2053 e0336214-984f-0b4b-a45f-81c69e1f0ede
* fix more compiler warnings, based on a patch by Rainer Kellerlaforge2008-01-264-7/+7
| | | | git-svn-id: https://svn.gnumonks.org/trunk/librfid@2052 e0336214-984f-0b4b-a45f-81c69e1f0ede
* * support for mingw (Petr Stetiar)laforge2008-01-261-1/+1
| | | | git-svn-id: https://svn.gnumonks.org/trunk/librfid@2051 e0336214-984f-0b4b-a45f-81c69e1f0ede
* * add missing header files to distributed tarballlaforge2008-01-261-2/+2
| | | | | | | * bump revision number to 0.2.0 (not yet released) git-svn-id: https://svn.gnumonks.org/trunk/librfid@2049 e0336214-984f-0b4b-a45f-81c69e1f0ede
* 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
personal git repositories of Harald Welte. Your mileage may vary