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 ST Expansion SW Team

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.

Revision:
12:ed4d9b8d1410
Parent:
8:473f6e0b03df
Child:
17:46899fa3d9f2
--- a/Message.cpp	Mon Jan 11 13:04:33 2016 +0000
+++ b/Message.cpp	Thu Jan 14 07:54:44 2016 +0000
@@ -91,7 +91,7 @@
 } //write
 
 void Message::parseMessage(const uint8_t * const rawNdefFile,
-		const uint8_t length, Message *msg) {
+		const uint16_t length, Message *msg) {
 	uint16_t offset = 0;
 	Record *r;