Yihui Xiong / Mbed 2 deprecated TouchPixel

Dependencies:   Chainable_RGB_LED mbed

Committer:
yihui
Date:
Fri Dec 27 01:46:32 2013 +0000
Revision:
0:88960f3eeb2c
initial

Who changed what in which revision?

UserRevisionLine numberNew contents of line
yihui 0:88960f3eeb2c 1 #ifndef MifareUltralight_h
yihui 0:88960f3eeb2c 2 #define MifareUltralight_h
yihui 0:88960f3eeb2c 3
yihui 0:88960f3eeb2c 4 #include <PN532.h>
yihui 0:88960f3eeb2c 5 #include <NfcTag.h>
yihui 0:88960f3eeb2c 6 #include <Ndef.h>
yihui 0:88960f3eeb2c 7
yihui 0:88960f3eeb2c 8 class MifareUltralight
yihui 0:88960f3eeb2c 9 {
yihui 0:88960f3eeb2c 10 public:
yihui 0:88960f3eeb2c 11 MifareUltralight(PN532& nfcShield);
yihui 0:88960f3eeb2c 12 ~MifareUltralight();
yihui 0:88960f3eeb2c 13 NfcTag read(uint8_t *uid, unsigned int uidLength);
yihui 0:88960f3eeb2c 14 private:
yihui 0:88960f3eeb2c 15 PN532* nfc;
yihui 0:88960f3eeb2c 16 unsigned int tagCapacity;
yihui 0:88960f3eeb2c 17 unsigned int messageLength;
yihui 0:88960f3eeb2c 18 unsigned int bufferSize;
yihui 0:88960f3eeb2c 19 unsigned int ndefStartIndex;
yihui 0:88960f3eeb2c 20 bool isUnformatted();
yihui 0:88960f3eeb2c 21 void readCapabilityContainer();
yihui 0:88960f3eeb2c 22 void findNdefMessage();
yihui 0:88960f3eeb2c 23 void calculateBufferSize();
yihui 0:88960f3eeb2c 24 };
yihui 0:88960f3eeb2c 25
yihui 0:88960f3eeb2c 26 #endif