Commit graph

39 commits

Author SHA1 Message Date
Romuald Conty
8c7b61eaba move some examples to utils/ since they are not examples anymore :) (Fixes Issue 164) 2011-09-30 11:33:31 +00:00
Romuald Conty
eec2794d2d drivers/pn532_uart,arygon: Make valgrind happy with UART-based drivers 2011-06-28 13:16:44 +00:00
Romain Tartiere
6d66866268 Silent down the compiler. 2011-05-18 18:53:00 +00:00
Philippe Teuwen
ab54a37678 list_targets support for ASK CTS512B (no anticol support yet) 2011-05-11 23:00:54 +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
cd6946e751 Add ISO/IEC 14443 B' aka Type B' modulation partial support 2011-05-06 14:14:06 +00:00
Romuald Conty
4384d27f3e examples: silent some compilation warnings. 2011-02-28 09:47:31 +00:00
Romuald Conty
5e9e177319 Change examples license for the sake of consistency: LGPL covers library, re-usable examples code is now under BSD license. 2010-11-17 14:27:11 +00:00
Romuald Conty
311471024a Fix printing of 847 kbps baud rate and a minor compil warning 2010-10-20 09:27:34 +00:00
Philippe Teuwen
aba4cec7d6 nfc-utils: more ATQA/SAK fingerprinting 2010-10-19 21:36:43 +00:00
Philippe Teuwen
838db98400 Examples: more ISO14443A ATQA+SAK possible matches 2010-10-19 13:08:56 +00:00
Philippe Teuwen
2b24a0a7f5 Examples: more ISO14443A info decoding & verbose mode for nfc-list 2010-10-19 12:50:52 +00:00
Philippe Teuwen
655460059a nfc-utils: more decoding of ISO14443-4 Tk bytes 2010-10-15 08:57:58 +00:00
Philippe Teuwen
91f73e1802 nfc-utils: More decoding of ISO14443-4 ATS 2010-10-15 08:33:46 +00:00
Romuald Conty
8142e69121 Fix a misunderstood Historical Bytes decoding 2010-10-14 16:28:16 +00:00
Romuald Conty
7294e4fbaf examples/nfc-utils: decode more ATS info 2010-10-14 14:48:59 +00:00
Romuald Conty
9d9b5a629e Fix nfc-poll, improve pn53x_target_type_t decoding 2010-10-13 21:40:54 +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
d289eabc36 Attempt to provide clean types for API 2010-10-13 17:43:23 +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
5d753827c1 Add a nfc-utils fonction (not in API) to display nfc_target_type_t as string 2010-10-12 14:05:28 +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
5efa9e2cdb Jewel/Topaz full UID is 6 bytes long (7 bytes with the manufacturer ID) but during select only the 4 LSB are returned, so we change the display to keep it in mind. (Thanks to Phil) 2010-09-28 15:37:36 +00:00
Romuald Conty
8672c809bd example: Jewel support in nfc-list and nfc-poll. (Many thanks to Phil) 2010-09-28 15:31:31 +00:00
Romuald Conty
cab6d19c5a examples: decode more data from ATQB. (Thanks to Phil) 2010-09-28 15:27:06 +00:00
Romuald Conty
1acf950ce9 Improve ISO14443B display: some protocol information are now decoded to be displayed. 2010-09-23 17:03:19 +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
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
18cc86a613 Indent whole code using make indent. (Fixes issue 84). 2010-09-07 17:51:03 +00:00
Romuald Conty
18d31cd672 Reintroduce oddparity() function used by project based on libnfc but in nfc-utils.[ch] to prevent from exporting them in API. 2010-09-06 10:02:19 +00:00
Romuald Conty
3dd2257b57 Add print_nfc_felica_info() and print_nfc_iso14443b_info() functions to nfc-utils (used by examples) 2010-08-18 12:50:40 +00:00
Romuald Conty
eeaad85151 Add SAK decoding for compliance with ISO/IEC. 2010-08-17 15:24:37 +00:00
Romain Tartiere
fd0efd4a62 Fix build on Microsoft Windows.
Windows users: I hate you in secret.
2010-08-10 19:50:29 +00:00
Romuald Conty
544bda197e Fix minor warning. 2010-07-23 13:31:33 +00:00
Romuald Conty
c4bb23631b Do not export nfc_parse_device_desc() in libnfc API. 2010-07-22 16:13:02 +00:00
Romain Tartiere
10baef235f (libnfc-less-bitutils-more-ponies) Get rid of bitutils.[hc] (part 1).
- New API function append_iso14443a_crc();
  - Add a PRINT_HEX macro for driver debugging (replaces print_hex function from bitutils.c);
  - Move bit-mirroring related functions to libnfc/mirror-subr.[hc];
  - Move iso14443 related functions to libnfc/iso14443-subr.c;
  - Move libnfc/bitutils.c hex-dumping code to examples/nfc-utils.c;
  - Replace calls to swap_endian32() and swap_endian64() functions with calls to bswap32() and bswap64 provided by endian.h.

And while I am here:
  - Fix the DBG macro so that it does not throw warning at compile time.
2010-04-16 16:38:57 +00:00
Romain Tartiere
ee3715e267 Add convenience library infrastructure and move the print_nfc_iso14443a_info() function away from bitutils. 2010-04-09 21:57:03 +00:00