0
Dependencies: mbed NDefLib X_NUCLEO_NFC01A1
Dependents: Projekt KPG Program_KPG_2019
Revision 4:4145a2db3349, committed 2015-12-22
- Comitter:
- giovannivisentini
- Date:
- Tue Dec 22 15:34:40 2015 +0000
- Parent:
- 3:54859272193c
- Child:
- 5:664721225857
- Commit message:
- use the new class names
Changed in this revision
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/NDefLib.lib Tue Dec 22 15:34:40 2015 +0000 @@ -0,0 +1,1 @@ +http://developer.mbed.org/users/giovannivisentini/code/NDefLib/#473f6e0b03df
--- a/NDefLib_M24SR.lib Tue Dec 22 08:40:33 2015 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -http://developer.mbed.org/users/giovannivisentini/code/NDefLib_M24SR/#74046bb867e2
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/X_NUCLEO_NFC01A1.lib Tue Dec 22 15:34:40 2015 +0000 @@ -0,0 +1,1 @@ +http://developer.mbed.org/users/giovannivisentini/code/X_NUCLEO_NFC01A1/#96389fb79676
--- a/main.cpp Tue Dec 22 08:40:33 2015 +0000
+++ b/main.cpp Tue Dec 22 15:34:40 2015 +0000
@@ -1,7 +1,8 @@
/**
******************************************************************************
* @file main.cpp
- * @date 21/12/2015
+ * @author ST Central Labs
+ * @date 21 Dic 2015
* @brief This demo write an ndef message with an url inside
******************************************************************************
*
@@ -35,7 +36,7 @@
#include "mbed.h"
#include "X_NUCLEO_NFC01A1.h"
-#include "Type4NfcTagM24SR.h"
+#include "NDefLib/NDefNfcTag.h"
#include "NDefLib/RecordType/RecordURI.h"
/**
@@ -49,7 +50,7 @@
X_NUCLEO_NFC01A1 *nfcNucleo = X_NUCLEO_NFC01A1::Instance(i2cChannel);
//create the wrapper for use the NdefLib
- Type4NfcTagM24SR tag(nfcNucleo->getM24SR());
+ NDefLib::NDefNfcTag& tag =nfcNucleo->getM24SR().getNDefTag();
pc.printf("System Init done: !\n\r");
//open the i2c session with the nfc chip
if(tag.openSession()){