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 |
|
Romain Tartiere
|
2d393bff91
|
Make these function accept no argument (instead of any).
|
2012-01-15 11:06:24 +00:00 |
|
Audrey Diacre
|
84a864f8d3
|
test/test_device_modes_as_dep: increase duration of sleep() between nfc_idle() and nfc_target_init() to wait for the end of nfc_initiator_poll_dep_target().
|
2012-01-13 14:41:27 +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
|
cc8d4f68ab
|
tests: add test_dep which tests states of 2 devices.
|
2012-01-12 08:49:19 +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 |
|
Audrey Diacre
|
5e796e0a26
|
rx buffer size parameter of pn53x_TgInitAsTarget() function is now a const size_t.
|
2012-01-09 10:47:35 +00:00 |
|
Audrey Diacre
|
c10b473361
|
rx buffer size parameter of pn53x_transceive() function is now a const size_t.
|
2012-01-09 10:24:00 +00:00 |
|
Romuald Conty
|
7df3bb5aeb
|
various minor fixes/enhancements
|
2012-01-06 13:08:16 +00:00 |
|
Audrey Diacre
|
e15f2eedbb
|
rename lastCommand by last_command.
|
2012-01-06 13:07:37 +00:00 |
|
Romuald Conty
|
48e92149e4
|
drop log4c support
|
2012-01-06 13:05:10 +00:00 |
|
Audrey Diacre
|
b41edfb0b4
|
rename ui8LastCommand by lastCommand.
|
2012-01-06 09:20:55 +00:00 |
|
Audrey Diacre
|
3b8598dde8
|
libnfc/test: fix some forgotten modifications due to the last revision.
|
2012-01-06 08:36:24 +00:00 |
|
Romuald Conty
|
22bea8d99b
|
nfc_target_receive_*() need to know rx buffer size
|
2012-01-05 21:35:02 +00:00 |
|
Audrey Diacre
|
601105ef79
|
fix bad cast done in last revision.
|
2012-01-05 17:03:38 +00:00 |
|
Audrey Diacre
|
642f9a38f7
|
nfc_target_receive_bytes() function does not now use pszRx as parameter because this function returns it.
|
2012-01-05 16:33:55 +00:00 |
|
Audrey Diacre
|
7e7ee3299e
|
nfc_target_receive_bits() function does not now use pszRxBits as parameter because this function returns it.
|
2012-01-05 15:50:07 +00:00 |
|
Audrey Diacre
|
239fd750c4
|
add timeout on nfc_target_init() and this function returns now received bytes count on success.
|
2012-01-05 15:10:11 +00:00 |
|
Audrey Diacre
|
c80ebdca25
|
nfc_abort_command() function returns now 0 on success and libnfc error code on failure and fix some warnings.
|
2012-01-05 14:49:02 +00:00 |
|
Audrey Diacre
|
8b07a5f4c7
|
libnfc/drivers: pn53x_usb_init() function returns now 0 on success and libnfc error code on failure.
|
2012-01-05 14:05:43 +00:00 |
|
Audrey Diacre
|
5d4f22c548
|
libnfc/drivers: pn532_uart_ack() and arygon_reset_tama() functions return now libnfc error code on failure.
|
2012-01-05 13:56:12 +00:00 |
|
Audrey Diacre
|
c30e9eed36
|
send/receive callbacks from internal chip io return now libnfc error code on failure.
|
2012-01-05 13:24:41 +00:00 |
|
Audrey Diacre
|
81d76c8c70
|
check result of nfc_disconnect() function in examples/nfc-dep-initiator.c
|
2012-01-05 10:56:36 +00:00 |
|
Audrey Diacre
|
5a1f0c2115
|
check result of nfc_initiator_init() function in examples/ and utils/
|
2012-01-05 10:33:50 +00:00 |
|
Audrey Diacre
|
331234713d
|
nfc_idle() function returns now 0 on success and libnfc error code on failure.
|
2012-01-05 08:57:16 +00:00 |
|
Audrey Diacre
|
6ad07c3efb
|
pn53x_writeback_register() function returns now 0 on success and libnfc error code on failure.
|
2012-01-05 08:42:22 +00:00 |
|
Romuald Conty
|
93b34fa70b
|
enhance new error handling
- add accessor to last error occured
- add new public error NFC_ETGRELEASED (Target Released)
|
2012-01-05 01:39:10 +00:00 |
|
Romuald Conty
|
125553c72e
|
verbose option back for nfc-list, and newly implemented in nfc-poll
|
2012-01-04 21:29:43 +00:00 |
|
Romuald Conty
|
af22d34d57
|
fix some return codes and error checkings
|
2012-01-04 20:50:05 +00:00 |
|
Romuald Conty
|
254053b940
|
fix few minor bugs:
- timeout values handling in pn53x_transceive()
- check error code after filling it in pn53x_transceive()
- fix pn53x_check_communication() return code
- lower timeout default values
- fix arygon_abort() return code
|
2012-01-04 20:02:51 +00:00 |
|
Audrey Diacre
|
52c72383f1
|
pn53x_build_frame() function returns now 0 on success and libnfc error code on failure.
|
2012-01-04 16:44:40 +00:00 |
|
Audrey Diacre
|
e87241184a
|
pn53x_check_ack_frame() and pn53x_check_error_frame() functions return now 0 on success and libnfc error code on failure.
|
2012-01-04 16:32:16 +00:00 |
|
Audrey Diacre
|
4b373263e4
|
pn53x_idle() returns now 0 on success and libnfc error code on failure.
|
2012-01-04 16:26:57 +00:00 |
|
Audrey Diacre
|
7e1c776bc1
|
pn53x_check_communication() returns now 0 on success and libnfc error code on failure.
|
2012-01-04 16:19:24 +00:00 |
|
Audrey Diacre
|
240cdcddab
|
pn53x_decode_target_data() returns now 0 on success and libnfc error code on failure.
|
2012-01-04 16:11:30 +00:00 |
|
Audrey Diacre
|
d4c5476652
|
pn53x_get_firmware_version() returns now 0 on success and libnfc error code on failure..
|
2012-01-04 16:07:57 +00:00 |
|
Audrey Diacre
|
c1faa48f54
|
fix nfc_target_init().
|
2012-01-04 15:59:34 +00:00 |
|
Audrey Diacre
|
a41b2b0da8
|
nfc_initiator_transceive_bytes_timed() function does not now use pszRx as parameter because this function returns it.
|
2012-01-04 15:53:41 +00:00 |
|