summaryrefslogtreecommitdiff
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* 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
* cleanuplaforge2005-10-222-4/+5
| | | | git-svn-id: https://svn.gnumonks.org/trunk/librfid@1554 e0336214-984f-0b4b-a45f-81c69e1f0ede
* add convenience functions to set lock bits laforge2005-10-221-0/+6
| | | | git-svn-id: https://svn.gnumonks.org/trunk/librfid@1553 e0336214-984f-0b4b-a45f-81c69e1f0ede
* mifare ultraligh have pages 0-15, not only 0-7laforge2005-10-221-0/+9
| | | | git-svn-id: https://svn.gnumonks.org/trunk/librfid@1552 e0336214-984f-0b4b-a45f-81c69e1f0ede
* add support for mifare ultralightlaforge2005-10-222-1/+8
| | | | git-svn-id: https://svn.gnumonks.org/trunk/librfid@1550 e0336214-984f-0b4b-a45f-81c69e1f0ede
* add some known vendor codeslaforge2005-10-221-0/+7
| | | | git-svn-id: https://svn.gnumonks.org/trunk/librfid@1548 e0336214-984f-0b4b-a45f-81c69e1f0ede
* add mifare ultralight support (incomplete)laforge2005-10-202-0/+25
| | | | git-svn-id: https://svn.gnumonks.org/trunk/librfid@1543 e0336214-984f-0b4b-a45f-81c69e1f0ede
* use 64bit timeout values throughout the code, since some timeouts exceeds ↵laforge2005-09-113-7/+7
| | | | | | 4.8 billion microseconds (seconds). git-svn-id: https://svn.gnumonks.org/trunk/librfid@1426 e0336214-984f-0b4b-a45f-81c69e1f0ede
* As Juergen Heinzl pointed out, much of my original fwi calculations evaluatedlaforge2005-09-112-3/+3
| | | | | | | | to zero due to the integer range limitations. shifting everything to the microsecond range should solve this problem without introducing ugly floating point arithmetics. git-svn-id: https://svn.gnumonks.org/trunk/librfid@1425 e0336214-984f-0b4b-a45f-81c69e1f0ede
* Some cosmetic changes (Juergen Heinzl)laforge2005-09-111-2/+2
| | | | git-svn-id: https://svn.gnumonks.org/trunk/librfid@1422 e0336214-984f-0b4b-a45f-81c69e1f0ede
* - start 15693 implementationlaforge2005-06-144-2/+54
| | | | | | | - build a real library (librfid.a) git-svn-id: https://svn.gnumonks.org/trunk/librfid@1215 e0336214-984f-0b4b-a45f-81c69e1f0ede
* - add support for toggle bitlaforge2005-06-131-0/+2
| | | | | | | - full implementation of ACK / chaining for both Rx and Tx git-svn-id: https://svn.gnumonks.org/trunk/librfid@1209 e0336214-984f-0b4b-a45f-81c69e1f0ede
* shuffle structure elements to cope with atr[0]laforge2005-06-131-2/+5
| | | | git-svn-id: https://svn.gnumonks.org/trunk/librfid@1208 e0336214-984f-0b4b-a45f-81c69e1f0ede
* add speed information to data structureslaforge2005-06-131-0/+9
| | | | git-svn-id: https://svn.gnumonks.org/trunk/librfid@1207 e0336214-984f-0b4b-a45f-81c69e1f0ede
* some more reader-related debugginglaforge2005-06-131-0/+1
| | | | git-svn-id: https://svn.gnumonks.org/trunk/librfid@1205 e0336214-984f-0b4b-a45f-81c69e1f0ede
* move librfid to new location in repositorylaforge2005-05-2910-0/+617
git-svn-id: https://svn.gnumonks.org/trunk/librfid@1181 e0336214-984f-0b4b-a45f-81c69e1f0ede
personal git repositories of Harald Welte. Your mileage may vary