PN532 NFC library for Seeed Studio's NFC Shield
Fork of PN532 by
NfcDriver.h@9:85bfede025da, 2015-02-04 (annotated)
- Committer:
- r4z0r7o3
- Date:
- Wed Feb 04 16:24:30 2015 +0000
- Revision:
- 9:85bfede025da
- Parent:
- 3:4189a10038e6
Fixed missing return statement
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 | } |