Firmware library for the X-NUCLEO-NFC01A1 Dynamic NFC Tag board.

Dependencies:   M24SR

Dependents:   NFC M2M_2016_STM32 MyongjiElec_capstone1 IDW01M1_Cloud_IBM ... more

Fork of X_NUCLEO_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.

Firmware Library

Class X_NUCLEO_NFC01A1 is intended to represent the Dynamic NFC Tag Expansion Board with the same name.
It provides an API to access to the M24SR component and to the three onboard LEDs.
It is intentionally implemented as a singleton because only one X_NUCLEO_NFC01A1 at a time might be deployed in a HW component stack.
The library also provides an implementation of the NDEF library API for M24SR, providing an simple way to read/write NDEF formatted messages from/to the M24SR dynamic NFC tag.

Example applications

1. Hello World
2. Asynchronous Hello World

Revision:
24:9f98eafa2d39
Parent:
23:d07138541feb
Child:
27:3881985097bb
--- a/m24sr/NDefNfcTagM24SR.h	Mon Feb 01 15:32:40 2016 +0000
+++ b/m24sr/NDefNfcTagM24SR.h	Tue Feb 02 16:04:24 2016 +0000
@@ -112,7 +112,7 @@
 		 * Class containing the callback needed to open a session and read the max
 		 * read/write size
 		 */
-		class OpenSessionCallBack: public Nfc::Callback{
+		class OpenSessionCallBack: public Nfc::Callbacks{
 			public:
 				OpenSessionCallBack(NDefNfcTagM24SR &sender);
 
@@ -146,7 +146,7 @@
 		/**
 		 * Class containing the callback needed to close a session
 		 */
-		class CloseSessionCallBack : public Nfc::Callback{
+		class CloseSessionCallBack : public Nfc::Callbacks{
 			public:
 				CloseSessionCallBack(NDefNfcTagM24SR &sender):
 					mSender(sender){}
@@ -174,7 +174,7 @@
 		/**
 		 * Class containing the callback needed to write a buffer
 		 */
-		class WriteByteCallback : public Nfc::Callback{
+		class WriteByteCallback : public Nfc::Callbacks{
 			public:
 
 				/**
@@ -233,7 +233,7 @@
 		/**
 		 * Class containing the callback needed to read a buffer
 		 */
-		class ReadByteCallback : public Nfc::Callback{
+		class ReadByteCallback : public Nfc::Callbacks{
 			public:
 
 				/**