This website requires JavaScript.
6e84e757c7
List available drivers in ./configure --help
Romuald Conty
2010-08-17 14:40:35 +00:00
c021a50768
Oups, r534 was not a joke... just a mistake ;-) This commit fix my r534.
Romuald Conty
2010-08-17 13:50:49 +00:00
88002bf977
Code cleaning: driver_connect() is never executed with pndd==NULL.
Romuald Conty
2010-08-17 13:31:32 +00:00
7788c33da8
Default serial-port paths are now fully hardcoded instead of half-hardcoded and soft-expanded.
Romuald Conty
2010-08-17 13:29:01 +00:00
476c05cfb4
Cleanup up nfc_initiator_list_passive_targets(): remove attempts to retrieve ATQA when collision occurs, after a lot of tests by Romain and me we are not able to find a way to retrieve all tags ATQA if different card types are on the nfc device.
Romuald Conty
2010-08-17 10:08:38 +00:00
3c57861d6b
Improve pn53x_decode_target_data() function: move code from nfc_initiator_select_passive_target() to the right place (pn53x.c).
Romuald Conty
2010-08-17 10:01:11 +00:00
ae04479968
Move hardware polling function in pn53x.c/h.
Romuald Conty
2010-08-17 08:24:38 +00:00
f797d737d3
Fix build on Microsoft Windows.
Romain Tartiere
2010-08-16 17:43:48 +00:00
41b1455f04
Clean up wrong comments in nfc-poll.
Romuald Conty
2010-08-16 16:27:50 +00:00
08eb21aa9d
Second part of error handling.
Romain Tartiere
2010-08-15 14:08:29 +00:00
8a75f5b45e
Fix wrong comment
Romain Tartiere
2010-08-15 12:42:40 +00:00
655fdb569a
Fix nfc_initiator_mifare_cmd() in examples.
Romain Tartiere
2010-08-13 19:53:13 +00:00
fab08a3951
Fix doxygen comment: the string SHALL NOT be freed (it's const BTW).
Romain Tartiere
2010-08-13 19:10:31 +00:00
d7e0b926ac
Rename the only test of the regression test suite to a more explicit name.
Romain Tartiere
2010-08-13 18:34:30 +00:00
57b775bae2
Always ACK on transmission.
Romain Tartiere
2010-08-13 16:02:18 +00:00
f4bc39bf41
Mostly revert r521.
Romain Tartiere
2010-08-13 09:02:20 +00:00
0502401a29
Minor tweaks.
Romain Tartiere
2010-08-13 08:31:16 +00:00
b289784359
Merge r511-519 from trunk.
Romain Tartiere
2010-08-11 16:59:09 +00:00
2029e0c66f
Remove usb_reset() call: this function always failed.
Romuald Conty
2010-08-11 16:44:34 +00:00
d11e7a1320
Prevent from segfault when nfc_disconnect() on NULL pointer
Romuald Conty
2010-08-11 16:38:22 +00:00
9cc31f6aad
Add a regression test directory.
Romain Tartiere
2010-08-11 16:36:35 +00:00
caa594eba8
Remove deprecated code.
Romain Tartiere
2010-08-11 09:46:14 +00:00
f237d44339
Take care of 16-blocks-long sectors of Mifare Classic 4K in the nfc-mfclassic example's blocks counting routine.
Romain Tartiere
2010-08-11 09:26:22 +00:00
ca6b768a67
Fix build on Microsoft Windows.
Romain Tartiere
2010-08-10 21:45:30 +00:00
4a5347e5ae
Merge r512 from trunk.
Romain Tartiere
2010-08-10 21:41:42 +00:00
3ec0b9376c
Make Mifare example use only the libnfc public API.
Romain Tartiere
2010-08-10 21:36:57 +00:00
dfb82f8893
Merge r499-510 from trunk.
Romain Tartiere
2010-08-10 21:14:13 +00:00
bda739eb8f
Hey! r509 also fixed that!
Romain Tartiere
2010-08-10 21:02:26 +00:00
eece496351
Use nfc_initiator_transceive_dep_bytes() instead of pn53x_transceive() in example.
Romain Tartiere
2010-08-10 21:00:08 +00:00
fd0efd4a62
Fix build on Microsoft Windows.
Romain Tartiere
2010-08-10 19:50:29 +00:00
8fef257d16
Also use pn53x_transceive_callback() in the arygon driver.
Romain Tartiere
2010-08-08 15:25:06 +00:00
d7c16d6d1a
Factorise UART-relative macros definitions.
Romain Tartiere
2010-08-08 09:34:18 +00:00
8e5d235cd2
Implement pn53x_InRelease().
Romain Tartiere
2010-08-06 07:29:57 +00:00
d77c25224a
After a bazillion tests, make the Debian-5-year-outdated-and-buggy autotools happy with some weird m4 syntax and hope it will not fail on a much more recent autolol suite.
Romain Tartiere
2010-07-31 15:37:27 +00:00
d0357cf3aa
Merge r486-498 from trunk.
Romain Tartiere
2010-07-31 14:23:33 +00:00
79aeaa6287
Factorise code.
Romain Tartiere
2010-07-31 14:20:15 +00:00
301d692e8a
Flag references to deprecated usage of pn53x_transceive().
Romain Tartiere
2010-07-31 14:02:46 +00:00
b60d045537
Remove another deprecated test that '^#ifdef' did not matched for previous commit.
Romain Tartiere
2010-07-31 13:46:32 +00:00
cd53efb038
Enforce ISO C conformance about empty files.
Romain Tartiere
2010-07-31 13:21:56 +00:00
bb06d45a05
Really silent down gcc with -Wextra.
Romain Tartiere
2010-07-31 12:57:02 +00:00
93494aad24
Fix serial string for FreeBSD.
Romain Tartiere
2010-07-31 10:13:18 +00:00
d498fcd48e
Comment all commands that return a status code in the list. Found a typo at that occasion so s/0x93/0x92/.
Romain Tartiere
2010-07-31 09:50:04 +00:00
fb6d9d2d20
Yes we can... remove all those pnd->pdc->transceive() from nfc.c.
Romain Tartiere
2010-07-31 09:40:29 +00:00
705e037b12
Only report status error for commands that provide it in pn53x_transceive().
Romain Tartiere
2010-07-31 09:19:22 +00:00
36ee32f81a
Merge r478-485 from trunk.
Romain Tartiere
2010-07-30 16:34:12 +00:00
0afaf656fa
Attempt to provide target listing function (WARNING: this function is actually incomplete)
Romuald Conty
2010-07-30 13:27:03 +00:00
7113d1418b
Add FIXME to raise an E_NOTSUPPORTED error in future,
Romuald Conty
2010-07-30 11:45:59 +00:00
5ac580a241
Code cleanup: remove many debug prints, enhance comments and documentation.
Romuald Conty
2010-07-30 11:30:19 +00:00
daa178b18f
Enhance error handeling.
Romain Tartiere
2010-07-29 14:16:11 +00:00
18e6e1bc7c
Add documentation for pn53x_InListPassiveTarget()
Romuald Conty
2010-07-29 12:48:59 +00:00
fc15146bf2
Minor code cleanning.
Romuald Conty
2010-07-29 12:47:51 +00:00
30e715cff0
Merge r470-477 from trunk.
Romain Tartiere
2010-07-29 10:59:52 +00:00
740b5b430d
libnfc-error-handling: Remove boring debug stuff.
Romain Tartiere
2010-07-29 10:53:14 +00:00
f01b73ab32
Move usb_reset(3) call.
Romain Tartiere
2010-07-29 10:47:53 +00:00
f7e8ec0a95
nfc-sam: cleanup and Windows support improvements.
Emanuele Bertoldi
2010-07-29 10:18:19 +00:00
5129a37ec8
fixed typo, missed closing bracket ;)
Roel Verdult
2010-07-28 12:56:40 +00:00
20ed5e1a52
fixed wakeup preamble, change PN532 chip to normal mode after wakeup
Roel Verdult
2010-07-28 12:52:39 +00:00
d63157a41d
Fix mask to extract "Error Code" from status byte.
Romuald Conty
2010-07-27 09:29:54 +00:00
9984e1bdcb
Start of work on error handling.
Romain Tartiere
2010-07-26 12:41:46 +00:00
9a7ffc38a1
Small improvements to nfc-sam stuff.
Emanuele Bertoldi
2010-07-26 08:55:43 +00:00
af584bd474
Fix packet length checksum computation.
Romain Tartiere
2010-07-25 16:31:53 +00:00
7f9f907bc2
Silent down compiler.
Romain Tartiere
2010-07-24 18:54:50 +00:00
e6d079d87a
Fix a regression introduced at r461.
Romain Tartiere
2010-07-24 17:20:48 +00:00
4ff66d125f
Fix a regression introduced at r458.
Romain Tartiere
2010-07-24 16:30:44 +00:00
544bda197e
Fix minor warning.
Romuald Conty
2010-07-23 13:31:33 +00:00
edb62bd1cb
Create pn53x_InDeselect function.
Romuald Conty
2010-07-23 13:30:06 +00:00
7eeb46ab68
Minor indentation fix.
Romuald Conty
2010-07-23 12:48:30 +00:00
7dd1053d03
Fix incorrect selected targets size in pn53x_InListPassive().
Romuald Conty
2010-07-23 12:45:21 +00:00
3f17e5e032
Minor indentation fix.
Romuald Conty
2010-07-23 12:41:29 +00:00
aca1eb40a8
Comment out extern symbol related to PN53x in nfc.c; The goal is to remove all of them from nfc.c
Romuald Conty
2010-07-22 16:24:24 +00:00
d932cd8450
Move some PN53x related code from nfc.c to pn53x.c
Romuald Conty
2010-07-22 16:21:59 +00:00
424a48714f
Minor documentation improvements.
Romuald Conty
2010-07-22 16:16:37 +00:00
c4bb23631b
Do not export nfc_parse_device_desc() in libnfc API.
Romuald Conty
2010-07-22 16:13:02 +00:00
4bc522cd1e
First prototype of argument parsing for device description (issue #87 ).
Emanuele Bertoldi
2010-07-22 13:41:20 +00:00
7945dd18fa
Enhance 'make indent'.
Romain Tartiere
2010-07-21 22:32:02 +00:00
67fb1330f8
Rework the indent target.
Romain Tartiere
2010-07-21 13:09:48 +00:00
2688de6500
API change: nfc_initiator_select_tag() is now nfc_initiator_select_passive_target() AND nfc_initiator_deselect_tag() is now nfc_initiator_deselect_target()
Romuald Conty
2010-07-21 10:37:37 +00:00
d97876714c
Add indent directive in root Makefile.
Romuald Conty
2010-07-20 13:38:58 +00:00
0a87c18e7e
nfc-mfultralight: we now can write OTP bytes if user want to.
Romuald Conty
2010-06-30 15:06:59 +00:00
379066f069
nfc-mfultralight: on write failure, continue if authenticate works.
Romuald Conty
2010-06-30 14:54:34 +00:00
d8f12035fc
Add missing carriage return at EOF (yes, I have nothing better to do ATM).
Romain Tartiere
2010-06-26 21:56:32 +00:00
596733bacc
nfc-mfultralight: Fix messages, we read/write pages not blocks.
Romuald Conty
2010-06-24 11:04:05 +00:00
688ebe2324
Re-ident examples/nfc-mfultralight.c using "indent -br -ce --line-length120 -nut -i2 -ppi 2" command line.
Romuald Conty
2010-06-24 10:19:01 +00:00
470dd8be05
nfc-mfultralight: Fix read and write counters. Code cleanup.
Romuald Conty
2010-06-24 10:16:09 +00:00
2e1fa09166
Set svn:ignore property on nfc-sam example.
Romuald Conty
2010-06-16 12:12:31 +00:00
e6d96333f7
nfc-sam: added some config operations.
Emanuele Bertoldi
2010-06-16 11:40:23 +00:00
f748ec1c59
nfc-sam: added FIXME notes.
Emanuele Bertoldi
2010-06-16 11:34:55 +00:00
391d066095
nfc-sam: improved output and error messages.
Emanuele Bertoldi
2010-06-16 11:32:16 +00:00
3f6109af52
Cleanup.
Emanuele Bertoldi
2010-06-16 11:23:13 +00:00
b2089e8bb0
nfc-sam: better connection management.
Emanuele Bertoldi
2010-06-16 11:21:27 +00:00
d593a8e4c9
Added use of nfc-messages.
Emanuele Bertoldi
2010-06-16 09:48:26 +00:00
f7c31885f5
Move all Mifare related code from libnfc API to examples: NFC is capable of Mifare, but Mifare is not NFC.
Romuald Conty
2010-06-15 15:33:22 +00:00
db735ab224
Prevent from sources files being executable.
Romuald Conty
2010-06-15 15:32:58 +00:00
4b5d3913d9
Cleanup.
Emanuele Bertoldi
2010-06-15 15:10:11 +00:00
8e4bef9c90
Added draft of a new libnfc-based example: nfc-sam.
Emanuele Bertoldi
2010-06-15 15:05:40 +00:00
ec48f04dd8
Bump package version to 1.3.9 since trunk looks like 1.4.x series.
Romuald Conty
2010-06-07 13:33:33 +00:00
d171562002
Re-ident examples/nfc-poll.c using "indent -br -ce --line-length120 -nut -i2 -ppi 2 " command line.
Romuald Conty
2010-06-07 09:51:31 +00:00
3c1a61349f
Re-ident nfc-mfclassic.c using "indent -br -ce --line-length120 -nut -i2 -ppi 2 " command line.
Romuald Conty
2010-06-07 09:05:35 +00:00
8bac5355dd
This should fix Issue 83.
Romuald Conty
2010-06-07 08:16:27 +00:00
2e39e56e17
Return value of pn53x_usb_list_devices() must bool, not void*
Romuald Conty
2010-05-28 09:55:13 +00:00