Generic library for working with PN532-like chips
Fork of PN532 by
NfcDriver.h@3:4189a10038e6, 2013-11-21 (annotated)
- Committer:
- yihui
- Date:
- Thu Nov 21 04:30:49 2013 +0000
- Revision:
- 3:4189a10038e6
sync with https://github.com/Seeed-Studio/PN532/releases/tag/v0.9.
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 | } |