Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of PN532 by
MifareUltralight.h
- Committer:
- yihui
- Date:
- 2013-11-21
- Revision:
- 3:4189a10038e6
- Child:
- 5:51f820fbd18a
File content as of revision 3:4189a10038e6:
#ifndef MifareUltralight_h #define MifareUltralight_h #include <PN532.h> #include <NfcTag.h> #include <Ndef.h> class MifareUltralight { public: MifareUltralight(PN532& nfcShield); ~MifareUltralight(); NfcTag read(uint8_t *uid, unsigned int uidLength); private: PN532* nfc; unsigned int tagCapacity; unsigned int messageLength; unsigned int bufferSize; unsigned int ndefStartIndex; bool isUnformatted(); void readCapabilityContainer(); void findNdefMessage(); void calculateBufferSize(); }; #endif