Commit Graph

12 Commits

Author SHA1 Message Date
laforge 2f8c4ec417 add timer/irq handling, disabled
git-svn-id: https://svn.gnumonks.org/trunk/librfid@1867 e0336214-984f-0b4b-a45f-81c69e1f0ede
2006-08-16 14:00:56 +00:00
laforge b4c7e5000a make sure we never rx/tx frames > 64 bytes because stupid cm5121 is not able to
refill FIFO during rx/tx operation due to latency issues.   This needs to be
put in a reader specific field, rather than an ASIC specific field.


git-svn-id: https://svn.gnumonks.org/trunk/librfid@1823 e0336214-984f-0b4b-a45f-81c69e1f0ede
2006-06-14 19:45:26 +00:00
laforge e1eacada54 fix multi-fifo-writes. still doesn't work, I think we have to limit the framesize to 64bytes with the cm5121
git-svn-id: https://svn.gnumonks.org/trunk/librfid@1822 e0336214-984f-0b4b-a45f-81c69e1f0ede
2006-06-14 19:18:24 +00:00
laforge 23c11e3e5a - make timeout more liberal
- implement fifo refill for transmit/transceive > 64bytes


git-svn-id: https://svn.gnumonks.org/trunk/librfid@1821 e0336214-984f-0b4b-a45f-81c69e1f0ede
2006-06-14 18:36:28 +00:00
laforge 2e5b78aa3b s/transcieve/transceive/g (Henryk Ploetz)
git-svn-id: https://svn.gnumonks.org/trunk/librfid@1817 e0336214-984f-0b4b-a45f-81c69e1f0ede
2006-06-13 09:55:09 +00:00
laforge 889f6a1506 patch introduces -ETIMEDOUT as an error return code in case of
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
2006-06-13 09:34:48 +00:00
laforge 62465df4d6 Fix mifare authentication for multiple blocks
Around line 1320 in rfid_asic_rc632.c the CRYPTO1 bit in the                                     
RC632 is disabled. The RC632 docs state that this bit can only be set                                      
by a successfull AUTHENT2 command, but may be cleared by the user to                                       
disable encryption thereafter (but they don't say why anyone would want                                    
to do that). (Henryk Ploetz)


git-svn-id: https://svn.gnumonks.org/trunk/librfid@1814 e0336214-984f-0b4b-a45f-81c69e1f0ede
2006-06-13 09:32:06 +00:00
laforge 1d3b2d558a add some very rudimentary timeout handling, i.e. abort if there is no response. tolerance = 10000%
git-svn-id: https://svn.gnumonks.org/trunk/librfid@1807 e0336214-984f-0b4b-a45f-81c69e1f0ede
2006-05-27 18:31:36 +00:00
laforge 1fcc35aad6 move include directory for pkginclude compliance
git-svn-id: https://svn.gnumonks.org/trunk/librfid@1664 e0336214-984f-0b4b-a45f-81c69e1f0ede
2005-11-08 13:04:32 +00:00
laforge b40ece7ac6 implement and test baud rates of up to 848k
git-svn-id: https://svn.gnumonks.org/trunk/librfid@1663 e0336214-984f-0b4b-a45f-81c69e1f0ede
2005-11-08 12:19:38 +00:00
laforge 7600eb5ebb - better layering abstraciton
- 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
2005-11-08 10:34:18 +00:00
laforge 05c7e30427 use autoconf/automake
git-svn-id: https://svn.gnumonks.org/trunk/librfid@1658 e0336214-984f-0b4b-a45f-81c69e1f0ede
2005-11-08 08:34:15 +00:00