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 |
|
Audrey Diacre
|
b699743973
|
nfc_initiator_transceive_bits_timed() function does not now use pszRxBits as parameter because this function returns it.
|
2012-01-04 15:43:08 +00:00 |
|
Audrey Diacre
|
6e7092b160
|
nfc_initiator_transceive_bits() function does not now use pszRxBits as parameter because this function returns it.
|
2012-01-04 15:30:42 +00:00 |
|
Audrey Diacre
|
61c3e5b814
|
pn53x_wrap_frame() and pn53x_unwrap_frame() functions return now frame length in bits on success and libnfc error code on failure.
|
2012-01-04 14:59:16 +00:00 |
|
Audrey Diacre
|
0de1136037
|
nfc_target_receive_bits() function returns now received bits count on success and libnfc error code on failure.
|
2012-01-04 13:33:53 +00:00 |
|
Audrey Diacre
|
951dde8143
|
nfc_target_send_bits() function returns now sent bits count on success and libnfc error code on failure.
|
2012-01-04 13:27:15 +00:00 |
|
Audrey Diacre
|
1c49329ffa
|
nfc_initiator_transceive_bits_timed() function returns now received bits count on success and libnfc error code on failure.
|
2012-01-04 13:18:11 +00:00 |
|
Audrey Diacre
|
d02da0db64
|
nfc_initiator_transceive_bytes_timed() function returns now received bytes count on success and libnfc error code on failure.
|
2012-01-04 11:54:55 +00:00 |
|
Audrey Diacre
|
61074f3497
|
nfc_initiator_transceive_bits() function returns now received bits count on success and libnfc error code on failure.
|
2012-01-04 11:46:07 +00:00 |
|
Romuald Conty
|
d6477df7a6
|
doc: quick start example minor fix (make distcheck OK)
|
2011-12-22 17:40:22 +00:00 |
|
Audrey Diacre
|
9c1371dcca
|
nfc_target_send_bytes() function returns now sent bytes count on success and libnfc error code on failure.
|
2011-12-22 15:59:08 +00:00 |
|
Audrey Diacre
|
ac6f652368
|
nfc_target_receive_bytes() function returns now received bytes count on success and libnfc error code on failure.
|
2011-12-22 15:39:51 +00:00 |
|
Audrey Diacre
|
a40e63ab9d
|
test/tes_dep_*: now check there is one or more selected dep target.
|
2011-12-22 14:16:12 +00:00 |
|
Audrey Diacre
|
658fceb7fc
|
nfc_initiator_select_dep_target() function returns now selected D.E.P targets count on success.
|
2011-12-22 13:28:41 +00:00 |
|
Audrey Diacre
|
b864215d63
|
pn53x_initiator_poll_target() function returns now polled targets count on success.
|
2011-12-22 11:16:27 +00:00 |
|
Audrey Diacre
|
340e80d7a8
|
pn53x_initiator_select_passive_target_ext() function now does not return error when there is no target.
|
2011-12-21 11:52:02 +00:00 |
|
Audrey Diacre
|
f93bc59504
|
nfc_initiator_select_passive_target() function returns now the selected passive targets count on success.
|
2011-12-21 11:33:21 +00:00 |
|
Audrey Diacre
|
ff066e394d
|
nfc_initiator_deselect__target() function returns now libnf error code.
|
2011-12-21 09:53:16 +00:00 |
|
Audrey Diacre
|
c41d7de8ca
|
nfc_initiator_select_dep_target() function returns nox libnf error code and fix some uses of nfc_initiator_transceive_bytes() function.
|
2011-12-21 09:15:44 +00:00 |
|
Audrey Diacre
|
0f5cc5683d
|
nfc_initiator_poll_target() function returns now libnfc error code.
|
2011-12-20 15:46:35 +00:00 |
|
Audrey Diacre
|
42276ccd14
|
the following functions now return libnfc error code:
_ pn53x_set_tx_bits
_ pn53x_read_register
_ pn53x_InAutoPoll
_ pn53x_TgInitAsTarget
_pn53x_init
|
2011-12-20 14:41:17 +00:00 |
|
Audrey Diacre
|
c5f05f0592
|
pn53x_set_parameters() function returns now libnfc error code.
|
2011-12-20 13:37:54 +00:00 |
|
Audrey Diacre
|
9c5ec3c4e1
|
the following functions now return libnfc error code:
_pn53x_write_register()
_pn53x_WriteRegister()
_pn53x_transceive()
_pn53x_SAMConfiguration()
_pn53x_PowerDown()
_pn53x_InListPassiveTarget()
_pn53x_InDeselect()
_pn53x_InRelease()
_pn53x_RFConfiguration__*
|
2011-12-20 11:25:33 +00:00 |
|