Utility library to read and write Ndef messages from/to a Type4 NFC tag
Dependents: NFC M2M_2016_STM32 MyongjiElec_capstone1 IDW01M1_Cloud_IBM ... more
Fork of NDefLib by
NDEF NFC library
This library provides an abstract API to create NDEF formatted messages and records and to read/write them from/to a Type4 NFC Tag.
Implementations
At the moment, the NDEF API is implemented by X_NUCLEO_NFC01A1 and X_NUCLEO_NFC02A1 Dynamic NFC Tag libraries respectively driving the X-NUCLEO-NFC01A1 and X-NUCLEO-NFC02A1 boards.
Diff: RecordType/RecordVCard.h
- Revision:
- 7:1ebd6049fa57
- Parent:
- 6:739e3211749d
- Child:
- 8:473f6e0b03df
--- a/RecordType/RecordVCard.h Thu Dec 03 14:56:01 2015 +0000 +++ b/RecordType/RecordVCard.h Thu Dec 10 14:58:43 2015 +0000 @@ -148,6 +148,10 @@ return RecordMimeType::write(buffer); } + bool operator==(const RecordVCard &other){ + return (mCardInfo==other.mCardInfo); + } + virtual ~RecordVCard() { }