AppNearMe µNFC stack for the NXP PN532 chip License: You can use the stack free of charge to prototype with mbed; if you want to use the stack with your commercial product, get in touch!
Dependents: IOT_sensor_nfc AppNearMe_MuNFC_PN532_Test p2p_nfc_test NFCMoodLamp ... more
License
You can use the stack free of charge to prototype with mbed; if you want to use the stack with your commercial product, get in touch!
Diff: PN532/munfc/core/errors.h
- Revision:
- 11:5be631376e5b
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PN532/munfc/core/errors.h Wed Nov 07 18:19:09 2012 +0000 @@ -0,0 +1,30 @@ +/* + errors.h + Copyright (c) Donatien Garnier 2012 + donatien.garnier@appnearme.com + http://www.appnearme.com/ +*/ + +#ifndef ERRORS_H_ +#define ERRORS_H_ + +#define OK 0 //No error + +#define ERR_UNKNOWN 1 +#define ERR_LENGTH 2 +#define ERR_NOT_FOUND 3 +#define ERR_UNSUPPORTED 4 +#define ERR_PARAMS 5 +#define ERR_BUFFER_TOO_SMALL 6 +#define ERR_TIMEOUT 7 +#define ERR_CRC 8 +#define ERR_NOCARD 9 +#define ERR_PARITY 10 +#define ERR_FIELD 11 //Lost RF field +#define ERR_COLLISION 12 +#define ERR_WRONG_COMM 13 +#define ERR_PROTOCOL 14 //Protocol is not conformant +#define ERR_BUSY 15 +#define ERR_CONTROLLER 16 //Controller failure + +#endif /* ERRORS_H_ */