Demonstration of possible usage of the NFC EEPROM class.

NFC EEPROM usage example

Demonstration of possible usage of the NFC EEPROM class.

The application will write an URL to the EEPROM of the NFC tag on your board. This will be able to be read by any NFC device capable of reading NFC tags.

The example needs to supply a driver to the eeprom. This example uses the M24SR driver on the DISCO_L475VG_IOT01A and target and the PN512 driver on the NUCLEO_F401RE target. You may wish to add your own driver or update the configuration if you're using a different board.

Running the application

Verification of the sample application can be seen on any a smartphone with an NFC reader. After running you will be able to read the tag with an NFC tag reader application.

Information about activity is also printed over the serial connection - please have a client open. You may use:

Tera Term - https://ttssh2.osdn.jp/index.html.en

You will also need to supply the driver for the EEPROM. This example is known to work on DISCO_L475VG_IOT01A which uses M24SR. The driver is downloaded during deployment step (mbed deploy). This is based on the contents of the eeprom_driver.lib file. The build process will pick up this library and build it as part of the mbed-os build. If you want to use a different driver, please update the contents of eeprom_driver.lib to point at the github repository containing the driver.

History

Updating mbed-os to mbed-os-5.11.5 default tip

2019-02-27, by mbed_official [Wed, 27 Feb 2019 13:03:10 +0000] rev 5

Updating mbed-os to mbed-os-5.11.5

.
Commit copied from https://github.com/ARMmbed/mbed-os-example-nfc


Updating mbed-os to mbed-os-5.11.3 (#24)

2019-02-13, by mbed_official [Wed, 13 Feb 2019 18:35:52 +0000] rev 4

Updating mbed-os to mbed-os-5.11.3 (#24)


.
Commit copied from https://github.com/ARMmbed/mbed-os-example-nfc


Merge pull request #16 from adbridge/master

2018-11-07, by mbed_official [Wed, 07 Nov 2018 16:30:47 +0000] rev 3

Merge pull request #16 from adbridge/master

Updating mbed-os to mbed-os-5.10.3
.
Commit copied from https://github.com/ARMmbed/mbed-os-example-nfc


Merge pull request #15 from cmonr/master

2018-10-24, by mbed_official [Wed, 24 Oct 2018 17:30:17 +0100] rev 2

Merge pull request #15 from cmonr/master

Updating mbed-os to mbed-os-5.10.2
.
Commit copied from https://github.com/ARMmbed/mbed-os-example-nfc


Merge pull request #13 from ARMmbed/mbed-os-5.10.0-oob

2018-09-26, by mbed_official [Wed, 26 Sep 2018 15:00:59 +0100] rev 1

Merge pull request #13 from ARMmbed/mbed-os-5.10.0-oob

Mbed os 5.10.0
.
Commit copied from https://github.com/ARMmbed/mbed-os-example-nfc


Add mbed deploy into the SmartPoster instructions.

2018-09-24, by mbed_official [Mon, 24 Sep 2018 17:09:39 +0100] rev 0

Add mbed deploy into the SmartPoster instructions.
.
Commit copied from https://github.com/ARMmbed/mbed-os-example-nfc