Romuald Conty
c6c43afc87
Minor FIXME or XXX removes
2010-10-18 12:22:04 +00:00
Romuald Conty
1f62e9e2f2
Improve API for target emulation, nfc_target_mode_t does not exist anymore (this mode is computed from nfc_target_t)
2010-10-15 14:32:10 +00:00
Philippe Teuwen
33a99288f3
pn53x target_init: fix bug to use Tk; nfc-relay-picc: fix potential segfault
2010-10-14 20:17:58 +00:00
Philippe Teuwen
ffe50562dd
Make use of the now available Tk info
2010-10-14 18:33:17 +00:00
Romuald Conty
cbca45e21c
Oups it miss some space to handle HB.
2010-10-14 17:43:28 +00:00
Romuald Conty
41758ab63f
pn53x_target_init() now takes care of Historical Bytes
2010-10-14 17:38:54 +00:00
Romuald Conty
7c76e1bf32
nfc_target_init() now update nfc_target_t baud rate
2010-10-14 16:27:50 +00:00
Romuald Conty
7294e4fbaf
examples/nfc-utils: decode more ATS info
2010-10-14 14:48:59 +00:00
Romuald Conty
507a23b708
Improve nfc_target_init()
2010-10-14 13:31:36 +00:00
Romuald Conty
60c9da598a
Support different baud rates for nfc_initiator_select_dep_target()
2010-10-14 13:03:23 +00:00
Romuald Conty
af88da1a9c
Replace nfc_target_info_t with nfc_target_t in API function, we now have a coherent struct to handle nfc_target_t, use it!
2010-10-14 11:44:43 +00:00
Romuald Conty
d41e7f2ca0
Hack polling modulations in order to have ISO14443-4 with ATS and ISO14443-3 targets
2010-10-13 22:28:29 +00:00
Romuald Conty
9d9b5a629e
Fix nfc-poll, improve pn53x_target_type_t decoding
2010-10-13 21:40:54 +00:00
Romuald Conty
adba90684d
introduce nfc_dep_mode_t type instead of bool in nfc_initiator_select_dep_target()
2010-10-13 19:59:39 +00:00
Romuald Conty
124cc28bac
Typo
2010-10-13 19:51:21 +00:00
Romuald Conty
f2a3d51037
Fix a bug introduce in r729, fix a compilation warning
2010-10-13 19:50:43 +00:00
Romuald Conty
ec601f6a00
Fix two bugs introduced in r729, typo.
2010-10-13 19:31:02 +00:00
Romuald Conty
d67527932c
Add some FIXME/TODO about PN532 that does not supported B type (ISO14443)
2010-10-13 19:24:24 +00:00
Romuald Conty
979430ecd1
nfc_target_t have now nfc_modulation_t instead of nfc_modulatation_type_t
2010-10-13 19:17:51 +00:00
Romuald Conty
584a18ec11
Remove unused pn53x_modulations
2010-10-13 18:41:48 +00:00
Romuald Conty
d289eabc36
Attempt to provide clean types for API
2010-10-13 17:43:23 +00:00
Romuald Conty
9020014160
Rename nfc_modulation_t as pn53x_modulation_t
2010-10-13 15:39:52 +00:00
Romuald Conty
695e5c2f37
Rename nfc_target_type_t as pn53x_target_type_t
2010-10-13 15:31:48 +00:00
Romuald Conty
c53c512831
Change some nfc_target_type_t to insist on the ISO/IEC 14443-4 compliance
2010-10-13 11:49:34 +00:00
Romuald Conty
0fe30e3db7
Change some nfc_target_mode_t to insist on the restrictions offer these mode
2010-10-13 11:35:28 +00:00
Romuald Conty
c34be50ef1
For the sake of consistency, rename all szRxLen to szRx and szTxLen to szTx
2010-10-12 14:56:42 +00:00
Romuald Conty
b333a4b1cf
Add FeliCa to emulation capabilities
2010-10-12 09:44:39 +00:00
Romuald Conty
2857b1dd1a
Remove a wrong FIXME
2010-10-11 14:53:10 +00:00
Romuald Conty
602787bd03
We can now use an nfc_dep_info_t to specify DEP info as initiator.
2010-10-11 14:49:08 +00:00
Romuald Conty
08b06c1d03
Emulated DEP targets can now be customized (NFCID3 and General Bytes).
2010-10-08 21:54:59 +00:00
Romuald Conty
1e9c390dfa
Improve DEP info struct: add more info, and InJumpDEP now fill fully this struct.
2010-10-08 20:25:34 +00:00
Romuald Conty
814ccad1e3
Only send WriteRegister command if register sent value is different from actual one.
2010-10-07 09:46:21 +00:00
Romuald Conty
d9505bbbcc
Better handling of SetParameters command, use a cache, prevent from double set, adjust comments, remove junk code.
2010-10-06 15:12:33 +00:00
Romuald Conty
da7a2bc4c6
Add ISO/IEC 14443B baud rates: 212, 424 and 847 kbps. Set a device error when using a not supported modulation baud rate in InListPassive().
2010-10-06 10:06:12 +00:00
Philippe Teuwen
d75e25d29d
nfc-emulate-ndef now using easy framing & fix timing issues
2010-10-05 10:05:22 +00:00
Romuald Conty
e9fdccfa63
Fix missing renaming.
2010-10-04 16:34:02 +00:00
Romuald Conty
5233fceda7
Improve the target emulation functions (ATM, only ISO14443A), add an example (nfc-emulate-tag), update examples to use the new API.
2010-10-04 12:46:03 +00:00
Philippe Teuwen
ba4c920af7
pn53x: avoid mix of hardcoded/sizeof values
2010-10-02 20:39:11 +00:00
Philippe Teuwen
c937e8d178
pn53x: handle properly ReadRegister of PN533
2010-10-01 17:42:16 +00:00
Romuald Conty
b53b623c38
Split pn53x_target_init() into TgInitAsTarget command wrapper and the "logical" part
2010-09-30 12:51:13 +00:00
Romuald Conty
10f9a3d2b0
PN531 and PN533 does not support NTM_PICC mode
2010-09-30 08:37:46 +00:00
Roel Verdult
6dfe88113e
Added new example, PN53x chips will now emulate NDEF tag! not in build-script yet
2010-09-28 16:15:59 +00:00
Roel Verdult
a0ece60203
let the PN53x functions call it's own configuration, not the main nfc_configure()
2010-09-28 14:48:57 +00:00
Romuald Conty
2f95fb254b
Improve ATQB decoding: "PUPI", "Application Data", and "Protocol Info" is now available as separated fields.
2010-09-23 16:26:06 +00:00
Romuald Conty
ccfd24a682
nfc-anticol now works even after running another program that change the modulation (Fixes Issue 111) (Thanks to Phil for help).
2010-09-23 16:03:05 +00:00
Romuald Conty
7e2ddedfc1
Fix ISO14443-B ATTRIB_RES decoding. (Thanks to Phil)
2010-09-23 10:12:10 +00:00
Romuald Conty
e2a2557396
Replace wrong decoded ISO14443-B data by ATTRIB_RES field.
...
New issue
Summary: Improve ISO 14443-B data (ATTRIB_RES) decoding
Before this revision, pn53x_decode_target_data() wrongly decode ISO14443-B. Currently, whole ATTRIB_RES field is stored in nfc_target_info_t struct.
I do not find the correct documentation to fix it better than this, but at least it now retrieves a correct value.
2010-09-22 19:10:50 +00:00
Romuald Conty
2d6c0f5f1a
Decode more targets types from PN53x.
2010-09-22 12:51:32 +00:00
Romuald Conty
0e37a1e9e9
Fix typo, add a minor XXX
2010-09-22 12:42:14 +00:00
Romuald Conty
18cc86a613
Indent whole code using make indent. (Fixes issue 84).
2010-09-07 17:51:03 +00:00