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