hongbin@ftsafe.com
8352c80679
Modify pcsc.c to have support for Mifare classic and Ultralight card
...
Modify pcsc.c and mifare.c files.
1. add code into pcsc.c to have support Mifare classic card.
2. The PCSC reader has SW value, add response data length for PCSC
reader
2020-05-13 12:15:28 +08:00
Philippe Teuwen
e4df2f3334
astyle
2017-02-18 13:05:59 +01:00
Philippe Teuwen
db4fae9c2c
Remove unreachable statements
...
As seen with clang -Wunreachable-code
2014-03-04 01:39:12 +01:00
Philippe Teuwen
bb5b712a74
Adding link to AUTHORS in the copyright headers
2013-07-17 13:57:56 +02:00
Philippe Teuwen
bf164220ee
Unify copyright notices & update authors lists
2013-03-10 16:15:23 +01:00
Philippe Teuwen
06bfed11b9
Various typos
2013-01-31 21:58:29 +01:00
Romuald Conty
9afa3c6598
Use copyright format recommended by GNU project.
...
http://www.gnu.org/prep/maintain/html_node/Copyright-Notices.html
2012-10-21 14:09:16 +00:00
Philippe Teuwen
01303fab0d
astyle --formatted --mode=c --indent=spaces=2 --indent-switches --indent-preprocessor --keep-one-line-blocks --max-instatement-indent=60 --brackets=linux --pad-oper --unpad-paren --pad-header
2012-05-29 15:54:36 +00:00
Philippe Teuwen
a2cd236441
astyle --formatted --mode=c --indent=spaces=2 --indent-switches --indent-preprocessor --keep-one-line-blocks --max-instatement-indent=60
2012-05-29 15:52:51 +00:00
Romuald Conty
26865bbc19
Remove extra whitespaces/tabs before EOL.
...
find . -name '*.[ch]' | xargs perl -pi -e 's/\t+$//; s/ +$//'
Thanks to Ludovic.
2012-05-29 00:33:22 +00:00
Romuald Conty
2c9275adde
nfc_initiator_transceive_bytes() now take a constant size for Rx buffer to have a cleaner API: no more in/out parameters
2012-05-27 21:06:22 +00:00
Audrey Diacre
983d4932f3
documentation: add utils and examples and hide internal files.
2012-01-31 14:28:45 +00:00
Audrey Diacre
c80ebdca25
nfc_abort_command() function returns now 0 on success and libnfc error code on failure and fix some warnings.
2012-01-05 14:49:02 +00:00
Romuald Conty
bf7c36d9bb
less structs and defines publicly exposed
...
- nfc_device is now an opaque type;
- PN53x specific errors are not public anymore;
- nfc_device_name() renamed to nfc_device_get_name() for the sake of consistency;
- examples/*, utils/* uses the new nfc_device_get_name() function instead of access directly to struct's content;
- new error defined: NFC_ERFTRANS for notifying about RF transmission error, its used by mifare.c to detect permissions error on mifare;
- drivers initiator_transceive_bytes() function now returns libnfc's error code on failure (<0), and received bytes count on success (>=0);
- remove some unused errors.
2011-12-19 00:23:21 +00:00
Audrey Diacre
a615d969fd
nfc_properties replace now nfc_options and nfc_configure is replaced by nfc_device_set_property_bool which returns error code.
2011-12-14 16:01:00 +00:00
Audrey Diacre
52bc5853d8
Remove whitespace after star symbol for pointers
2011-11-25 15:21:10 +00:00
Audrey Diacre
5c7454a2f7
Timeout is now integer.
2011-11-25 11:37:30 +00:00
Audrey Diacre
784a2f86a2
Change byte_t type to uint8_t (Fixes Issue 147)
2011-11-24 10:54:42 +00:00
Audrey Diacre
c718fafee7
Massive code clean up: (Fixes Issue 161)
...
- Remove typedef from internal structs
- Remove _t suffix from types
- Fix tests using connstrings
2011-11-23 15:55:40 +00:00
Romuald Conty
8c7b61eaba
move some examples to utils/ since they are not examples anymore :) (Fixes Issue 164)
2011-09-30 11:33:31 +00:00