Generic library for working with PN532-like chips
Fork of PN532 by
Diff: emulatetag.cpp
- Revision:
- 10:f959b305a571
- Parent:
- 7:26c1b3b6c192
--- a/emulatetag.cpp Wed Feb 04 16:24:30 2015 +0000 +++ b/emulatetag.cpp Wed Feb 04 19:04:54 2015 +0000 @@ -68,7 +68,7 @@ void EmulateTag::setNdefFile(const uint8_t* ndef, const int16_t ndefLength){ if(ndefLength > (NDEF_MAX_LENGTH -2)){ - DMSG("ndef file too large (> NDEF_MAX_LENGHT -2) - aborting"); + DMSG("ndef file too large (> NDEF_MAX_LENGHT -2) - aborting\n"); return; } @@ -106,7 +106,7 @@ } if(1 != pn532.tgInitAsTarget(command,sizeof(command), tgInitAsTargetTimeout)){ - DMSG("tgInitAsTarget failed or timed out!"); + DMSG("tgInitAsTarget failed or timed out!\n"); return false; } @@ -195,7 +195,7 @@ } break; default: - DMSG("Command not supported!"); + DMSG("Command not supported "); DMSG_HEX(rwbuf[C_APDU_INS]); DMSG("\n"); setResponse(FUNCTION_NOT_SUPPORTED, rwbuf, &sendlen);