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
Revision 32:9fc4f9195d28, committed 2017-05-18
- Comitter:
- giovannivisentini
- Date:
- Thu May 18 15:20:43 2017 +0000
- Parent:
- 30:68fa3accb6b4
- Child:
- 33:e6b7e74be1d5
- Commit message:
- fix RemoveAllPasswordCallback callback name
Changed in this revision
| m24sr/M24SR.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/m24sr/M24SR.h Thu May 18 13:05:29 2017 +0000
+++ b/m24sr/M24SR.h Thu May 18 15:20:43 2017 +0000
@@ -1040,7 +1040,7 @@
*/
RemoveAllPasswordCallback():mI2CPwd(NULL){}
- virtual void onVerified(M24SR *nfc,StatusTypeDef status,
+ virtual void on_verified(M24SR *nfc,StatusTypeDef status,
PasswordType_t,const uint8_t* data){
if(status!=M24SR_SUCCESS)
return onFinishCommand(nfc,status);

X-NUCLEO-NFC01A1 Dynamic NFC Tag