some additional fixes
Fork of PN532 by
NfcDriver.h@10:5e24ab94fcc4, 2016-06-02 (annotated)
- Committer:
- vilesovds
- Date:
- Thu Jun 02 16:23:37 2016 +0000
- Revision:
- 10:5e24ab94fcc4
- Parent:
- 3:4189a10038e6
fixed NfcTag::getUid
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 | } |