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 Oct 24 17:30:22 2018 +0100
Parent:
1:6c82b777db0b
Child:
3:2eabcfa3db8c
Commit message:
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

Changed in this revision

mbed-os.lib Show annotated file Show diff for this revision Revisions of this file
--- a/mbed-os.lib	Wed Sep 26 15:01:02 2018 +0100
+++ b/mbed-os.lib	Wed Oct 24 17:30:22 2018 +0100
@@ -1,1 +1,1 @@
-https://github.com/ARMmbed/mbed-os/#610e35ddc6d59f153173c1e7b2748cf96d6c9bcd
+https://github.com/ARMmbed/mbed-os/#e1bea44212b8275f7d8ce7253e758c2e25c57482