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
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
Diff: m24sr/NDefNfcTagM24SR.cpp
- Revision:
- 12:d1f5eaa85deb
- Parent:
- 9:9f2e2e68d695
- Child:
- 16:b0d62f4b185a
--- a/m24sr/NDefNfcTagM24SR.cpp Thu Jan 14 08:41:19 2016 +0000 +++ b/m24sr/NDefNfcTagM24SR.cpp Thu Jan 14 09:16:40 2016 +0000 @@ -36,7 +36,7 @@ */ #include "NDefNfcTagM24SR.h" -#include "m24sr_class.h" + /* wait 1sec, driver is configured to let 200ms for command to complete */ /* which is enough for all commands except GetSession if RF session is already opened */ /* Smartphone generally releases the session within the second, anyway the user can modify this value */

X-NUCLEO-NFC01A1 Dynamic NFC Tag