Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of PN532 by
Diff: PN532_SPI.h
- Revision:
- 3:4189a10038e6
- Parent:
- 1:b8cab5222fd0
diff -r f618fb2169c4 -r 4189a10038e6 PN532_SPI.h
--- a/PN532_SPI.h Thu Oct 17 06:51:32 2013 +0000
+++ b/PN532_SPI.h Thu Nov 21 04:30:49 2013 +0000
@@ -13,7 +13,7 @@
virtual void begin();
virtual void wakeup();
- virtual int8_t writeCommand(const uint8_t buf[], uint8_t len);
+ virtual int8_t writeCommand(const uint8_t *header, uint8_t hlen, const uint8_t *body, uint8_t blen);
virtual int16_t readResponse(uint8_t buf[], uint8_t len, uint16_t timeout);
private:
@@ -22,7 +22,7 @@
uint8_t command;
bool isReady();
- void writeFrame(const uint8_t buf[], uint8_t len);
+ void writeFrame(const uint8_t *header, uint8_t hlen, const uint8_t *body, uint8_t blen);
int8_t readAckFrame();
inline void write(uint8_t data) {
