summaryrefslogtreecommitdiff
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* Follow-up fixes for IRQ/ERR bitmaks mess (Bjoern Riemer) Patch 011laforge2008-05-241-3/+3
| | | | git-svn-id: https://svn.gnumonks.org/trunk/librfid@2101 e0336214-984f-0b4b-a45f-81c69e1f0ede
* add function to set mifare key from internal eepromlaforge2008-02-242-0/+3
| | | | git-svn-id: https://svn.gnumonks.org/trunk/librfid@2086 e0336214-984f-0b4b-a45f-81c69e1f0ede
* Add declaration of rc632_register_dump() laforge2008-02-081-0/+1
| | | | git-svn-id: https://svn.gnumonks.org/trunk/librfid@2077 e0336214-984f-0b4b-a45f-81c69e1f0ede
* add (preliminary?) SAK based detection of mifare mini.laforge2008-02-071-0/+2
| | | | git-svn-id: https://svn.gnumonks.org/trunk/librfid@2073 e0336214-984f-0b4b-a45f-81c69e1f0ede
* * implement rfid_reader_{get,set}opt()laforge2008-01-295-68/+88
| | | | | | | | | | | | | | | | | | | * 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/+9
| | | | | | | * 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-2710-6/+157
| | | | git-svn-id: https://svn.gnumonks.org/trunk/librfid@2057 e0336214-984f-0b4b-a45f-81c69e1f0ede
* * improve scanning support:laforge2008-01-272-2/+2
| | | | | | | | | | | | ** 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
* fix more compiler warnings, based on a patch by Rainer Kellerlaforge2008-01-264-4/+4
| | | | git-svn-id: https://svn.gnumonks.org/trunk/librfid@2052 e0336214-984f-0b4b-a45f-81c69e1f0ede
* * add missing header files to distributed tarballlaforge2008-01-262-0/+7
| | | | | | | * 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 spidev reader driverlaforge2008-01-263-0/+3
| | | | | | | * restructure automake usage, introduce shared Makefile.flags.am git-svn-id: https://svn.gnumonks.org/trunk/librfid@2047 e0336214-984f-0b4b-a45f-81c69e1f0ede
* Fix bitfields for big endian platforms (Jeremy Lainé)laforge2008-01-223-6/+64
| | | | 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-0/+1
| | | | 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
* updated win32 support for MINGW32-compiler/cross-compilermeri2007-05-022-1/+19
| | | | git-svn-id: https://svn.gnumonks.org/trunk/librfid@1990 e0336214-984f-0b4b-a45f-81c69e1f0ede
* added win32 support for MINGW32-compiler/cross-compilermeri2007-04-303-6/+13
| | | | git-svn-id: https://svn.gnumonks.org/trunk/librfid@1989 e0336214-984f-0b4b-a45f-81c69e1f0ede
* Added new function codesmeri2007-04-031-0/+5
| | | | git-svn-id: https://svn.gnumonks.org/trunk/librfid@1987 e0336214-984f-0b4b-a45f-81c69e1f0ede
* Add RFID_OPT_14443A_WUPA to request WUPA instead of REQA (Rainer Keller ↵ploetz2007-03-201-0/+1
| | | | | | <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-201-2/+2
| | | | | | | Fixes segfaults on x86_64 git-svn-id: https://svn.gnumonks.org/trunk/librfid@1984 e0336214-984f-0b4b-a45f-81c69e1f0ede
* make rfid_frametype public, since it is used by public function definitions ↵laforge2007-01-091-6/+6
| | | | | | in rfid_reader.h git-svn-id: https://svn.gnumonks.org/trunk/librfid@1958 e0336214-984f-0b4b-a45f-81c69e1f0ede
* Porting librfid on ARM, I got trouble using 14443B due to alignment issue. Thislaforge2007-01-061-5/+5
| | | | | | | patch fix it. (Pierrick Hascoet <pierrick@hydromel.net>) git-svn-id: https://svn.gnumonks.org/trunk/librfid@1954 e0336214-984f-0b4b-a45f-81c69e1f0ede
* - add size detection for mifare classic / ultralightlaforge2006-12-013-0/+7
| | | | | | | | - 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
* disable debugging by defaultlaforge2006-11-281-1/+1
| | | | git-svn-id: https://svn.gnumonks.org/trunk/librfid@1929 e0336214-984f-0b4b-a45f-81c69e1f0ede
* - fix mifare write supportlaforge2006-11-287-81/+114
| | | | | | | | | | - 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-0/+87
| | | | git-svn-id: https://svn.gnumonks.org/trunk/librfid@1916 e0336214-984f-0b4b-a45f-81c69e1f0ede
* remove unused 'next' pointerslaforge2006-10-183-3/+0
| | | | git-svn-id: https://svn.gnumonks.org/trunk/librfid@1912 e0336214-984f-0b4b-a45f-81c69e1f0ede
* - fix multiple include of rfid_protocol_mifare_classic.h problemlaforge2006-10-155-0/+29
| | | | | | | | | | - 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
* redirect DEBUGP to 'debugp' function inside openpcd firmwarelaforge2006-10-141-5/+18
| | | | git-svn-id: https://svn.gnumonks.org/trunk/librfid@1909 e0336214-984f-0b4b-a45f-81c69e1f0ede
* redesign autoconf/automake infrastructure to supportlaforge2006-10-141-5/+1
| | | | | | | | - 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-143-6/+5
| | | | | | | | | - 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-141-2/+6
| | | | | | | | - 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-1411-12/+72
| | | | | | | | | | | | | | - 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-082-1/+3
| | | | | | | | - 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
* - use C99 compiler flagslaforge2006-10-077-5/+48
| | | | | | | | | | | - 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
* fix various compile warnings. code cleanuplaforge2006-09-302-6/+9
| | | | git-svn-id: https://svn.gnumonks.org/trunk/librfid@1891 e0336214-984f-0b4b-a45f-81c69e1f0ede
* update to new (four-byte, explicit response_request flag) revision of ↵laforge2006-09-221-15/+70
| | | | | | openpcd usb protocol git-svn-id: https://svn.gnumonks.org/trunk/librfid@1884 e0336214-984f-0b4b-a45f-81c69e1f0ede
* use attribute(packed) where apropriatelaforge2006-08-161-2/+2
| | | | git-svn-id: https://svn.gnumonks.org/trunk/librfid@1868 e0336214-984f-0b4b-a45f-81c69e1f0ede
* add some definitions on ISO144443A frame waiting timelaforge2006-08-161-0/+8
| | | | git-svn-id: https://svn.gnumonks.org/trunk/librfid@1863 e0336214-984f-0b4b-a45f-81c69e1f0ede
* add support for new OpenPCD designlaforge2006-07-232-0/+43
| | | | git-svn-id: https://svn.gnumonks.org/trunk/librfid@1851 e0336214-984f-0b4b-a45f-81c69e1f0ede
* fix TX chaining: Don't use/respect toggle bit (block nr) for S-blocks.laforge2006-06-231-1/+1
| | | | git-svn-id: https://svn.gnumonks.org/trunk/librfid@1831 e0336214-984f-0b4b-a45f-81c69e1f0ede
* s/transcieve/transceive/g (Henryk Ploetz)laforge2006-06-136-16/+16
| | | | git-svn-id: https://svn.gnumonks.org/trunk/librfid@1817 e0336214-984f-0b4b-a45f-81c69e1f0ede
* - disable debug statementslaforge2005-11-081-0/+6
| | | | | | | - cleanly initialize pps[2] git-svn-id: https://svn.gnumonks.org/trunk/librfid@1672 e0336214-984f-0b4b-a45f-81c69e1f0ede
* move include directory for pkginclude compliancelaforge2005-11-0815-16/+16
| | | | git-svn-id: https://svn.gnumonks.org/trunk/librfid@1664 e0336214-984f-0b4b-a45f-81c69e1f0ede
* implement and test baud rates of up to 848klaforge2005-11-084-5/+12
| | | | git-svn-id: https://svn.gnumonks.org/trunk/librfid@1663 e0336214-984f-0b4b-a45f-81c69e1f0ede
* - better layering abstracitonlaforge2005-11-0810-101/+124
| | | | | | | | | - 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
* use autoconf/automakelaforge2005-11-082-0/+12
| | | | git-svn-id: https://svn.gnumonks.org/trunk/librfid@1658 e0336214-984f-0b4b-a45f-81c69e1f0ede
* add infineon mifare default keyslaforge2005-11-081-2/+4
| | | | git-svn-id: https://svn.gnumonks.org/trunk/librfid@1656 e0336214-984f-0b4b-a45f-81c69e1f0ede
* Add support for native CCID driver, modularize OpenCT support (based on a ↵laforge2005-10-291-0/+1
| | | | | | patch from Werner Koch) git-svn-id: https://svn.gnumonks.org/trunk/librfid@1597 e0336214-984f-0b4b-a45f-81c69e1f0ede
* make "frametype" a parameter of transcieve functionslaforge2005-10-236-2/+35
| | | | git-svn-id: https://svn.gnumonks.org/trunk/librfid@1559 e0336214-984f-0b4b-a45f-81c69e1f0ede
* - add mifare classic supportlaforge2005-10-228-36/+60
| | | | | | | | - 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
personal git repositories of Harald Welte. Your mileage may vary