This application provides a set of demos with X-NUCLEO-NFC01A1 expansion board.

Dependencies:   NDefLib X_NUCLEO_NFC01A1 mbed

Fork of X-MBED-NFC1 by Giovanni Visentini

This application provides a set of demos with X-NUCLEO-NFC01A1 expansion board.

The available demos are:

  • SAMPLE_WRITE_URL: write a tag with the ST home page URL
  • SAMPLE_COUNT_CLICK: create a custom tag to count and report the user button clicks.
  • SAMPLE_WRITE_AND_CHANGE_ALL: write a tag with all the supported records and update the tag contents when the user button is pressed.
  • SAMPLE_LOCK_TAG_CONTENT: use the M24SR component API to set the NFC tag as read-only.

To enable the different demos comment/uncomment the SAMPLE_* macros provided in main.cpp .

Revision:
2:0648c1561eb2
Parent:
1:6d202b62ed68
--- a/Common/nfc.h	Fri Nov 27 15:10:25 2015 +0000
+++ b/Common/nfc.h	Tue Dec 01 08:30:54 2015 +0000
@@ -66,7 +66,7 @@
  */
 typedef void* NFC_InitTypeDef;
 /**
- * @brief  Humidity and temperature status enumerator definition
+ * @brief  NFC status enumerator definition
  */
 typedef enum {
 	NFC_SUCCESS=0x0000,
@@ -93,7 +93,6 @@
 	NFC_CLASS_NOT_SUPPORTED=0x6E00,
 
 	//IOError
-
 	NFC_IO_ERROR_I2CTIMEOUT=0x0011,
 	NFC_IO_ERROR_CRC=0x0012,
 	NFC_IO_ERROR_NACK=0x0013,