Commit graph

  • a3a3fa2848 Enhance messages display Romuald Conty 2012-12-05 16:40:52 +01:00
  • 995368cffa Update quick_start_examples Romuald Conty 2012-12-05 02:02:24 +01:00
  • 6be0b2396c Fix typos Philippe Teuwen 2012-12-05 01:29:06 +01:00
  • 5b0e276572 Examples and utils are now updated to use the requiered nfc_context Romuald Conty 2012-12-04 19:29:57 +01:00
  • dc949c257e Removes nfc_get_default_device() function. Romuald Conty 2012-12-04 12:17:56 +01:00
  • 03e5611d14 New feature: search in a directory for devices configuration files. Romuald Conty 2012-12-02 18:49:51 +01:00
  • 84dc268781 New feature: user can define a device by conf file. Romuald Conty 2012-12-02 13:40:52 +01:00
  • 0fd3c9fab3 Provides modprobe configuration file and instructions for PN533 and Linux >3.1 users. Romuald Conty 2012-12-01 17:24:42 +01:00
  • cf6d843c18 Fix pseudo-logging API when no logging is used Philippe Teuwen 2012-12-04 19:14:37 +01:00
  • 2651cdce2e Remove last SVN cruft Philippe Teuwen 2012-11-27 18:56:54 +01:00
  • ac1d05328b update NEWS to reflect API change for nfc_initiator_transceive_*() Philippe Teuwen 2012-11-27 18:50:00 +01:00
  • 9b3947b8ed Improves log feature: Romuald Conty 2012-11-26 21:02:03 +01:00
  • d6c879083c git ignore more generated files. Romuald Conty 2012-11-24 20:14:09 +01:00
  • 4722b7dd97 SVN_REVISION is not relevant anymore, use GIT_REVISION (git describe) instead. Romuald Conty 2012-11-24 20:11:12 +01:00
  • 7963fdfc3b Import code to load configuration from file. WARNING: This commit do not contains a fully cleaned code: - Only nfc-list have been tested - Some -commented- code is not used ATM - Some printf-as-debug remain in this commit ... but that a bit usable so... happy hacking ;-) Romuald Conty 2012-11-24 13:10:28 +01:00
  • 3ee77eb79e Fix *transceive*() calls from examples and utils (bug introduced in previous commit) Romuald Conty 2012-11-24 13:00:23 +01:00
  • 6650105174 Add some functions parameters documentation. Romuald Conty 2012-11-23 16:58:10 +01:00
  • c239873634 Add missing NFC_EMFCAUTHFAIL error string. Romuald Conty 2012-11-23 16:55:45 +01:00
  • dd451da4a5 Change *transceive*() API to be closer to *transceive_bytes. Warning: only prototypes have been changed, implementation does not take care about buffer size. Romuald Conty 2012-11-23 16:54:38 +01:00
  • 7437f76007 simplify quick_start_example1 and add quick_start_example2 Philippe Teuwen 2012-11-16 12:25:27 +01:00
  • fda8d60ce0 Adapt *transmit_bytes_timed API to be closer to *transmit_bytes Philippe Teuwen 2012-11-12 16:52:27 +01:00
  • 6c7c0a6e63 ReadMobib: make it compatible with Basic card Philippe Teuwen 2012-11-10 17:11:48 +01:00
  • 9f90a04a84 nfc_initiator_transceive_bytes() returns NFC_EMFCAUTHFAIL when AUTH command failed on a Mifare Classic Romuald Conty 2012-11-01 01:27:06 +01:00
  • 3629219a3b Caller expect nfc_initiator_deselect_target() to be 0 on success. (Fixes Issue 209) Thanks to Frank Morgner. Romuald Conty 2012-10-30 23:22:22 +01:00
  • e4ebfccc54 Debian package: nfc-probe have been renamed, nfc-read-forum-tag3 man page added (Fixes Issue 210). Thanks to UNFORGiVEN512. Romuald Conty 2012-10-30 23:11:34 +01:00
  • bbf0d819f6 Debian package: remove invalid email address Romuald Conty 2012-10-30 23:09:55 +01:00
  • 86b49d14ea Ignore generated files in Git repo Romuald Conty 2012-10-30 23:09:04 +01:00
  • 56f9de23be Autotools now distributes nfc-read-forum-tag3 man page in tarball Romuald Conty 2012-10-30 22:59:43 +01:00
  • d6c97cb974 Fixes CMake build (Fixes Issue 211). Thanks to Alex Lian Romuald Conty 2012-10-30 22:11:19 +01:00
  • f1b55b5390 debian/rules: no more --enable-serial-probe option Romuald Conty 2012-10-21 14:12:14 +00:00
  • bed1d4ba5e Add -i option to nfc-scan-device to allow intrusive scan and add a manpage for this util. Romuald Conty 2012-10-21 14:12:04 +00:00
  • 397222c33f Removes --enable-serial-autoprobe option at compile and replace this feature by LIBNFC_INTRUSIVE_SCAN environment variable at run time. Romuald Conty 2012-10-21 14:11:38 +00:00
  • b5aa91fd62 Use a more appropriated term regarding device detection: from probe to scan - Rename nfc-probe to nfc-scan-device - Rename internal drivers function prototypes: _probe to _scan - Revamp _scan function prototype: it now returns device found count Romuald Conty 2012-10-21 14:11:17 +00:00
  • 6bc9d64fbb Remove unused prototypes in drivers/*.h Romuald Conty 2012-10-21 14:10:43 +00:00
  • 9afa3c6598 Use copyright format recommended by GNU project. http://www.gnu.org/prep/maintain/html_node/Copyright-Notices.html Romuald Conty 2012-10-21 14:09:16 +00:00
  • 6fd29775b2 acr122_usb: Fix compilation and length offset (bug introduced in r1461) Romuald Conty 2012-10-04 15:28:30 +00:00
  • 2078135c07 README: Add few words about device permissions and udev/devd rules available in package. Romuald Conty 2012-10-04 10:12:53 +00:00
  • b27f8634d6 acr122_usb: Fixes CCID reply decoding. Romuald Conty 2012-10-04 09:35:47 +00:00
  • 26dabba7ac Add Touchatag support for experimental acr122_usb driver; Thanks to Gregoire Sage for its contribution. (Fixes Issue 201) Romuald Conty 2012-10-03 16:21:11 +00:00
  • 88a57a50b3 Fix error code when no reply is not ISO14443B2CT compliant Romuald Conty 2012-10-03 16:21:02 +00:00
  • 91ce008d62 Removes a FIXME: not relevant anymore Romuald Conty 2012-10-03 16:20:50 +00:00
  • 2a1558fb32 Deleting manpage present already twice Philippe Teuwen 2012-09-28 09:16:30 +00:00
  • 1f0ec1b43a Remove unused macro. (Fixes Issue 192) Romuald Conty 2012-09-27 07:36:02 +00:00
  • 921d64dadc Support FTDI dongle under MacOS Romuald Conty 2012-09-27 07:35:55 +00:00
  • 6e7fdb1c80 Adds nfc-emulate-forum-tag2 man page Philippe Teuwen 2012-09-19 10:25:33 +00:00
  • 310d7eba07 New str_nfc_target() function in API. This allow to convert a nfc_target struct into allocated string. Romuald Conty 2012-09-17 13:47:54 +00:00
  • 82e3416619 minor header clean up Romuald Conty 2012-09-17 13:47:43 +00:00
  • de827ab583 nfc_device_get_information_about() now allocates returned string. Note: must be freed by free(). Romuald Conty 2012-09-17 13:47:30 +00:00
  • 2aba0f962a documentation: add missing group description Romuald Conty 2012-09-17 13:47:18 +00:00
  • 3cd6015c81 minor header cleanup Romuald Conty 2012-09-17 13:47:11 +00:00
  • 4288cd3c33 Add example path so that doxygen can find the file Ludovic Rousseau 2012-09-14 20:08:01 +00:00
  • e40d857ac5 Touchatag PC/SC reader name has changed Ludovic Rousseau 2012-07-31 08:45:14 +00:00
  • c87eab4958 Add support for OpenPCD2 Philippe Teuwen 2012-07-01 11:22:45 +00:00
  • 86e92fd2a0 Tolerate older autotools version Philippe Teuwen 2012-06-28 23:11:02 +00:00
  • 9f38ae715d pn53x: allow more delay for Card Presence command (tested on PN533 and PN532 in various contexts). Romuald Conty 2012-06-12 16:51:47 +00:00
  • ab312299d6 pn53x_reset_settings() now resets CRC, parity, easyframing and crypto1. Romuald Conty 2012-06-12 16:46:20 +00:00
  • 4b5b45f14a Add "usb" keyword support to connstring to specify all usb drivers at once Philippe Teuwen 2012-06-06 01:10:05 +00:00
  • b4ef1a3a5d New nfc_initiator_init_secure_element() function to set SAM as wired card (only relevant with a PN532 SAM-equipped) Romuald Conty 2012-06-04 00:16:28 +00:00
  • 6f10d6e321 pn53x: return all errors when NP_ACTIVATE_FIELD failed Romuald Conty 2012-06-04 00:16:17 +00:00
  • f47af31fb7 Indent correctly previous commit (make style) Romuald Conty 2012-06-03 21:05:26 +00:00
  • ce443d50ca Rename abtUid from struct mifare_param_auth into abtAuthUid: this is not the UID while using 7-bytes UID MIFARE Classic tags. Romuald Conty 2012-06-03 21:02:54 +00:00
  • c973800164 nfc_device_target_is_present() checks if passed target if the current target before sending Card Presence command Romuald Conty 2012-06-03 21:02:47 +00:00
  • 2b81baa14f Add documentation related to previous commit (NFC_ETGRELEASED on MFC AUTH failure) Romuald Conty 2012-06-03 21:02:38 +00:00
  • b7a74931f6 Returns a NFC_ETGRELEASED error when MIFARE Classic's authentication failed (instead of NFC_ECHIP): a MIFARE Classic is halted on AUTH command failure. Romuald Conty 2012-06-03 21:02:31 +00:00
  • c7820c6a77 Log an error when user-Rx buffer is too sort to gain data Romuald Conty 2012-06-03 21:02:23 +00:00
  • 62c4ffd0b7 Raises up default timeout from 250 to 350ms Romuald Conty 2012-05-30 23:02:56 +00:00
  • 13e1e054c2 Minor code fix. Romuald Conty 2012-05-30 23:02:48 +00:00
  • d7e7979580 Listing passive targets now quit earlier if szTargets count is reached and in that case, leave with the latest tag selected. Romuald Conty 2012-05-30 23:02:41 +00:00
  • b5c634cb07 drivers/pn53x_usb: use default timeout command instead of infinite Romuald Conty 2012-05-30 23:02:34 +00:00
  • 4a52c2ccd1 Add URL for "Vim: How to prevent trailing whitespaces" Ludovic Rousseau 2012-05-29 16:02:58 +00:00
  • 723e2860ae Adding make style Philippe Teuwen 2012-05-29 15:56:02 +00:00
  • 568317929d 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 --align-pointer=name Philippe Teuwen 2012-05-29 15:55:35 +00:00
  • 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 Philippe Teuwen 2012-05-29 15:54:36 +00:00
  • 562205cc14 astyle --formatted --mode=c --indent=spaces=2 --indent-switches --indent-preprocessor --keep-one-line-blocks --max-instatement-indent=60 --brackets=linux --pad-oper Philippe Teuwen 2012-05-29 15:54:00 +00:00
  • 67522bae65 astyle --formatted --mode=c --indent=spaces=2 --indent-switches --indent-preprocessor --keep-one-line-blocks --max-instatement-indent=60 --brackets=linux Philippe Teuwen 2012-05-29 15:53:43 +00:00
  • a2cd236441 astyle --formatted --mode=c --indent=spaces=2 --indent-switches --indent-preprocessor --keep-one-line-blocks --max-instatement-indent=60 Philippe Teuwen 2012-05-29 15:52:51 +00:00
  • 26569c2202 Indent manually some comments to prepare astyle Philippe Teuwen 2012-05-29 15:52:29 +00:00
  • 7da28b87d2 HACKING: document EOL cleaning, thanks Ludovic Philippe Teuwen 2012-05-29 07:59:04 +00:00
  • 26865bbc19 Remove extra whitespaces/tabs before EOL. Romuald Conty 2012-05-29 00:33:22 +00:00
  • 167238c60d Fix uninitialized variable szTargetsData Romuald Conty 2012-05-27 23:25:52 +00:00
  • 8f08431ddf New function nfc_initiator_target_is_present() to test is a previously selected target is in the field. Romuald Conty 2012-05-27 22:34:21 +00:00
  • 2c9275adde nfc_initiator_transceive_bytes() now take a constant size for Rx buffer to have a cleaner API: no more in/out parameters Romuald Conty 2012-05-27 21:06:22 +00:00
  • f0e85c027a ./configure shall be re-run to take any CFLAGS changes Ludovic Rousseau 2012-05-24 13:33:54 +00:00
  • dd12a4dd87 drivers/acr122_pcsc: allow LIBNFC_DEFAULT_DEVICE=acr122_pcsc:N where N is the Nth device accepted by the driver Philippe Teuwen 2012-05-22 23:49:32 +00:00
  • 912e32ecab Adding HACKING file, draft to be continued Philippe Teuwen 2012-05-22 20:20:53 +00:00
  • 47e90ee510 drivers/acr122_pcsc: allow LIBNFC_DEFAULT_DEVICE=acr122_pcsc Philippe Teuwen 2012-05-22 17:25:48 +00:00
  • 56e44670a5 Log the device name if the open fails Ludovic Rousseau 2012-05-22 09:50:12 +00:00
  • b237213f75 Log an error message if opening a device fails Ludovic Rousseau 2012-05-22 09:48:43 +00:00
  • 5a529ce30d Fix Debian lintian warning Ludovic Rousseau 2012-05-21 14:38:37 +00:00
  • b41c063d4a Fix Debian lintian warning Ludovic Rousseau 2012-05-21 14:33:32 +00:00
  • 9deb6a7c6e Fix Debian lintian warning Ludovic Rousseau 2012-05-21 14:12:27 +00:00
  • 476eab10a1 Fix Debian lintian warning I: libnfc source: binary-control-field-duplicates-source field "section" in package libnfc2 Ludovic Rousseau 2012-05-21 14:10:16 +00:00
  • 531702a1fc example/pn532-sam: Fix few bugs in SAM example - Fix choice input (Dual card mode was not available); - Fix segfault when target selection returns no target; - Use error label to close the device before exiting; Romuald Conty 2012-05-20 23:09:21 +00:00
  • ff87cf62b1 Fix segfault in pn53x_initiator_transceive_bytes when pszRx in NULL Philippe Teuwen 2012-05-18 21:54:55 +00:00
  • 969102c1a0 utils/nfc-list: always display the card type when a card is found Philippe Teuwen 2012-05-18 21:54:45 +00:00
  • 4e5c60411f warning: 'libnfc.la': linking libtool libraries using a non-POSIX archiver requires 'AM_PROG_AR' in 'configure.ac' Ludovic Rousseau 2012-05-18 07:42:25 +00:00
  • beab815ecb warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') Ludovic Rousseau 2012-05-18 07:40:41 +00:00
  • 48016fa297 warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') Ludovic Rousseau 2012-05-18 07:38:42 +00:00
  • db2173efdf configure.ac:84: warning: The macro `AC_HELP_STRING' is obsolete. Ludovic Rousseau 2012-05-18 07:33:30 +00:00
  • 6d45c804bb Updated by autoupdate 2.69 Ludovic Rousseau 2012-05-18 07:30:39 +00:00