Commit Graph

  • fbcf966d20 Merge r566-569 from the libnfc-error-handling branch. Romain Tartiere 2010-08-24 09:32:42 +00:00
  • 00ad302e32 Fix CMake build. Romain Tartiere 2010-08-24 09:29:59 +00:00
  • b6fb5829c0 Fix libnfc version in the Microsoft Windows Makefile. Romain Tartiere 2010-08-24 09:25:53 +00:00
  • 32917a9c0a Unbreak nfc-list on windows. Romain Tartiere 2010-08-24 09:23:48 +00:00
  • 23f84a4e6a Merge the libnfc-error-handling branch into trunk. Romain Tartiere 2010-08-20 11:08:04 +00:00
  • 6a6ae42a97 Fix minor compilation warnings Romuald Conty 2010-08-20 10:42:31 +00:00
  • 5b0589c381 Merge r551-563 from trunk. Romain Tartiere 2010-08-20 10:41:30 +00:00
  • fd337dd0cc Also detect error frames in pn532_uart (tested) and arygon drivers (not tested). Romain Tartiere 2010-08-20 10:40:00 +00:00
  • dadaee4cc0 Fix ARYGON compilation Romuald Conty 2010-08-20 10:28:11 +00:00
  • bd8a46c3c8 Fix pn532_uart compilation Romuald Conty 2010-08-20 10:25:37 +00:00
  • 1e329529a7 Update nfc-poll example to enhance unsupported features detection. Romain Tartiere 2010-08-20 10:16:52 +00:00
  • 084c001c11 Generate an error before sending InAutoPoll command if chip does not support it. Romuald Conty 2010-08-20 10:11:06 +00:00
  • f4aa4edc94 Rework and fix error frames detection. Romain Tartiere 2010-08-20 10:06:19 +00:00
  • b0737bd1a0 Fix pn53x_InAutoPoll(). Romain Tartiere 2010-08-20 09:36:38 +00:00
  • 5744c67039 Fix build on Microsoft Windows (not tested, no hardware). Romain Tartiere 2010-08-19 18:19:40 +00:00
  • 040db45ae4 nfc-mfclassic: disable ISO14443-4 auto-switching in order to read devices that emulate Mifare Classic with ISO14443-4 compliance.(e.g. Nokia 6212 Classic) Romuald Conty 2010-08-19 10:59:45 +00:00
  • 8f19b078ff Add configuration option to enable/disable auto iso14443-4 mode. Romuald Conty 2010-08-19 10:58:15 +00:00
  • edba53c5da Fix pn532_uart driver. Romuald Conty 2010-08-19 09:01:39 +00:00
  • eb90b92c12 Detect errors in examples. Romain Tartiere 2010-08-18 17:22:13 +00:00
  • 076fa3686c Merge r547-550 from trunk. Romain Tartiere 2010-08-18 17:01:08 +00:00
  • 27b97c0fda Fix build on Microsoft Windows. Romain Tartiere 2010-08-18 16:55:16 +00:00
  • 0a09c8d8e7 Flag some problems in the examples. Romain Tartiere 2010-08-18 14:44:40 +00:00
  • c9f88e17a1 Reset pnd->iLastError in nfc.c. Romain Tartiere 2010-08-18 14:44:19 +00:00
  • 769eef20f7 Merge r520-546 from trunk. Romain Tartiere 2010-08-18 14:32:01 +00:00
  • d0fe1f8255 Fix debug trace of pn532_uart driver. Romuald Conty 2010-08-18 13:56:31 +00:00
  • 6354e94657 mifare function improvement: it now failed when read command does not return a whole block (16 bytes). Romuald Conty 2010-08-18 13:53:34 +00:00
  • 4b123ab583 nfc-mfclassic now fails ealier when something goes wrong (this allow to prevent from false-success). Romuald Conty 2010-08-18 13:20:40 +00:00
  • cf9af4ee49 nfc-list example now use nfc_initiator_list_passive_targets() function. Romuald Conty 2010-08-18 13:13:14 +00:00
  • 5c206b7815 Improve ISO14443B support of nfc_initiator_list_passive_targets() function. Romuald Conty 2010-08-18 13:10:21 +00:00
  • 3dd2257b57 Add print_nfc_felica_info() and print_nfc_iso14443b_info() functions to nfc-utils (used by examples) Romuald Conty 2010-08-18 12:50:40 +00:00
  • 43694183ff Minor documentation improvements. Romuald Conty 2010-08-18 12:39:32 +00:00
  • 0c19124984 Increase UART timeout to gain in stability. Romuald Conty 2010-08-18 08:06:35 +00:00
  • eeaad85151 Add SAK decoding for compliance with ISO/IEC. Romuald Conty 2010-08-17 15:24:37 +00:00
  • 6e84e757c7 List available drivers in ./configure --help Romuald Conty 2010-08-17 14:40:35 +00:00
  • c021a50768 Oups, r534 was not a joke... just a mistake ;-) This commit fix my r534. Romuald Conty 2010-08-17 13:50:49 +00:00
  • 88002bf977 Code cleaning: driver_connect() is never executed with pndd==NULL. Romuald Conty 2010-08-17 13:31:32 +00:00
  • 7788c33da8 Default serial-port paths are now fully hardcoded instead of half-hardcoded and soft-expanded. Romuald Conty 2010-08-17 13:29:01 +00:00
  • 476c05cfb4 Cleanup up nfc_initiator_list_passive_targets(): remove attempts to retrieve ATQA when collision occurs, after a lot of tests by Romain and me we are not able to find a way to retrieve all tags ATQA if different card types are on the nfc device. Romuald Conty 2010-08-17 10:08:38 +00:00
  • 3c57861d6b Improve pn53x_decode_target_data() function: move code from nfc_initiator_select_passive_target() to the right place (pn53x.c). Romuald Conty 2010-08-17 10:01:11 +00:00
  • ae04479968 Move hardware polling function in pn53x.c/h. Romuald Conty 2010-08-17 08:24:38 +00:00
  • f797d737d3 Fix build on Microsoft Windows. Romain Tartiere 2010-08-16 17:43:48 +00:00
  • 41b1455f04 Clean up wrong comments in nfc-poll. Romuald Conty 2010-08-16 16:27:50 +00:00
  • 08eb21aa9d Second part of error handling. Romain Tartiere 2010-08-15 14:08:29 +00:00
  • 8a75f5b45e Fix wrong comment Romain Tartiere 2010-08-15 12:42:40 +00:00
  • 655fdb569a Fix nfc_initiator_mifare_cmd() in examples. Romain Tartiere 2010-08-13 19:53:13 +00:00
  • fab08a3951 Fix doxygen comment: the string SHALL NOT be freed (it's const BTW). Romain Tartiere 2010-08-13 19:10:31 +00:00
  • d7e0b926ac Rename the only test of the regression test suite to a more explicit name. Romain Tartiere 2010-08-13 18:34:30 +00:00
  • 57b775bae2 Always ACK on transmission. Romain Tartiere 2010-08-13 16:02:18 +00:00
  • f4bc39bf41 Mostly revert r521. Romain Tartiere 2010-08-13 09:02:20 +00:00
  • 0502401a29 Minor tweaks. Romain Tartiere 2010-08-13 08:31:16 +00:00
  • b289784359 Merge r511-519 from trunk. Romain Tartiere 2010-08-11 16:59:09 +00:00
  • 2029e0c66f Remove usb_reset() call: this function always failed. Romuald Conty 2010-08-11 16:44:34 +00:00
  • d11e7a1320 Prevent from segfault when nfc_disconnect() on NULL pointer Romuald Conty 2010-08-11 16:38:22 +00:00
  • 9cc31f6aad Add a regression test directory. Romain Tartiere 2010-08-11 16:36:35 +00:00
  • caa594eba8 Remove deprecated code. Romain Tartiere 2010-08-11 09:46:14 +00:00
  • f237d44339 Take care of 16-blocks-long sectors of Mifare Classic 4K in the nfc-mfclassic example's blocks counting routine. Romain Tartiere 2010-08-11 09:26:22 +00:00
  • ca6b768a67 Fix build on Microsoft Windows. Romain Tartiere 2010-08-10 21:45:30 +00:00
  • 4a5347e5ae Merge r512 from trunk. Romain Tartiere 2010-08-10 21:41:42 +00:00
  • 3ec0b9376c Make Mifare example use only the libnfc public API. Romain Tartiere 2010-08-10 21:36:57 +00:00
  • dfb82f8893 Merge r499-510 from trunk. Romain Tartiere 2010-08-10 21:14:13 +00:00
  • bda739eb8f Hey! r509 also fixed that! Romain Tartiere 2010-08-10 21:02:26 +00:00
  • eece496351 Use nfc_initiator_transceive_dep_bytes() instead of pn53x_transceive() in example. Romain Tartiere 2010-08-10 21:00:08 +00:00
  • fd0efd4a62 Fix build on Microsoft Windows. Romain Tartiere 2010-08-10 19:50:29 +00:00
  • 8fef257d16 Also use pn53x_transceive_callback() in the arygon driver. Romain Tartiere 2010-08-08 15:25:06 +00:00
  • d7c16d6d1a Factorise UART-relative macros definitions. Romain Tartiere 2010-08-08 09:34:18 +00:00
  • 8e5d235cd2 Implement pn53x_InRelease(). Romain Tartiere 2010-08-06 07:29:57 +00:00
  • d77c25224a After a bazillion tests, make the Debian-5-year-outdated-and-buggy autotools happy with some weird m4 syntax and hope it will not fail on a much more recent autolol suite. Romain Tartiere 2010-07-31 15:37:27 +00:00
  • d0357cf3aa Merge r486-498 from trunk. Romain Tartiere 2010-07-31 14:23:33 +00:00
  • 79aeaa6287 Factorise code. Romain Tartiere 2010-07-31 14:20:15 +00:00
  • 301d692e8a Flag references to deprecated usage of pn53x_transceive(). Romain Tartiere 2010-07-31 14:02:46 +00:00
  • b60d045537 Remove another deprecated test that '^#ifdef' did not matched for previous commit. Romain Tartiere 2010-07-31 13:46:32 +00:00
  • cd53efb038 Enforce ISO C conformance about empty files. Romain Tartiere 2010-07-31 13:21:56 +00:00
  • bb06d45a05 Really silent down gcc with -Wextra. Romain Tartiere 2010-07-31 12:57:02 +00:00
  • 93494aad24 Fix serial string for FreeBSD. Romain Tartiere 2010-07-31 10:13:18 +00:00
  • d498fcd48e Comment all commands that return a status code in the list. Found a typo at that occasion so s/0x93/0x92/. Romain Tartiere 2010-07-31 09:50:04 +00:00
  • fb6d9d2d20 Yes we can... remove all those pnd->pdc->transceive() from nfc.c. Romain Tartiere 2010-07-31 09:40:29 +00:00
  • 705e037b12 Only report status error for commands that provide it in pn53x_transceive(). Romain Tartiere 2010-07-31 09:19:22 +00:00
  • 36ee32f81a Merge r478-485 from trunk. Romain Tartiere 2010-07-30 16:34:12 +00:00
  • 0afaf656fa Attempt to provide target listing function (WARNING: this function is actually incomplete) Romuald Conty 2010-07-30 13:27:03 +00:00
  • 7113d1418b Add FIXME to raise an E_NOTSUPPORTED error in future, Romuald Conty 2010-07-30 11:45:59 +00:00
  • 5ac580a241 Code cleanup: remove many debug prints, enhance comments and documentation. Romuald Conty 2010-07-30 11:30:19 +00:00
  • daa178b18f Enhance error handeling. Romain Tartiere 2010-07-29 14:16:11 +00:00
  • 18e6e1bc7c Add documentation for pn53x_InListPassiveTarget() Romuald Conty 2010-07-29 12:48:59 +00:00
  • fc15146bf2 Minor code cleanning. Romuald Conty 2010-07-29 12:47:51 +00:00
  • 30e715cff0 Merge r470-477 from trunk. Romain Tartiere 2010-07-29 10:59:52 +00:00
  • 740b5b430d libnfc-error-handling: Remove boring debug stuff. Romain Tartiere 2010-07-29 10:53:14 +00:00
  • f01b73ab32 Move usb_reset(3) call. Romain Tartiere 2010-07-29 10:47:53 +00:00
  • f7e8ec0a95 nfc-sam: cleanup and Windows support improvements. Emanuele Bertoldi 2010-07-29 10:18:19 +00:00
  • 5129a37ec8 fixed typo, missed closing bracket ;) Roel Verdult 2010-07-28 12:56:40 +00:00
  • 20ed5e1a52 fixed wakeup preamble, change PN532 chip to normal mode after wakeup Roel Verdult 2010-07-28 12:52:39 +00:00
  • d63157a41d Fix mask to extract "Error Code" from status byte. Romuald Conty 2010-07-27 09:29:54 +00:00
  • 9984e1bdcb Start of work on error handling. Romain Tartiere 2010-07-26 12:41:46 +00:00
  • 9a7ffc38a1 Small improvements to nfc-sam stuff. Emanuele Bertoldi 2010-07-26 08:55:43 +00:00
  • af584bd474 Fix packet length checksum computation. Romain Tartiere 2010-07-25 16:31:53 +00:00
  • 7f9f907bc2 Silent down compiler. Romain Tartiere 2010-07-24 18:54:50 +00:00
  • e6d079d87a Fix a regression introduced at r461. Romain Tartiere 2010-07-24 17:20:48 +00:00
  • 4ff66d125f Fix a regression introduced at r458. Romain Tartiere 2010-07-24 16:30:44 +00:00
  • 544bda197e Fix minor warning. Romuald Conty 2010-07-23 13:31:33 +00:00
  • edb62bd1cb Create pn53x_InDeselect function. Romuald Conty 2010-07-23 13:30:06 +00:00
  • 7eeb46ab68 Minor indentation fix. Romuald Conty 2010-07-23 12:48:30 +00:00