summaryrefslogtreecommitdiff
path: root/src/rfid_reader_cm5121.c
Commit message (Collapse)AuthorAgeFilesLines
* add function to set mifare key from internal eepromlaforge2008-02-241-0/+1
| | | | git-svn-id: https://svn.gnumonks.org/trunk/librfid@2086 e0336214-984f-0b4b-a45f-81c69e1f0ede
* disable debug in the default compile (Uwe Hermann)laforge2008-02-081-2/+1
| | | | git-svn-id: https://svn.gnumonks.org/trunk/librfid@2074 e0336214-984f-0b4b-a45f-81c69e1f0ede
* * implement rfid_reader_{get,set}opt()laforge2008-01-291-141/+12
| | | | | | | | | | | | | | | | | | | * 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
* partial ISO15693 support (based on patch by Bjoern Kaiser)laforge2008-01-271-0/+11
| | | | git-svn-id: https://svn.gnumonks.org/trunk/librfid@2057 e0336214-984f-0b4b-a45f-81c69e1f0ede
* * improve scanning support:laforge2008-01-271-0/+7
| | | | | | | | | | | | ** 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-261-1/+3
| | | | git-svn-id: https://svn.gnumonks.org/trunk/librfid@2055 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
* unsigned int -> size_t in some appropriate places.ploetz2007-03-201-5/+5
| | | | | | | Fixes segfaults on x86_64 git-svn-id: https://svn.gnumonks.org/trunk/librfid@1984 e0336214-984f-0b4b-a45f-81c69e1f0ede
* - remove prototypes for already-removed _register() functions from headerslaforge2006-10-141-1/+0
| | | | | | | | | - 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-3/+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-141-8/+10
| | | | | | | | | | | | | | - 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
* - use C99 compiler flagslaforge2006-10-071-1/+9
| | | | | | | | | | | - 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-301-0/+2
| | | | git-svn-id: https://svn.gnumonks.org/trunk/librfid@1891 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
* s/transcieve/transceive/g (Henryk Ploetz)laforge2006-06-131-9/+9
| | | | git-svn-id: https://svn.gnumonks.org/trunk/librfid@1817 e0336214-984f-0b4b-a45f-81c69e1f0ede
* increased SNDBUF_SIZE to prevent overflowlaforge2006-06-131-3/+3
| | | | git-svn-id: https://svn.gnumonks.org/trunk/librfid@1816 e0336214-984f-0b4b-a45f-81c69e1f0ede
* it's 89C5122, not 98C5122 (Paul Stewart)laforge2005-12-031-1/+1
| | | | git-svn-id: https://svn.gnumonks.org/trunk/librfid@1730 e0336214-984f-0b4b-a45f-81c69e1f0ede
* disable 848k since it's unstablelaforge2005-11-081-1/+1
| | | | git-svn-id: https://svn.gnumonks.org/trunk/librfid@1675 e0336214-984f-0b4b-a45f-81c69e1f0ede
* - disable debug statementslaforge2005-11-081-8/+0
| | | | | | | - 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-081-5/+5
| | | | 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-081-6/+14
| | | | git-svn-id: https://svn.gnumonks.org/trunk/librfid@1663 e0336214-984f-0b4b-a45f-81c69e1f0ede
* - better layering abstracitonlaforge2005-11-081-3/+33
| | | | | | | | | - 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-081-0/+337
git-svn-id: https://svn.gnumonks.org/trunk/librfid@1658 e0336214-984f-0b4b-a45f-81c69e1f0ede
personal git repositories of Harald Welte. Your mileage may vary