Simple NFC test projekt
Dependencies: AppNearMe_MuNFC_PN532 mbed-rtos mbed
Fork of AppNearMe_MuNFC_PN532_Test by
Revision 6:f14e71ffdc79, committed 2013-01-24
- Comitter:
- thomasjanke
- Date:
- Thu Jan 24 09:45:05 2013 +0000
- Parent:
- 5:502178f6a842
- Commit message:
- Minor changes
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 502178f6a842 -r f14e71ffdc79 main.cpp --- a/main.cpp Tue Jan 22 09:03:19 2013 +0000 +++ b/main.cpp Thu Jan 24 09:45:05 2013 +0000 @@ -14,7 +14,7 @@ #define DEFAULT_PACKET 1 -char messageFromNFC[255]; +char messageFromNFC[300]; char c; string messageFromArduino; string messageToNFC; @@ -42,8 +42,8 @@ { return; } - tlv->getString(messageFromNFC, 254); - //printf("Message received from NFC: %s\n",messageFromNFC); + tlv->getString(messageFromNFC, 299); + printf("Message received from NFC: %s\n",messageFromNFC); } s.release(); }