NFC, the intuitive contactless technology is finding its way into more and more mobile phone devices. NFC stands for Near Field Communication and is a contactless technology gearing to massively ease information gathering and content sharing. It's very easy to use and allows short range, point to point communication between NFC enabled devices as well as access to content on passive tags and cards. The presentation will focus to provide a technology introduction, some hints on already available applications with a life demonstration of the technology. We will discuss the use cases driving the technology, the level of NFC integration in Android. The NCF API and it's classes will be presented and last but not least we plan to run a little life coding session to show how easy applications can be enabled and can benefit from NFC.
droidcon 2012: What's the Hack is NFC .., Hauke Meyn, NXP
1. NFC - What’s the hack is NFC…
Technology intro, uses cases, applications
Hauke Meyn, Senior Principal System Architect
NXP Semiconductors Germany GmbH
droidcon 2012, Berlin
March, 14th 2012
2. Technology Overview
0 1 0 1 0 0 1 1
Contact Smart Cards
Serial UART
High level of security
Contactless Technology time domain
Electro magnetic field data "1" data "0"
data
subcarrier
manchester
coding
subcarrier
modulation
NFC P2P Technology load
modulation
Electro magnetic field
2
3. NXP Focused on Superb User Experiences
Uniquely leveraging 15 years leadership in existing ecosystems
Secure Transactions Secure Identity Authentication & Tagging
Banking Passports Supply chain Brand Protection
Public Transport & Access ID cards Product Tracking Device Authent.
Mobile Transactions - NFC Health Card Connected Devices
Infrastructure Driving licenses
#1 Transport, Access, Loyalty, etc. #1 eGovernment solutions
– 650+ cities worldwide, 4Bn+ units MIFARE – 81 out of 96 countries depend on NXP for ePassport
#2 Banking solutions #1 Tags & Labels solutions
– 600M+ cards in circulation, 35 countries – Supplying >50% tagging market
#1 NFC solutions #1 Reader ICs for Infrastructure
– Inventor of NFC technology – Supplied 60M+ contactless ICs (80% market share)
– 100+ phones, 190+ NFC trials worldwide – POS terminals 95% market share
Proven Volume Delivery: Over 8 Billion Contactless ICs Shipped
3
4. NFC Devices use a combination of
technologies
Tag/Card Reader/Writer (Terminal)
3 communication modes Multi-standard (ISO/IEC14443, JIS X 6319-4/Felica, ISO/IEC15693)
Connect the world of apps
with the physical world:
Apps jump into the world and touch
people, objects and other apps.
P2P Communication (Device to Device)
Connect devices through NFCIP-1, NFCIP-2 (ISO/IEC18092, ISO/IEC21481)
physical proximity:
A magical connection of devices by
simply touching them. A true device
“hand shake”.
Interactive wallet: Card Emulation (Secure Element)
Incorporates the use of a secure element EMVCo (ISO/IEC14443)
to allow your phone to act like an “interactive
card” for payment, transportation, ID and
physical access
4
5. Who defines how NFC gets integrated?
The NFC Forum
The mission of the NFC Forum is to advance
the use of NFC technology by:
– Developing standards-based specifications that
ensure interoperability among devices and
services
– Encouraging the development of products using
NFC Forum specifications
– Educating the market globally about NFC
technology
– Ensuring that products claiming NFC capabilities
comply with NFC Forum specifications
– Promoting the NFC Forum N-Mark
5
5
6. The Mobile Revolution
Ubiquitous
Mass Shift to contactless
>1B
Smart Phones contactless infrastructure
touch (payment,
points
transport, ID,
consumer, tags)
• Mobile banking/payments
• Social networks
• Appstores
Smart Phone > desktop shipments; will exceed desktop + laptop shipments in 2012
Mobile Internet fastest growth in CE history, driven by Smart Phones
Strong traction for NFC enabled handsets (OEM’s and MNO’s)
Secure online/offline mobile transactions enabled by Secure Element (tamper resistant
hardware)
Fast growing payment, coupon, social network and location based marketing initiatives
Convergence of traditional transit, access, and card experiences onto interactive devices
Allows convenient, intuitive, secure means to take the online experience into the offline world
6
7. Leveraging the growing contactless infrastructure …
Public
Transport
Mobile phone =
transport card
Payment
Mobile phone =
Debit card
Micro-Payment
Mobile phone = cash
Secure log-in
Mobile phone =
Access Control security token
Mobile phone = key
8. Ecosystem players will pursue different use
cases, ten categories identified to date…
1
Proximity Mobile wallet to replace cash payments, increasing consumer convenience,
payments locking-in bank customers and lowering transaction costs
Payments 2
Remote Access account anytime anywhere and allow unbanked to send money P2P
payments for a fee
3
Replace CL transport cards and one-off tickets, driving up usage and
Ticketing
lowering PTO costs
4
Access Add differentiating feature by allowing phone to access buildings, computers
Access & mgmt &
control car and start cars
5
Fast set-up of Bluetooth connection between devices to increase consumer
Pairing
convenience
6
Personal Store / access personal information on phone to increase information
identifi-
cation accessibility (anywhere, anytime)
Credential 7
Exchange digital information by direct phone connection to accelerate social
Social net-
storage & working network expansion and allow new game genre
exchange
8
Location Tap phone at tags to proof visit for more targeted and sophisticated marketing
based
marketing
9
Read product information by tapping phone at tags creating more targeted
eTagging
Content advertising
consump- 10
tion
Media Secure access to Mobile TV, eBooks and Audio
consump-
tion
8
9. Enabling use cases beyond payment & ticketing
Social networking
Making new contacts, updating social networking profiles,
recommending services, advertisement, …
Computing
Secure automatic log-in, easy set-up of components, easy
pairing of devices, …
Retail
M-payment, loyalty, advertising, link to RFID-system, …
Health Care
Medical records / treatments, dossier tracking/tracing, …
Government
Registration cards, Resident/parking permit, Tolling, …
Automotive
Access to services/data, pairing, motor management, keys, fleet
management, driver profile transfer, …
Gaming
proximity peer to peer gaming experience, easy pairing, …
9
10. NFC: Operating System Integration
Nokia / Symbian
– Set starting point for NFC integration on mobile devices
– Well defined, stable and flexible
– Good OS level NFC utilization
Google / Android
– Most used platform for NFC enablement
– Most complete, very powerful API
– Increasing OS level NFC utilization: Android Beam
RIM / Blackberry
– Following Android for NFC enablement
– Integration Classes based like the Android, less utilized
NFC Forum specification support
– Basic OS level NFC utilization
Microsoft / Windows 8
– Coming up
„Native“ OS types like Samsung‘s Bada are not listed 10
11. NFC enabled Applications (1)
NXP created two apps as a technology teaser
NFC TagWriter by NXP
– Store contacts, URLs and text messages on your
NFC tags. Convert QR Code into NFC data sets
and launch actions with a tap
NFC TagInfo by NXP
– NXP TagInfo,is like a “Swiss Army knife” for NFC!
The application provides a value checker, content
viewer and analysis tool in a single application.
11
April 9, 2012
12. NFC enabled Applications (2)
NFC Task Launcher / Tools
– Use NFC Tags to automate tasks NFC Task Launcher makes NFC useful
for every day life. You can use a single NFC tag to configure your phone or
perform actions immediately.
Microsoft Tag / Productivity
– Download the free Tag app to read Tag barcodes, QR Codes and NFC
touchpoints. The Microsoft Tag app lets you instantly connect to a whole
new world of information.
Octopus Balance Reader / Tools
– First app to read the balance of the HK Octopus Card. Once you own an
NFC enabled android phone(such as Nexus S), you are eligible to use this
app.
NFC Profile / Tools
– Touch a tag to toggle your system settings! With NFC Profile you can
switch system settings like WiFi connectivity on and off with a simple touch
of a NFC tag.
12
April 9, 2012
13. Android Beam
With Android Beam any application gets a basic NFC integration
– Opens the App on the other side
– If App is not present the market opens automatically
Allows for beaming NDEF Messages to Other Devices
13
April 9, 2012
14. Android NFC integration
Base classes
package android.nfc
NfcManager High level manager used to obtain an instance of an
NfcAdapter.
NfcAdapter Represents the local NFC adapter.
NfcEvent Wraps information associated with any NFC event.
Tag Represents an NFC tag that has been discovered.
NdefMessage Represents an NDEF (NFC Data Exchange Format)
data message that contains one or more NdefRecords.
NdefRecord Represents a logical (unchunked) NDEF (NFC Data
Exchange Format) record.
14
April 9, 2012
15. Android NFC integration
base classes
package android.nfc.tech
Ndef Provides access to NDEF content and operations on a Tag.
NdefFormatable Provide access to NDEF format operations on a Tag.
IsoDep Provides access to ISO-DEP (ISO 14443-4) properties and I/O operations on a Tag.
NfcA Provides access to NFC-A (ISO 14443-3A) properties and I/O operations on a Tag.
NfcB Provides access to NFC-B (ISO 14443-3B) properties and I/O operations on a Tag.
NfcF Provides access to NFC-F (JIS 6319-4) properties and I/O operations on a Tag.
NfcV Provides access to NFC-V (ISO 15693) properties and I/O operations on a Tag.
MifareClassic Provides access to MIFARE Classic properties and I/O operations on a Tag.
MifareUltralight Provides access to MIFARE Ultralight properties and I/O operations on a Tag.
15
April 9, 2012