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:
18:cf1dd5c931c2
Parent:
17:46899fa3d9f2
Child:
19:13d84b136a62
--- a/Message.cpp	Wed Aug 31 08:32:13 2016 +0000
+++ b/Message.cpp	Thu Oct 27 07:39:26 2016 +0000
@@ -115,7 +115,7 @@
 
 void Message::removeAndDeleteAllRecord(Message &msg){
     const uint32_t nRecords =msg.getNRecords();
-	for(int i =0 ;i<nRecords ;i++){
+	for(uint32_t i =0 ;i<nRecords ;i++){
         NDefLib::Record *r = msg[i];
         delete r;
     }//for