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.h
- Revision:
- 2:913eb8fdfd9d
- Parent:
- 0:480387549d89
- Child:
- 3:0b949b2d3b55
--- a/PN532/MuNFC.h Thu Jul 26 09:13:04 2012 +0000 +++ b/PN532/MuNFC.h Thu Jul 26 10:02:19 2012 +0000 @@ -25,7 +25,9 @@ #include "TLVList.h" #include "mbed.h" -#include "rtos.h" +#if MUNFC_RTOS +#include "rtos/rtos.h" +#endif /** A library for embedded NFC applications using NXP's PN512/PN532 NFC transceivers. * Visit http://www.appnearme.com/ @@ -46,6 +48,8 @@ */ MuNFC(char appHash[16], uint32_t version, PinName mosi, PinName miso, PinName sclk, PinName cs, PinName isr); + + ~MuNFC(); /** Set Encode Callback. * The encode callback will be called on each start of NFC transaction. @@ -162,7 +166,7 @@ SPI m_spi; #if MUNFC_RTOS - Thread m_thread; + Thread* m_pThread; #endif };