Romuald Conty
b3cade2db2
Fix writeback cache size and some typo.
2011-05-09 19:55:22 +00:00
Romuald Conty
009d851771
Implement WriteBack cache (Fixes Issue 155)
2011-05-09 19:34:00 +00:00
Romuald Conty
95914345e1
chips/pn53x: add pn53x_data_new() function to alloc and init pn53x_data structure.
2011-05-09 18:47:48 +00:00
Romuald Conty
ebb352f1f3
Clean up and add some debug msg on ReadRegister/WriteRegister
2011-05-09 15:14:50 +00:00
Romuald Conty
25e2dbec95
chips/pn53x: set ui8LastCommand in chip layer instead of driver layer.
2011-05-09 14:22:12 +00:00
Romuald Conty
902bbfb04c
Fix a segfault when abort_p is NULL.
2011-05-09 11:19:01 +00:00
Romuald Conty
921d28d976
Attempt to provide an abort mecanism for windows users...
2011-05-09 11:14:43 +00:00
Romuald Conty
468027ba2b
chips/pn53x: PN532 now goes in LowVBat mode when setting idle mode from target mode.
2011-05-09 10:44:44 +00:00
Romuald Conty
be0f0b0828
New function nfc_idle() to set the NFC device in idle mode.
...
nfc_disconnect() now switch NFC device into idle before disconnecting;
pn53x_data now have a operating_mode enum to know the current running mode (initiator, target or idle);
new pn53x_PowerDown wrapper for PowerDown (PN532) command;
Note: ARYGON idle mode now to be implemented and ACR122 does not support this mode.
2011-05-09 10:09:40 +00:00
Philippe Teuwen
a2a93e7224
nfc-relay: fix UID
2011-05-09 08:51:07 +00:00
Romuald Conty
3a9327d1be
document nfc_abort_command()
2011-05-06 23:25:41 +00:00
Philippe Teuwen
d834860965
Add partial support (list) for ISO14443B-3 ST SRx & ASK CTx cards
2011-05-06 19:11:03 +00:00
Romuald Conty
805d738b24
Implement PN53x extended information frames with USB devices. (Fixes Issue 158)
2011-05-06 15:03:08 +00:00
Romuald Conty
11a91af749
Add some SFR registers description, typo in PN53X_REG_CIU_TxMode address.
2011-05-06 14:32:32 +00:00
Romuald Conty
cd6946e751
Add ISO/IEC 14443 B' aka Type B' modulation partial support
2011-05-06 14:14:06 +00:00
Philippe Teuwen
77e522aade
chips/pn53x.c: allow null reception buffers for transceive commands
2011-05-05 23:13:49 +00:00
Philippe Teuwen
c0a38e6eb0
drivers: fix bug on receive: all pn53x_transceive after an error were flagged as erroneous
2011-05-05 22:26:51 +00:00
Romuald Conty
cad3dc652d
chips/pn53x: print a debug trace when reading PN53x registers.
2011-05-05 18:19:20 +00:00
Romuald Conty
579102bd7b
add some manual test reports.
2011-05-05 16:03:09 +00:00
Romuald Conty
04820bea47
chips/pn53x: set some parameters in FeliCa when using DEP mode.
2011-05-05 15:19:46 +00:00
Romuald Conty
80b4cd9767
chips/pn53x: set some parameters in ISO/IEC 14443A when using DEP mode (ie. SAK says ISO/IEC 18092 compliant)
2011-05-05 15:00:34 +00:00
Philippe Teuwen
e276d3e6ba
nfc_target_init: drop explicitely the field
2011-05-05 14:58:26 +00:00
Romuald Conty
651d88fd15
examples/nfc-anticol: now use nfc_abort_command()
2011-05-05 14:24:27 +00:00
Philippe Teuwen
8dd8d25ef7
LoGO progressive field: remove hacks, unneeded with revised initializations
2011-05-05 12:45:56 +00:00
Romuald Conty
64b036b129
drivers: InDataExchange is an abortable command too.
2011-05-05 11:49:43 +00:00
Romuald Conty
008f2a8d4c
Minor returns fixes.
2011-05-05 11:46:12 +00:00
Philippe Teuwen
eb86efa341
oops typo
2011-05-05 10:14:21 +00:00
Philippe Teuwen
4124dc662d
Cleanup of initializations
2011-05-05 10:12:26 +00:00
Romuald Conty
5f890fedcc
Remove obsolete callbacks
2011-05-05 09:45:39 +00:00
Romuald Conty
0265515a0c
Abort mecanism is now implemented in driver layer:
...
iAbortFd file descriptor array have been removed from nfc_device_t;
nfc_abort_command() can now failed (return false);
nfc_abort_command() now call abort_command pointer from drivers;
pn532_uart and arygon drivers use a pipe-based mecanism (similar from previous one);
pn53x_usb driver use a boolean flag-based mecanism (the previous one does not work as expected);
pn53x_usb now print smarter messages on error at usb connection;
pn53x_usb now handle a strange case: sometimes, the first sent command is not ACKed by PN53x USB device, a dummy command is now sent.
2011-05-05 09:27:17 +00:00
Romuald Conty
72422e819b
examples/nfc-dep-*: disconnect from NFC device on error.
2011-05-05 09:17:38 +00:00
Philippe Teuwen
412c326c3a
better fix for timed fcts
2011-05-04 14:14:18 +00:00
Philippe Teuwen
f2cb0eaa6e
list_passive_targets: fixed for TypeB on LoGO
2011-05-03 19:22:28 +00:00
Romuald Conty
9231f47123
examples/pn53x-tamashell-scripts: minor enhancements.
2011-05-03 15:10:51 +00:00
Romuald Conty
c7da492872
drivers/pn53x_usb: use progressive field on/off only for ISO14443 Type B target listing.
2011-05-03 13:55:38 +00:00
Philippe Teuwen
8169da3701
pn53x: Fix bug in _timed fcts
2011-05-03 13:55:20 +00:00
Romuald Conty
26071a817b
drivers/pn53x_usb: enable progressive field on init to allow pn53x-tamashell to works (note: it does not distrib progressive field enabling when nfc_list_passive_target() is used).
2011-05-03 13:19:03 +00:00
Audrey Diacre
e82e897bd9
pn53x: oups, fix typo.
2011-05-03 12:24:33 +00:00
Audrey Diacre
85a30c0897
pn53x:reorder functions according to header.
2011-05-03 12:08:54 +00:00
Romuald Conty
96358368f5
cast explicitly sz (uint8_t) in size_t
2011-05-02 16:43:03 +00:00
Romuald Conty
517cde2517
Prepare 1.5.0 version
2011-04-29 10:13:57 +00:00
Audrey Diacre
d1b02c878a
update manual-test-results.txt
2011-04-29 09:10:16 +00:00
Philippe Teuwen
fc48b7eb89
mfc: removing alpha feature to prepare release
2011-04-28 14:53:44 +00:00
Romuald Conty
59c4e69feb
examples/pn53x-diagnose: fix memcmp strings coverage
2011-04-28 13:35:05 +00:00
Romuald Conty
7c274029e7
examples/pn53x-diagnose: fix PN53x commands and report internal error using nfc_perror()
2011-04-28 13:26:47 +00:00
Romuald Conty
6974fb4562
examples/nfc-dep-*: add signal handler to use the abort mecanism.
2011-04-27 15:10:14 +00:00
Romuald Conty
de9255eaea
drivers/arygon: enable abort() mecanism on InJumpForDEP command
2011-04-27 15:09:22 +00:00
Romuald Conty
6fc4a5b70a
Use a new current target pointer to choose correctly the sending/receiving method (ie. TgSetData/TgGetData or TgResponseToInitiator/TgGetInitiatorCommand).
2011-04-27 14:42:27 +00:00
Romuald Conty
1107b226ac
drivers/pn532_uart: enable abort() mecanism on InJumpForDEP command
2011-04-27 14:38:05 +00:00
Romuald Conty
ee718d6f9b
drivers/pn53x_usb: do not send ACK when its not needed, enable abort() mecanism on InJumpForDEP command
2011-04-27 14:37:24 +00:00