Complete mbed library/workspace for HelloWorld_NFC02A1

Dependencies:   NDefLib X_NUCLEO_NFC02A1 mbed

Fork of HelloWorld_NFC02A1 by ST Expansion SW Team

X-NUCLEO-NFC02A1 Dynamic NFC Tag Expansion Board Firmware Package

Introduction

This firmware package includes Components Device Drivers, Board Support Package and example applications for STMicroelectronics X-NUCLEO-NFC02A1 Dynamic NFC Tag Expansion Board based on M24LR.

Example Application

This is just a simple "hello world" style program for the X-NUCLEO-NFC02A1 Dynamic NFC Tag Expansion Board. The program writes a URI link to the M24LR dynamic tag using the synchronous programming model. It then reads back the URI from the tag to display it on terminal. The URI can also be retrieved from an NFC enabled smartphone/tablet.

Files at this revision

API Documentation at this revision

Comitter:
rosarium
Date:
Thu Sep 29 05:48:44 2016 +0000
Parent:
6:cc003c6df70f
Child:
8:9bdd16ebccfb
Commit message:
Bug fix for write message routine and updated the URI message to st.com/st25

Changed in this revision

X_NUCLEO_NFC02A1.lib Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/X_NUCLEO_NFC02A1.lib	Wed Sep 28 13:09:54 2016 +0000
+++ b/X_NUCLEO_NFC02A1.lib	Thu Sep 29 05:48:44 2016 +0000
@@ -1,1 +1,1 @@
-http://developer.mbed.org/users/rosarium/code/X_NUCLEO_NFC02A1/#dd4242314663
+http://developer.mbed.org/users/rosarium/code/X_NUCLEO_NFC02A1/#6d76c75e3eb4
--- a/main.cpp	Wed Sep 28 13:09:54 2016 +0000
+++ b/main.cpp	Thu Sep 29 05:48:44 2016 +0000
@@ -71,7 +71,7 @@
     
     /*create the NDef message and record*/
     NDefLib::Message msg;
-    NDefLib::RecordURI rUri(NDefLib::RecordURI::HTTP_WWW,"st.com");
+    NDefLib::RecordURI rUri(NDefLib::RecordURI::HTTP_WWW,"st.com/st25");
     msg.addRecord(&rUri);
     
     /*write the tag*/