Romain Tartiere
3e8e1c8844
Fix build on Windows (using cmake and nmake).
2010-04-16 20:39:56 +00:00
Romain Tartiere
39761badb7
Fix cmake breakage introduced in r360:
...
undefined reference to `print_nfc_iso14443a_info'
2010-04-16 17:20:22 +00:00
Romain Tartiere
4dbeff47db
Fix warnings on 32bit systems:
...
- format '%ld' expects type 'long int', but argument 2 has type 'unsigned int';
- format '%ld' expects type 'long int', but argument 2 has type 'size_t'.
Tested on FreeBSD arm.
2010-04-15 23:11:36 +00:00
Romuald Conty
d74e68a3fd
Add nfc-utils.h to generated tarball. (make distcheck OK)
2010-04-15 17:36:43 +00:00
Romuald Conty
332eed3596
nfc-poll: raise polling duration from 1500ms to 6000ms.
2010-04-13 14:07:29 +00:00
Romuald Conty
e886ef4f48
nfc-poll: Warn user when hardware does not support polling.
2010-04-09 23:38:05 +00:00
Romuald Conty
c9370e6fac
Prevent from running polling on hardware that does not support it.
2010-04-09 23:11:20 +00:00
Romain Tartiere
ae99d155b5
Make nfc-list rely on the libnfcutils.a convenience library and call nfc_initiator_select_tag().
2010-04-09 22:08:17 +00:00
Romain Tartiere
b8630c4230
Fix various warnings:
...
- format '%d' expects type 'int', but argument 2 has type 'long unsigned int';
- format '%d' expects type 'int', but argument 2 has type 'size_t';
- unused variable 'nti';
- unused parameter 'argc'.
2010-04-09 22:03:52 +00:00
Romain Tartiere
ee3715e267
Add convenience library infrastructure and move the print_nfc_iso14443a_info() function away from bitutils.
2010-04-09 21:57:03 +00:00
Romuald Conty
2714180227
Add new example to show how to use new polling function.
2010-04-09 16:21:25 +00:00
Romain Tartiere
5473befa13
Fix a brunch of -Wextra warnings:
...
- 'static' is not at beginning of declaration;
- unused parameter;
- comparison between signed and unsigned.
2010-04-07 15:08:04 +00:00
Romain Tartiere
c7d77d7664
Rearrange source code.
2010-04-07 14:37:19 +00:00