Commit graph

36 commits

Author SHA1 Message Date
Romuald Conty
a303b9e33c Updates ChangeLog 2013-01-30 01:15:41 +01:00
Romuald Conty
98948172b4 Fixes pn53x_usb timeout while bulk write.
Thanks to Tredger for reporting.

Fixes issue 223.
2013-01-30 00:57:06 +01:00
Romuald Conty
cd2b03a08a Add timeout parameter to nfc_emulate_target() function.
Fixes issue 219.

Thanks to raidolinja.
2013-01-30 00:10:24 +01:00
Romuald Conty
ca7d01ade3 Enables pn532_uart driver by default 2013-01-20 17:00:21 +01:00
Philippe Teuwen
ea05559fa5 Prepare for version 1.7.0-RC2 2013-01-20 15:45:57 +01:00
Romuald Conty
2d53208082 Fix unit tests
This commit bring tests to life!

New issue
Summary: test_dep_states test fails
When first device is idle, the second one states  "RF Transmission Error" instead of simply not found any available device.
Full cutter log here:

debug   libnfc.chip.pn53x       InJumpForDEP
debug   libnfc.chip.pn53x       Timeout values: 300
debug   libnfc.bus.uart TX: 00  00  ff  05  fb  d4  56  00  00  00  d6  00
debug   libnfc.bus.uart RX: 00  00  ff  00  ff  00
debug   libnfc.chip.pn53x       PN53x ACKed
debug   libnfc.bus.uart Timeout!
debug   libnfc.chip.pn53x       InJumpForDEP
debug   libnfc.chip.pn53x       Timeout values: 300
debug   libnfc.bus.uart TX: 00  00  ff  05  fb  d4  56  00  00  00  d6  00
debug   libnfc.bus.uart RX: 00  00  ff  00  ff  00
debug   libnfc.chip.pn53x       PN53x ACKed
debug   libnfc.bus.uart RX: 00  00  ff  03  fd
debug   libnfc.bus.uart RX: d5  57
debug   libnfc.bus.uart RX: 01
debug   libnfc.bus.uart RX: d3  00
debug   libnfc.chip.pn53x       Chip error: "Timeout" (01), returned error: "RF Transmission Error" (-20))
F
===============================================================================
Failure: test_dep_states
Problem with nfc_idle
<0 == res>
expected: <0>
  actual: <-20>

diff:
? -20

./test_device_modes_as_dep.c:171: initiator_thread(): cut_assert_equal_int(0, res, cut_test_context_set_current_result_user_message( cut_test_context_current_peek(), cut_test_context_take_printf(cut_test_context_current_peek(), "Problem with nfc_idle")))
===============================================================================
2013-01-18 18:28:45 +01:00
Romuald Conty
de62e4c011 Prepare 1.7.0 release candidate 1 2012-12-23 20:04:34 +01:00
Romuald Conty
9720bc45b4 Prepare libnfc 1.6.0-rc1 2012-03-01 11:24:59 +00:00
Romuald Conty
b7f928a24c Update ChangeLog 2011-10-17 16:40:24 +00:00
Romuald Conty
dc842a844c examples/nfc-read-forum-tag3: add new example to read a NFC Forum Tag Type 3 2011-10-10 00:40:34 +00:00
Romuald Conty
dccfd65c80 Add software polling for non-PN532 equipped device (Fixes Issue 136) 2011-10-03 11:19:08 +00:00
Romuald Conty
a2eb6a1f49 Update ChangeLog 2011-10-02 21:52:05 +00:00
Romain Tartiere
481fb4943f - Add timeout capablities to nfc_initiator_transceive_bytes(), nfc_target_send_bytes() and nfc_target_receive_bytes();
- Bump version to 1.5.1.
2011-09-22 13:03:47 +00:00
Romuald Conty
ca8bd1df91 logging: remove semaphore usage since libnfc is not threaded and log4c does handle threaded cases itself. (Should ease Windows compiling) 2011-09-20 14:07:40 +00:00
Romuald Conty
517cde2517 Prepare 1.5.0 version 2011-04-29 10:13:57 +00:00
Romuald Conty
b4d23795de Prepare 1.4.2 version 2011-02-22 14:17:20 +00:00
Romuald Conty
659d7a9de1 Prepare 1.4.1 version 2011-02-01 09:49:41 +00:00
Romuald Conty
ca594f3198 Update ChangeLog 2010-11-17 14:44:22 +00:00
Romuald Conty
7b29e44698 Updating ChangeLog 2010-10-26 14:43:45 +00:00
Philippe Teuwen
17f79a744b Updating ChangeLog & NEWS 2010-10-20 20:56:12 +00:00
Romuald Conty
dd0c4ad785 Update ChangeLog 2010-10-20 08:34:54 +00:00
Romain Tartiere
b8910c5bd5 Sum up recent API changes for the user. 2010-10-15 19:35:53 +00:00
Romuald Conty
89971c9036 Update human readable ChangeLog 2010-09-29 12:41:46 +00:00
Romain Tartiere
cbbe559f94 Alse remove nfc_target_receive_dep_bytes() and nfc_target_send_dep_bytes().
Update issue 106
Implement what's described in comment 3, 7 and 8.
2010-09-03 16:45:24 +00:00
Romain Tartiere
a5676ecd94 Remove nfc_initiator_transceive_dep_bytes() and introduce NDO_EASY_FRAMING option.
Always use nfc_initiator_transceive_bytes(). If you where using advanced
features and already relying on nfc_initiator_transceive_bytes(), then your
code has to be updated to unset the NDO_EASY_FRAMING option.  See an example of
such a change in the libfreefare's repository:
http://code.google.com/p/nfc-tools/source/detail?r=566

Updates issue 106
Status: Feedback
Romuald: I am not sure about the option enum values.  I took 0x02 thinking it
would not hurt but am not really sure about that because I can see many 'holes'
in the sequence.
2010-09-03 16:13:36 +00:00
Romuald Conty
4ac54cf6e1 Prepare 1.3.9 version 2010-08-31 14:28:41 +00:00
Romain Tartiere
daa178b18f Enhance error handeling.
- New API functions: nfc_strerror(), nfc_strerror_r() and nfc_perror();
  - Drivers now have a reference to chips callback methods;
  - Rename -pn53x_err2string to pn53x_strerror and add it to pn53x_callbacks_list.
2010-07-29 14:16:11 +00:00
Romuald Conty
be1639b452 Prepare libnfc 1.3.4 (ChangeLog) 2010-04-06 21:19:40 +00:00
Romuald Conty
738885cc1a Prepare 1.3.3 2010-02-17 15:02:03 +00:00
Romuald Conty
99c2a0aaf5 Update ChangeLog. 2010-01-14 16:33:08 +00:00
Romain Tartiere
31597117a2 Update the ChangeLog entry of FreeBSD support (libnfc has not been run on a "today current" -CURRENT FreeBSD system. It's smooth on -STABLE BTW).
While here, fix a typo and adjust style for consistency.
2010-01-06 10:24:49 +00:00
Romuald Conty
d90ed8632a Updated ChangeLog. 2009-11-27 11:56:44 +00:00
Romuald Conty
d6a4a2b422 Update ChangeLog, debian files and bump library version to 1.2.1. 2009-07-24 14:51:03 +00:00
Romuald Conty
d777e801fc Update ChangeLog for 1.2.0 2009-07-23 14:45:50 +00:00
Romuald Conty
c0bcce387e Fix stupid mistake in autogen.sh. MacOSX users can now run ./configure without problem.
Add ChangeLog information for next release.
2009-07-22 09:27:59 +00:00
Romuald Conty
0b979eaee2 libnfc can now be compiled using autotools and libtool.
It now provide a pkg-config file allowing a simplified compilation against libnfc.
2009-05-04 08:00:08 +00:00