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: Message.h
- Revision:
- 15:01fc5a4b8366
- Parent:
- 12:ed4d9b8d1410
- Child:
- 17:46899fa3d9f2
--- a/Message.h Thu Jan 28 14:01:07 2016 +0000 +++ b/Message.h Mon Feb 01 15:33:11 2016 +0000 @@ -71,7 +71,7 @@ * @param index Record index. * @return a Record object if present, otherwise NULL */ - Record* operator[](const uint32_t index){ + Record* operator[](const uint32_t index)const{ if (index >= mRecords.size()) return NULL; return mRecords[index];