summaryrefslogtreecommitdiff
path: root/utils/librfid-tool.c
Commit message (Collapse)AuthorAgeFilesLines
* Make librfid-tool print out the ATS in case of success with a T=CL cardploetz2008-02-021-0/+17
| | | | git-svn-id: https://svn.gnumonks.org/trunk/librfid@2065 e0336214-984f-0b4b-a45f-81c69e1f0ede
* * implement rfid_reader_{get,set}opt()laforge2008-01-291-2/+11
| | | | | | | | | | | | | | | | | | | * 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
* implement new mifare dumping code based on sector/block translation functions,laforge2008-01-291-24/+64
| | | | | | | fully supporting 4k format git-svn-id: https://svn.gnumonks.org/trunk/librfid@2063 e0336214-984f-0b4b-a45f-81c69e1f0ede
* partial ISO15693 support (based on patch by Bjoern Kaiser)laforge2008-01-271-7/+116
| | | | git-svn-id: https://svn.gnumonks.org/trunk/librfid@2057 e0336214-984f-0b4b-a45f-81c69e1f0ede
* * improve scanning support:laforge2008-01-271-4/+33
| | | | | | | | | | | | ** 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
* update FSF postal address (Jeremy Laine)laforge2008-01-231-1/+1
| | | | git-svn-id: https://svn.gnumonks.org/trunk/librfid@2041 e0336214-984f-0b4b-a45f-81c69e1f0ede
* Not including libgen.h breaks 64bit builds (probably because the compiler ↵ploetz2007-06-091-1/+4
| | | | | | assumes a default return type for basename which would be int, which is smaller than char*) git-svn-id: https://svn.gnumonks.org/trunk/librfid@2001 e0336214-984f-0b4b-a45f-81c69e1f0ede
* added win32 support for MINGW32-compiler/cross-compilermeri2007-04-301-7/+9
| | | | git-svn-id: https://svn.gnumonks.org/trunk/librfid@1989 e0336214-984f-0b4b-a45f-81c69e1f0ede
* - add size detection for mifare classic / ultralightlaforge2006-12-011-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
* - fix mifare write supportlaforge2006-11-281-97/+105
| | | | | | | | | | - 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
* - fix segfault during rfid_scan()laforge2006-10-081-2/+19
| | | | | | | | - 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-071-18/+77
| | | | | | | | | | | - 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
* try OpenPCD if there is no cm5121 availablelaforge2006-09-221-2/+6
| | | | git-svn-id: https://svn.gnumonks.org/trunk/librfid@1887 e0336214-984f-0b4b-a45f-81c69e1f0ede
* remove linux.claforge2006-06-141-1/+1
| | | | git-svn-id: https://svn.gnumonks.org/trunk/librfid@1820 e0336214-984f-0b4b-a45f-81c69e1f0ede
* s/transcieve/transceive/g (Henryk Ploetz)laforge2006-06-131-5/+5
| | | | git-svn-id: https://svn.gnumonks.org/trunk/librfid@1817 e0336214-984f-0b4b-a45f-81c69e1f0ede
* patch introduces -ETIMEDOUT as an error return code in case of ↵laforge2006-06-131-0/+3
| | | | | | | | timeout. (For *_close it's important to distinguish between 'real' errors and timeout.) (Henryk Ploetz) git-svn-id: https://svn.gnumonks.org/trunk/librfid@1815 e0336214-984f-0b4b-a45f-81c69e1f0ede
* add error checking to T=CL test programlaforge2006-05-271-6/+30
| | | | git-svn-id: https://svn.gnumonks.org/trunk/librfid@1808 e0336214-984f-0b4b-a45f-81c69e1f0ede
* use block number, not sector (Henryk Ploetz)laforge2006-05-271-1/+1
| | | | git-svn-id: https://svn.gnumonks.org/trunk/librfid@1806 e0336214-984f-0b4b-a45f-81c69e1f0ede
* add support for commandline protocol specificationlaforge2006-05-271-31/+80
| | | | git-svn-id: https://svn.gnumonks.org/trunk/librfid@1801 e0336214-984f-0b4b-a45f-81c69e1f0ede
* rename openct-escape into librfid-toollaforge2006-05-271-0/+379
git-svn-id: https://svn.gnumonks.org/trunk/librfid@1800 e0336214-984f-0b4b-a45f-81c69e1f0ede
personal git repositories of Harald Welte. Your mileage may vary