Demonstration of possible usage of the the NFCController class.

NFC SmartPoster example

Demonstration of possible usage of the the NFCController class.

The application creates a smart poster record and sends it when a connected peer requests it. The smart poster record generated contains:

  • A URI: https://www.mbed.com
  • A title: "mbed website"
  • An action: EXECUTE which asks the peer to open the URI.

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

This example is known to work on boards connected to a PN512 shield.

Files at this revision

API Documentation at this revision

Comitter:
mbed_official
Date:
Wed Feb 27 13:03:20 2019 +0000
Parent:
4:b1974a6e060f
Commit message:
Updating mbed-os to mbed-os-5.11.5

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

Changed in this revision

mbed-os.lib Show annotated file Show diff for this revision Revisions of this file
--- a/mbed-os.lib	Wed Feb 13 18:36:03 2019 +0000
+++ b/mbed-os.lib	Wed Feb 27 13:03:20 2019 +0000
@@ -1,1 +1,1 @@
-https://github.com/ARMmbed/mbed-os/#a8d1d26fa76a27263cc9a69f65df45e3458517a5
+https://github.com/ARMmbed/mbed-os/#51d55508e8400b60af467005646c4e2164738d48