Romuald Conty
6b5cd55fbf
Always add newer files when releasing
2013-01-15 14:28:34 +01:00
Romuald Conty
f2be582cd5
Fix timeout documentation
2013-01-15 14:22:21 +01:00
Romuald Conty
5d45718fe1
Fix Debian package for 1.7.0-RC1
2013-01-15 14:21:19 +01:00
Romuald Conty
945e1d140d
Bump API version
2013-01-15 13:45:48 +01:00
Romuald Conty
50401c5bf6
Fix CMake build
2013-01-15 13:45:28 +01:00
Philippe Teuwen
0458c8e24e
debian/rules: don't enable debug by default anymore as it can be done easily at runtime with LIBNFC_LOG_LEVEL
2013-01-10 23:57:12 +01:00
Romuald Conty
ff3d8f708d
Debian package update
2012-12-23 20:09:26 +01:00
Romuald Conty
de62e4c011
Prepare 1.7.0 release candidate 1
2012-12-23 20:04:34 +01:00
Romuald Conty
82c41b4fc1
Fixes style: make style
2012-12-09 20:09:55 +01:00
Romuald Conty
007b78cbb4
Uses less ambiguous include when compiles for Windows platform
2012-12-09 19:27:46 +01:00
Romuald Conty
8d9d6a5696
Add ttyAMA* to radix list from UART scanning
...
It allows a PN532 UART connected on raspberry pi to be detected when intrusive scan allowed (e.g. with nfc-scan-device -i)
2012-12-09 19:10:35 +01:00
Romuald Conty
484dd5dfa5
Improves mingw-cross-configure.sh script using patch provided by Frank Morgner, thanks!
2012-12-05 18:27:40 +01:00
Romuald Conty
0af58b1cdd
Attempt to build libnfc under for Windows target.
...
This commit fixes some issues related to the new log system, but libnfc can not build on Windows in this stage since regex.h have been introduced for configuration file parsing and regex.h is not available in Windows.
New issue
Summary: Update Windows port
Due to the recent configuration file parsing introduction, libnfc can not be built under Windows: regex.h is missing.
Google says there is a port of PCRE for Windows which contains a compiliant regex.h.
Contribution are welcome as nobody from currently active team use Windows as OS.
2012-12-05 18:22:27 +01:00
Romuald Conty
8f015c4369
Suppress warnings: "ISO C99 requires rest arguments to be used"
2012-12-05 16:53:43 +01:00
Romuald Conty
08f428fbdf
Fix CMake build.
2012-12-05 16:47:08 +01:00
Romuald Conty
53349c8c20
Prevent from segfault if user add too many devices in configuration file(s)
2012-12-05 16:41:44 +01:00
Romuald Conty
a3a3fa2848
Enhance messages display
2012-12-05 16:40:52 +01:00
Romuald Conty
995368cffa
Update quick_start_examples
2012-12-05 02:05:16 +01:00
Philippe Teuwen
6be0b2396c
Fix typos
2012-12-05 01:32:45 +01:00
Romuald Conty
5b0e276572
Examples and utils are now updated to use the requiered nfc_context
2012-12-05 00:51:13 +01:00
Romuald Conty
dc949c257e
Removes nfc_get_default_device() function.
...
The nfc_get_default_device() is not needed anymore since the first element from returned nfc_connstring list of nfc_list_devices() function.
Plus, nfc_open() can be use with NULL nfc_connstring which will select automatically the first available device (ie. the default one).
2012-12-05 00:51:13 +01:00
Romuald Conty
03e5611d14
New feature: search in a directory for devices configuration files.
2012-12-05 00:51:13 +01:00
Romuald Conty
84dc268781
New feature: user can define a device by conf file.
2012-12-05 00:51:13 +01:00
Romuald Conty
0fd3c9fab3
Provides modprobe configuration file and instructions for PN533 and Linux >3.1 users.
2012-12-05 00:51:13 +01:00
Philippe Teuwen
cf6d843c18
Fix pseudo-logging API when no logging is used
2012-12-04 19:14:37 +01:00
Philippe Teuwen
2651cdce2e
Remove last SVN cruft
2012-11-27 18:56:54 +01:00
Philippe Teuwen
ac1d05328b
update NEWS to reflect API change for nfc_initiator_transceive_*()
2012-11-27 18:50:00 +01:00
Romuald Conty
9b3947b8ed
Improves log feature:
...
* Add --disable-log
* Add a log level filter, configurable using conf file (ie. /etc/nfc/libnfc.conf) or environment var LIBNFC_LOG_LEVEL
2012-11-26 21:02:03 +01:00
Romuald Conty
d6c879083c
git ignore more generated files.
2012-11-24 20:14:09 +01:00
Romuald Conty
4722b7dd97
SVN_REVISION is not relevant anymore, use GIT_REVISION (git describe
) instead.
2012-11-24 20:11:12 +01:00
Romuald Conty
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 ;-)
2012-11-24 13:10:52 +01:00
Romuald Conty
3ee77eb79e
Fix *transceive*() calls from examples and utils (bug introduced in previous commit)
2012-11-24 13:00:23 +01:00
Romuald Conty
6650105174
Add some functions parameters documentation.
2012-11-23 16:58:10 +01:00
Romuald Conty
c239873634
Add missing NFC_EMFCAUTHFAIL error string.
2012-11-23 16:55:45 +01:00
Romuald Conty
dd451da4a5
Change *transceive*() API to be closer to *transceive_bytes.
...
Warning: only prototypes have been changed, implementation does not take care about buffer size.
New issue
Summary: Implement buffer overflow protection on all *transceive*() functions
*transceive*() functions do have an argument for rx buffer but some of them dont use it to protect user from buffer overflow.
2012-11-23 16:54:38 +01:00
Philippe Teuwen
7437f76007
simplify quick_start_example1 and add quick_start_example2
2012-11-16 12:25:27 +01:00
Philippe Teuwen
fda8d60ce0
Adapt *transmit_bytes_timed API to be closer to *transmit_bytes
2012-11-12 16:54:03 +01:00
Philippe Teuwen
6c7c0a6e63
ReadMobib: make it compatible with Basic card
2012-11-10 17:11:48 +01:00
Romuald Conty
9f90a04a84
nfc_initiator_transceive_bytes() returns NFC_EMFCAUTHFAIL when AUTH command failed on a Mifare Classic
2012-11-01 01:27:06 +01:00
Romuald Conty
3629219a3b
Caller expect nfc_initiator_deselect_target() to be 0 on success. (Fixes Issue 209)
...
Thanks to Frank Morgner.
2012-10-30 23:22:22 +01:00
Romuald Conty
e4ebfccc54
Debian package: nfc-probe have been renamed, nfc-read-forum-tag3 man page added (Fixes Issue 210).
...
Thanks to UNFORGiVEN512.
2012-10-30 23:11:34 +01:00
Romuald Conty
bbf0d819f6
Debian package: remove invalid email address
2012-10-30 23:09:55 +01:00
Romuald Conty
86b49d14ea
Ignore generated files in Git repo
2012-10-30 23:09:04 +01:00
Romuald Conty
56f9de23be
Autotools now distributes nfc-read-forum-tag3 man page in tarball
2012-10-30 22:59:43 +01:00
Romuald Conty
d6c97cb974
Fixes CMake build (Fixes Issue 211).
...
Thanks to Alex Lian
2012-10-30 22:29:13 +01:00
Romuald Conty
f1b55b5390
debian/rules: no more --enable-serial-probe option
2012-10-21 14:12:14 +00:00
Romuald Conty
bed1d4ba5e
Add -i option to nfc-scan-device to allow intrusive scan and add a manpage for this util.
2012-10-21 14:12:04 +00:00
Romuald Conty
397222c33f
Removes --enable-serial-autoprobe option at compile and replace this feature by LIBNFC_INTRUSIVE_SCAN environment variable at run time.
2012-10-21 14:11:38 +00:00
Romuald Conty
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
2012-10-21 14:11:17 +00:00
Romuald Conty
6bc9d64fbb
Remove unused prototypes in drivers/*.h
2012-10-21 14:10:43 +00:00