NFC library using PN532 to read/write NDEF Messages to NFC tags
Dependents: Seeed_NFC_Shield_write Nucleo_test_nfc
Fork of PN532 by
NfcDriver.h@6:26c1b3b6c192, 2014-03-25 (annotated)
- Committer:
- screamer
- Date:
- Tue Mar 25 16:48:10 2014 +0000
- Revision:
- 6:26c1b3b6c192
- Parent:
- 3:4189a10038e6
Fixed compile warnings
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
yihui | 3:4189a10038e6 | 1 | // eventually the NFC drivers should extend this class |
yihui | 3:4189a10038e6 | 2 | class NfcDriver |
yihui | 3:4189a10038e6 | 3 | { |
yihui | 3:4189a10038e6 | 4 | public: |
yihui | 3:4189a10038e6 | 5 | virtual NfcTag read(uint8_t * uid, int uidLength) = 0; |
yihui | 3:4189a10038e6 | 6 | virtual bool write(NdefMessage& message, uint8_t * uid, int uidLength) = 0; |
yihui | 3:4189a10038e6 | 7 | // erase() |
yihui | 3:4189a10038e6 | 8 | // format() |
yihui | 3:4189a10038e6 | 9 | } |