Ludovic Rousseau
e80d545b38
Fix compiler warning
...
mirror-subr.c:64: warning: no previous prototype for ‘mirror_bytes’
2012-05-13 12:58:44 +00:00
Ludovic Rousseau
5c82158a5d
Declare internal functions as static
...
Fixes compiler warnings:
pn53x.c:565: warning: no previous prototype for ‘pn53x_ReadRegister’
pn53x.c:591: warning: no previous prototype for ‘pn53x_WriteRegister’
pn53x.c:748: warning: no previous prototype for ‘pn53x_int_to_timeout’
pn53x.c:1003: warning: no previous prototype for ‘pn53x_initiator_select_passive_target_ext’
pn53x.c:1334: warning: no previous prototype for ‘__pn53x_init_timer’
pn53x.c:1355: warning: no previous prototype for ‘__pn53x_get_timer’
2012-05-13 12:29:39 +00:00
Ludovic Rousseau
59b8ffcdb1
Declare internal functions as static
...
Fixes compiler warnings:
acr122_pcsc.c:106: warning: no previous prototype for ‘acr122_pcsc_get_scardcontext’
acr122_pcsc.c:118: warning: no previous prototype for ‘acr122_pcsc_free_scardcontext’
acr122_pcsc.c:198: warning: no previous prototype for ‘acr122_pcsc_connstring_decode’
2012-05-13 12:23:42 +00:00
Romuald Conty
851d035588
drivers/pn532_uart: flush uart input on error to resync uart port
2012-05-10 19:37:55 +00:00
Romuald Conty
4990f57df8
debug messages are sent in stderr stream (Thanks to Spock)
2012-05-02 01:46:44 +00:00
Romuald Conty
8549bc1e4c
share some traces with USB devices (Thank to yobibe)
2012-05-01 23:17:24 +00:00
Romuald Conty
82b2cfa883
Smart merge of acr122_usb branch: add acr122_usb driver without removing acr122_pcsc support.
2012-05-01 23:09:57 +00:00
Romain Tartiere
2f9bc90a95
Don't return pointer on freed memory on error.
...
PR: http://code.google.com/p/nfc-tools/issues/detail?id=87
Submitted by: jkmalinen@gmail.com
2012-03-05 07:28:45 +00:00
Romain Tartiere
68a1d5c450
Fix another warning for files not compiled in the default configuration.
2012-03-01 14:01:08 +00:00
Romuald Conty
e7f85811a1
fix *get_supported_modulation and *get_supported_baud_rate protos in nfc_driver and public ones.
2012-03-01 13:52:51 +00:00
Romuald Conty
f98437c377
fix pn53x_get_supported_modulation() and pn53x_get_supported_baud_rate() functions
2012-03-01 13:43:04 +00:00
Romain Tartiere
05789e5a68
Fix a couple warnings.
2012-03-01 13:33:13 +00:00
Romuald Conty
03d185b536
Prepare libnfc 1.6.0-rc1
2012-03-01 11:37:16 +00:00
Romuald Conty
4878361d27
drivers/acr122s: fix ACR122S initialization (Fixes Issue 185)
2012-02-27 14:10:47 +00:00
Audrey Diacre
4cc3c72b31
add nfc_device_get_supported_modulation() and nfc_device_get_supported_baud_rate() documentation.
2012-02-20 08:36:15 +00:00
Audrey Diacre
5a5bdf1d66
add nfc_device_get_supported_modulation() and nfc_device_get_supported_baud_rate() functions.
2012-02-17 12:09:56 +00:00
Audrey Diacre
e9bd9e4b67
documentation: exclude some files.
2012-01-31 15:35:13 +00:00
Audrey Diacre
983d4932f3
documentation: add utils and examples and hide internal files.
2012-01-31 14:28:45 +00:00
Audrey Diacre
908fa416bf
documentation
2012-01-31 10:02:38 +00:00
Audrey Diacre
3d393e58a9
add some Doxygen documentation.
2012-01-31 09:49:43 +00:00
Audrey Diacre
17c4a09c8f
add modules in documentation.
2012-01-30 11:00:02 +00:00
Audrey Diacre
0f20377541
add some API documentations.
2012-01-30 09:43:58 +00:00
Romuald Conty
70484509af
libnfc-1.5-acr122-usb> support for ACR122U only (not Touchatag)
2012-01-27 14:38:14 +00:00
Romuald Conty
24e298626a
libnfc-1.5-acr122-usb> fix minor bugs and apply pn53x_usb's patch to be used under FreeBSD too
2012-01-26 21:36:08 +00:00
Romuald Conty
e49eb6c660
libnfc-1.5-acr122-usb> import partial work on "ACR122 without PCSC" driver
2012-01-26 15:23:11 +00:00
Audrey Diacre
26245add73
Merge libnfc-1.5-new-api branch to trunk (r1168:1303).
2012-01-25 09:56:05 +00:00
Audrey Diacre
1f3b995c2a
add iso14443a_crc as symbol to expose for libfreefare.
2012-01-24 08:42:47 +00:00
Audrey Diacre
5a475cf074
add some whitespaces
2012-01-20 09:17:38 +00:00
Audrey Diacre
838faa8d7e
define symbols to expose (Fixes Issue 183).
2012-01-19 11:50:15 +00:00
Romuald Conty
a3a0002f8d
fix miss-returned error code (ETGREL -> NFC_ETGRELEASED).
2012-01-18 18:08:39 +00:00
Audrey Diacre
4c011279ff
add context to nfc_init(), nfc_exit(), nfc_open() and nfc_list_devices() functions.
2012-01-18 16:22:06 +00:00
Audrey Diacre
86c8ce536b
acr122.c: apply changes done in r1296.
2012-01-18 14:44:57 +00:00
Romain Tartiere
3aa31abe18
Add missing header.
2012-01-18 13:21:06 +00:00
Romuald Conty
b366b8c027
add nfc_device_get_connstring() function and nfc-probe example to show devices connection strings
2012-01-18 13:17:01 +00:00
Romain Tartiere
39216f9d7c
Do not rely on int to locate USB bus and devices: FreeBSD's libusb use path of
...
devices in /dev for bus (/dev/usb) and devices (e.g. /dev/ugen0.3) so directly
Compare strings.
2012-01-18 13:13:36 +00:00
Audrey Diacre
207199dc34
examples, test and utils use now nfc_exit() function.
2012-01-18 11:36:18 +00:00
Audrey Diacre
1d55b6f8c6
examples, test and utils use now nfc_init() function.
2012-01-18 11:09:01 +00:00
Audrey Diacre
d1b0e93e8e
add initialization and deinitialization.
2012-01-18 09:53:45 +00:00
Romuald Conty
38bdfe3281
pn53x_usb: minor code clean up.
2012-01-18 09:39:33 +00:00
Audrey Diacre
324af418db
rename nfc_connect() function to nfc_open().
2012-01-17 15:21:56 +00:00
Audrey Diacre
9eb37b3eee
rename nfc_disconnect() function to nfc_close().
2012-01-17 14:52:39 +00:00
Audrey Diacre
9d3ca39a44
remove _t suffix from nfc_driver_t type.
2012-01-17 14:17:01 +00:00
Romain Tartiere
ba58138aa9
PRIu32 is defined in inttypes.h.
2012-01-17 13:51:58 +00:00
Audrey Diacre
bd0de9bd61
test: rename test_dep to test_device_modes_as_dep and improve it.
2012-01-13 09:58:47 +00:00
Audrey Diacre
0e2c60d0fa
fix some last_error with result of previous function.
2012-01-12 13:52:48 +00:00
Audrey Diacre
f9a464e256
nfc_perror() function displays now LIBNFC_ERROR.
2012-01-11 08:47:14 +00:00
Romuald Conty
e86d08218b
add nfc_initiator_poll_dep_target()
2012-01-10 14:17:18 +00:00
Romuald Conty
efa86f0e35
fix various minor mistakes, ajust timeouts
2012-01-10 14:10:44 +00:00
Audrey Diacre
1ec504e163
nfc_list_devices() function returns now the number of devices found.
2012-01-10 10:35:36 +00:00
Audrey Diacre
00818e048c
rx buffer size parameter of nfc_target_init() function is now a const size_t.
2012-01-09 11:26:57 +00:00