NFC library using PN532 to read/write NDEF Messages to NFC tags

Dependents:   Seeed_NFC_Shield_write Nucleo_test_nfc

Fork of PN532 by Yihui Xiong

NfcDriver.h

Committer:
screamer
Date:
2014-03-25
Revision:
6:26c1b3b6c192
Parent:
3:4189a10038e6

File content as of revision 6:26c1b3b6c192:

// eventually the NFC drivers should extend this class
class NfcDriver
{
    public:
        virtual NfcTag read(uint8_t * uid, int uidLength) = 0;
        virtual bool write(NdefMessage& message, uint8_t * uid, int uidLength) = 0;
        // erase()
        // format()
}