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/NFCEvent.h
- Revision:
- 11:5be631376e5b
diff -r 2af578c635cd -r 5be631376e5b PN532/NFCEvent.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PN532/NFCEvent.h Wed Nov 07 18:19:09 2012 +0000 @@ -0,0 +1,25 @@ +/* + NFCEvent.h + Copyright (c) Donatien Garnier 2012 + donatien.garnier@appnearme.com + http://www.appnearme.com/ +*/ + +/** \file NFCEvent.h +* NFC-related events +*/ + +#ifndef NFCEVENT_H_ +#define NFCEVENT_H_ + +/** NFC-related events + * + */ +enum NFCEvent +{ + NFC_TRANSACTION_STARTED, //!< Transaction with reader started (anticollision successful) + NFC_TRANSACTION_SUCCESSFUL, //!< Transaction with reader successful + NFC_TRANSACTION_FAILED //!< Transaction with reader failed +}; + +#endif /* NFCEVENT_H_ */