A simple application providing an example of asynchronous access to the X-NUCLEO_NFC01A1 Dynamic NFC Tag board.

Dependencies:   NDefLib X_NUCLEO_NFC01A1 mbed

Fork of HelloWord_Async_NFC01A1 by ST Expansion SW Team

X-NUCLEO-NFC01A1 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-NFC01A1 Dynamic NFC Tag Expansion Board based on M24SR.

Example Application

The application provides a simple example of asynchronous access to the X-NUCLEO-NFC01A1 Dynamic NFC Tag Expansion Board. The program writes a URI link to the M24SR dynamic tag using the asynchronous programming model. The URI can then be retrieved from an NFC enabled smartphone/tablet.

A simpler example providing synchronous access to the tag is also available.

Revision:
1:f008324c60ab
Parent:
0:79807a600c87
Child:
2:48e58c5086e8
--- a/main.cpp	Thu Jan 28 16:39:49 2016 +0000
+++ b/main.cpp	Mon Feb 01 15:41:41 2016 +0000
@@ -140,7 +140,7 @@
 
     //crate the callback to use for write a tag
     WriteUriCallbacks NDefCallback(nfcNucleo->getLed1(),nfcNucleo->getLed2(),nfcNucleo->getLed3());
-    tag.setCallBack(&NDefCallback); //set the callback
+    tag.setCallback(&NDefCallback); //set the callback
     tag.openSession(); //start the callback chain
 
     printf("Start Main Loop\n\r");