Romain Tartiere 08eb21aa9d Second part of error handling.
- Define two sets of DE<FOOBAR> macros: the first one for 'generic' errors
  which could be encountered regardless of the NFC device the library is acting
  with (0xX000), and ont set for device-dependant errors (0x0X00).
- Make some more functions accept a nfc_device_t* as first argument to have
  access to the iLastError;
- Reset errors when entering public API functions;
- Save errors when applicable;
- Distinguish system-level errors (e.g. I/O error) and operational errors (the
  PCD returns an unexpected value);
- Minor tweaks.

Update issue 65
Status: Feedback

New review:
Owner: rconty@il4p.fr
Cc: rtartiere@il4p.fr
Summary: Review the error-handling code.
Branch: /branches/libnfc-error-handling

For this development, a strong emphasis has been set on making changes that
will not go through our way on the way to libnfc-1.6+.  For this reason, some
constructs are not natural (e.g. error codes defined in two different places),
please keep this in mind when reviewing.
2010-08-15 14:08:29 +00:00
2010-03-31 14:07:13 +00:00
2010-08-11 16:59:09 +00:00
2010-08-15 14:08:29 +00:00
2010-08-15 14:08:29 +00:00
2010-08-10 21:45:30 +00:00
2010-01-14 16:04:48 +00:00
2010-07-29 14:16:11 +00:00
2010-01-29 15:06:31 +00:00
2010-08-11 16:36:35 +00:00
2010-04-09 15:08:36 +00:00
2010-08-11 16:36:35 +00:00
2009-11-20 19:15:27 +00:00

------------------------------------------------------------------------
Public platform independent Near Field Communication (NFC) library
Copyright (C) 2009, Roel Verdult
 
------------------------------------------------------------------------
Welcome to the developers community of libnfc.

Since it is hard to keep all information up to date
we decided to only maintain the online documentation.
Please visit the official website for more info:
http://www.libnfc.org

If you have questions, remarks, bug-reports, we encourage you to
post this in the developers community: 
http://www.libnfc.org/community

------------------------------------------------------------------------
Proprietary Notes:

FeliCa is s registered trademark of the Sony Corporation. MIFARE is a 
trademark of NXP Semiconductors. Jewel Topaz is a trademark of Innovision
Research & Technology. All other trademarks are the property of their 
respective owners.

Description
Platform independent Near Field Communication (NFC) library
Readme 3.4 MiB
Languages
C 91.3%
CMake 3.4%
M4 2%
Roff 1.8%
Makefile 1.1%
Other 0.4%