Commit graph

773 commits

Author SHA1 Message Date
Romuald Conty
c4bb23631b Do not export nfc_parse_device_desc() in libnfc API. 2010-07-22 16:13:02 +00:00
Emanuele Bertoldi
4bc522cd1e First prototype of argument parsing for device description (issue #87). 2010-07-22 13:41:20 +00:00
Romain Tartiere
7945dd18fa Enhance 'make indent'.
- Complete indent(1)'s arguments list;
  - Ensure files to be indented have no local edit;
  - Hide indent command-line details.  Since everything is static, no need for V=1 support.
2010-07-21 22:32:02 +00:00
Romain Tartiere
67fb1330f8 Rework the indent target.
- Check indent is present at ./configure stage;
  - If gindent(1) is installed, use it instead of indent(1);
2010-07-21 13:09:48 +00:00
Romuald Conty
2688de6500 API change: nfc_initiator_select_tag() is now nfc_initiator_select_passive_target() AND nfc_initiator_deselect_tag() is now nfc_initiator_deselect_target() 2010-07-21 10:37:37 +00:00
Romuald Conty
d97876714c Add indent directive in root Makefile. 2010-07-20 13:38:58 +00:00
Romuald Conty
0a87c18e7e nfc-mfultralight: we now can write OTP bytes if user want to. 2010-06-30 15:06:59 +00:00
Romuald Conty
379066f069 nfc-mfultralight: on write failure, continue if authenticate works. 2010-06-30 14:54:34 +00:00
Romain Tartiere
d8f12035fc Add missing carriage return at EOF (yes, I have nothing better to do ATM). 2010-06-26 21:56:32 +00:00
Romuald Conty
596733bacc nfc-mfultralight: Fix messages, we read/write pages not blocks. 2010-06-24 11:04:05 +00:00
Romuald Conty
688ebe2324 Re-ident examples/nfc-mfultralight.c using "indent -br -ce --line-length120 -nut -i2 -ppi 2" command line. 2010-06-24 10:19:01 +00:00
Romuald Conty
470dd8be05 nfc-mfultralight: Fix read and write counters. Code cleanup. 2010-06-24 10:16:09 +00:00
Romuald Conty
2e1fa09166 Set svn:ignore property on nfc-sam example. 2010-06-16 12:12:31 +00:00
Emanuele Bertoldi
e6d96333f7 nfc-sam: added some config operations. 2010-06-16 11:40:23 +00:00
Emanuele Bertoldi
f748ec1c59 nfc-sam: added FIXME notes. 2010-06-16 11:34:55 +00:00
Emanuele Bertoldi
391d066095 nfc-sam: improved output and error messages. 2010-06-16 11:32:16 +00:00
Emanuele Bertoldi
3f6109af52 Cleanup. 2010-06-16 11:23:13 +00:00
Emanuele Bertoldi
b2089e8bb0 nfc-sam: better connection management. 2010-06-16 11:21:27 +00:00
Emanuele Bertoldi
d593a8e4c9 Added use of nfc-messages. 2010-06-16 09:48:26 +00:00
Romuald Conty
f7c31885f5 Move all Mifare related code from libnfc API to examples: NFC is capable of Mifare, but Mifare is not NFC. 2010-06-15 15:33:22 +00:00
Romuald Conty
db735ab224 Prevent from sources files being executable. 2010-06-15 15:32:58 +00:00
Emanuele Bertoldi
4b5d3913d9 Cleanup. 2010-06-15 15:10:11 +00:00
Emanuele Bertoldi
8e4bef9c90 Added draft of a new libnfc-based example: nfc-sam.
It tests the comunication with a connected SAM (Secure Access Module).
2010-06-15 15:05:40 +00:00
Romuald Conty
ec48f04dd8 Bump package version to 1.3.9 since trunk looks like 1.4.x series. 2010-06-07 13:33:33 +00:00
Romuald Conty
d171562002 Re-ident examples/nfc-poll.c using "indent -br -ce --line-length120 -nut -i2 -ppi 2 " command line. 2010-06-07 09:51:31 +00:00
Romuald Conty
3c1a61349f Re-ident nfc-mfclassic.c using "indent -br -ce --line-length120 -nut -i2 -ppi 2 " command line. 2010-06-07 09:05:35 +00:00
Romuald Conty
8bac5355dd This should fix Issue 83. 2010-06-07 08:16:27 +00:00
Romuald Conty
2e39e56e17 Return value of pn53x_usb_list_devices() must bool, not void* 2010-05-28 09:55:13 +00:00
Romuald Conty
b05ab6285d Import some files that allow to build a correct libnfc's DLL on Windows platform. (Thanks to Roger Brown from Snapper) 2010-05-28 09:48:15 +00:00
Romuald Conty
07a779c880 Add a small example to diagnose basic elements (communication, rom and ram) of pn53x. 2010-05-28 09:09:36 +00:00
Romuald Conty
ac663d02a1 Use pn53x_decode_target_data() to decode target data in nfc_initiator_select_tag(). Fix Issue 82. 2010-05-18 10:57:38 +00:00
Romuald Conty
cf0c2dd9f2 Fix ATS lenght in pn53x_decode_target_data(). 2010-05-18 10:55:18 +00:00
Romuald Conty
8c1815fbea Move variable declarations in order to compile using non-C99 compiler. Fix Issue 80. 2010-05-18 08:27:50 +00:00
Romuald Conty
404dfba6e8 usb_release() must be called before usb_reset(). Fix Issue 81 (Thanks to thaolx). 2010-05-18 08:13:26 +00:00
Romain Tartiere
9941191cfc Fix build when configured with --enable-debug. 2010-04-28 12:55:00 +00:00
Romuald Conty
1b7a7a4be1 Fix Issue 79. Libtool now handle library creation. 2010-04-27 15:28:41 +00:00
Romuald Conty
6fd2ea41c5 Next release will not install extra headers. (Programs that depends on should copy theses files into their sources. 2010-04-27 15:22:26 +00:00
Romuald Conty
a98cd3837b CMake: fix win32 paths and remove hardcoded definitions. 2010-04-26 14:50:52 +00:00
Romuald Conty
6f04f3cb92 Windows zip archive with manual makefile is not generated anymore. 2010-04-26 13:40:42 +00:00
Romuald Conty
c2cead7089 Remove "manual" Windows makefile: Windows users should now use CMake. 2010-04-26 13:38:17 +00:00
Romuald Conty
693389ac10 Move additionnal files (for Windows) in contrib/ 2010-04-26 13:36:41 +00:00
Romain Tartiere
16786c61e3 Remove bitutils I reverted instead of removing in r412. 2010-04-26 13:20:57 +00:00
Romain Tartiere
b28abd77b0 Merge the libnfc-less-bitutils-more-ponies branch into trunk. 2010-04-26 13:13:13 +00:00
Romain Tartiere
00af8b7ae1 Fix ${DRIVERS_SOURCES} modifications. 2010-04-26 13:05:21 +00:00
Romuald Conty
e45a0943e8 Change to way to handle DRIVERS_SOURCES in CMake. 2010-04-26 13:00:41 +00:00
Romuald Conty
27ccf67503 Reorganize CMake sections. 2010-04-26 12:59:23 +00:00
Romuald Conty
194faf56fb make_release: Add a cleaning section. 2010-04-26 12:58:17 +00:00
Romuald Conty
854cfe15ec Fix ARYGON detection. Rename acConnect to acPort. Now use snprintf and strncpy (see Issue 78) 2010-04-22 10:22:41 +00:00
Romuald Conty
3e16031877 Fix ARYGON driver build (missing comma). 2010-04-22 09:01:22 +00:00
Romuald Conty
367e14dcc0 Prevent from potential buffer-overflows. 2010-04-21 10:58:04 +00:00