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:
27:3881985097bb
Parent:
20:aad5727cb8c6
--- a/X_NUCLEO_NFC01A1.cpp	Wed Feb 03 09:01:05 2016 +0000
+++ b/X_NUCLEO_NFC01A1.cpp	Fri Sep 30 12:33:20 2016 +0000
@@ -2,7 +2,7 @@
   ******************************************************************************
   * @file       X_NUCLEO_NFC01A1.h
   * @author  	ST Central Labs
-  * @date       05 Nov 2015
+  * @date       30 Set 2016
   * @brief      Singleton class that controls all the electronics inside the 
   * 			X_NUCLEO_NFC01A1 expansion board
   ******************************************************************************
@@ -50,7 +50,7 @@
 X_NUCLEO_NFC01A1 *X_NUCLEO_NFC01A1::mInstance = NULL;
 
 X_NUCLEO_NFC01A1* X_NUCLEO_NFC01A1::Instance(I2C &devI2C,
-		Nfc::gpoEventCallback gpoEventCallback,
+		M24SR::gpoEventCallback gpoEventCallback,
 		const PinName &gpoName,
 		const PinName &RFDisableName, const PinName &led1Name,
 		const PinName &led2Name, const PinName &led3Name) {