Generic library for working with PN532-like chips
Fork of PN532 by
NfcDriver.h@11:5b8afec8bee6, 2015-02-04 (annotated)
- Committer:
- r4z0r7o3
- Date:
- Wed Feb 04 19:26:03 2015 +0000
- Revision:
- 11:5b8afec8bee6
- Parent:
- 3:4189a10038e6
Fix missing space in tag print()
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 | } |