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!
PN532/munfc/core/errors.h@3:0b949b2d3b55, 2012-08-07 (annotated)
- Committer:
- AppNearMe
- Date:
- Tue Aug 07 21:55:12 2012 +0000
- Revision:
- 3:0b949b2d3b55
- Parent:
- 0:480387549d89
Versioning -> Hg
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
AppNearMe | 3:0b949b2d3b55 | 1 | /* |
AppNearMe | 3:0b949b2d3b55 | 2 | errors.h |
AppNearMe | 3:0b949b2d3b55 | 3 | Copyright (c) Donatien Garnier 2012 |
AppNearMe | 3:0b949b2d3b55 | 4 | donatien.garnier@appnearme.com |
AppNearMe | 3:0b949b2d3b55 | 5 | http://www.appnearme.com/ |
AppNearMe | 3:0b949b2d3b55 | 6 | */ |
AppNearMe | 3:0b949b2d3b55 | 7 | |
AppNearMe | 3:0b949b2d3b55 | 8 | #ifndef ERRORS_H_ |
AppNearMe | 3:0b949b2d3b55 | 9 | #define ERRORS_H_ |
AppNearMe | 3:0b949b2d3b55 | 10 | |
AppNearMe | 3:0b949b2d3b55 | 11 | #define OK 0 //No error |
AppNearMe | 3:0b949b2d3b55 | 12 | |
AppNearMe | 3:0b949b2d3b55 | 13 | #define ERR_UNKNOWN 1 |
AppNearMe | 3:0b949b2d3b55 | 14 | #define ERR_LENGTH 2 |
AppNearMe | 3:0b949b2d3b55 | 15 | #define ERR_NOT_FOUND 3 |
AppNearMe | 3:0b949b2d3b55 | 16 | #define ERR_UNSUPPORTED 4 |
AppNearMe | 3:0b949b2d3b55 | 17 | #define ERR_PARAMS 5 |
AppNearMe | 3:0b949b2d3b55 | 18 | #define ERR_BUFFER_TOO_SMALL 6 |
AppNearMe | 3:0b949b2d3b55 | 19 | #define ERR_TIMEOUT 7 |
AppNearMe | 3:0b949b2d3b55 | 20 | #define ERR_CRC 8 |
AppNearMe | 3:0b949b2d3b55 | 21 | #define ERR_NOCARD 9 |
AppNearMe | 3:0b949b2d3b55 | 22 | #define ERR_PARITY 10 |
AppNearMe | 3:0b949b2d3b55 | 23 | #define ERR_FIELD 11 //Lost RF field |
AppNearMe | 3:0b949b2d3b55 | 24 | #define ERR_COLLISION 12 |
AppNearMe | 3:0b949b2d3b55 | 25 | #define ERR_WRONG_COMM 13 |
AppNearMe | 3:0b949b2d3b55 | 26 | #define ERR_PROTOCOL 14 //Protocol is not conformant |
AppNearMe | 3:0b949b2d3b55 | 27 | #define ERR_BUSY 15 |
AppNearMe | 3:0b949b2d3b55 | 28 | #define ERR_CONTROLLER 16 //Controller failure |
AppNearMe | 3:0b949b2d3b55 | 29 | |
AppNearMe | 3:0b949b2d3b55 | 30 | #endif /* ERRORS_H_ */ |