SlideShare una empresa de Scribd logo
1 de 21
Introduction to NFC
Wei-Tsung Su (蘇維宗)
ellington.su@gmail.com
05/28/2014 (Ver. 1.0)
Page : 1Ubiquitous Computing and Ambient Networking Laboratory
Change Log
Date Ver. Authors Description
5/28/2014 1.0 Wei-Tsung Su Introduction to NFC; NFC Data Exchange Format
Ubiquitous Computing and Ambient Networking Laboratory Page : 2
Reference
• NFC Data Exchange Format (NDEF) Technical
Specification 1.0
• NFC Record Type Definition (RTD) Technical
Specification 1.0
• Text Record Type Definition 1.0
• URI Record Type Definition 1.0
• Smart Poster Record Type Definition 1.1
• http://developer.android.com/guide/topics/connect
ivity/nfc/index.html
• http://nfc-forum.org/
• http://www.nfc.cc/
Ubiquitous Computing and Ambient Networking Laboratory Page : 3
Near Field Communication (NFC)
Ubiquitous Computing and Ambient Networking Laboratory Page : 4
Introduction to NFC
Ubiquitous Computing and Ambient Networking Laboratory Page : 5
NFC
• NFC is a contactless communication
– In typical, the communication distance is less than 4 cm
– Operation frequency is 13.56MHz
– Killer applications: e-wallet, name card exchange, check-in, and so on
– Related standards
• NFCIP-1 (ISO 18092 or ECMA 340)
• NFCIP-2 (ISO 21481 or ECMA 352)
• NFC Operation Mode
– Peer-to-Peer
– Reader/Writer
– Card Emulation
• NFC Tag
– Simple: typically write-once
– Complex: provide mathematical operations, hardware encryption
– Sophisticated: provide computation environment
Ubiquitous Computing and Ambient Networking Laboratory Page : 6
NFC Operation Modes
Ubiquitous Computing and Ambient Networking Laboratory Page : 7
NFC Protocol Stack
Ubiquitous Computing and Ambient Networking Laboratory Page : 8
NFC Forum Tag Type
• Type 1 (based on ISO 14443-A)
– Re-writable / write-protection
– Memory size is between 96
bytes and 2 Kbytes
– Speed: 106 Kbps
– Vendor: Topaz (Broadcom)
• Type 2 (based on ISO 14443-A)
– Re-writable / write-protection
– Memory size is between 48
bytes and 2 Kbytes
– Speed: 106 Kbps
– Vendor: NXP
• Type 3 (based on JIS 6319-4,
as known as FeliCa)
– Pre-configured as re-writable or
read-only
– Memory size is limited to 1
Mbytes
– Speed: 212/424 Kbps
– Vendor: Sony
• Type 4 (compliant with ISO
14443-A/B series)
– Pre-configured as re-writable or
read-only
– Memory size is limited to 32
Kbytes
– Speed: 212/424 Kbps
– Vendor: NXP
Ubiquitous Computing and Ambient Networking Laboratory Page : 9
NFC Data Exchange Format (NDEF)
Ubiquitous Computing and Ambient Networking Laboratory Page : 10
NFC Data Exchange Format (NDEF)
• NDEF Message Format
• Description
– Each NDEF message is composed of multiple NDEF records (unbounded
but limited by memory size)
– Each NDEF record can carry the data with size of 232-1 bytes
• If there is multiple NDEF records, the flag of message begin (MB) must be set as 1
in the first NDEF record.
• If there is multiple NDEF records, the flag of message end (ME) must be set as 1 in
the last NDEG record.
• If there is only on NDEF records the flags of MB and ME must be set as 1 in the
NDEG record.
– NDEF does not provide error handling, QoS, and other additional
functionalities.
Ubiquitous Computing and Ambient Networking Laboratory Page : 11
NDEF Message
NDEF Record 1
(MB=1)
NDEF Record 2
…
NDEF Record n
(ME=1)
NDEF Record
Ubiquitous Computing and Ambient Networking Laboratory Page : 12
• Flags
– Message Begin (MB)
– Message End (ME)
– Chunk Flag (CF)
– Short Record (SR)
– ID Length (IL)
• Type Name Format (TNF)
– Indicates the data type
– Indicates how to read Type filed
• Type Length
• ID Length
• Payload Length
• Type
– Indicates payload type
• ID (not tag ID)
– Unique NDEF Message ID
• Payload
– Actual data
7 6 5 4 3 2 1 0
MB ME CF SR IL TNF
Type Length
Payload Length 3
Payload Length 2
Payload Length 1
Payload Length 0
ID Length
Type
ID
Payload
Short NDEF Record
Ubiquitous Computing and Ambient Networking Laboratory Page : 13
7 6 5 4 3 2 1 0
MB ME CF SR = 1 IL TNF
Type Length
Payload Length
ID Length
Type
ID
Payload
Type Name Format (TNF)
Ubiquitous Computing and Ambient Networking Laboratory Page : 14
• Record Type Definition (RTD) in NFC Forum well-known type
– Text
– URL
– Smart Post
Type Name Format Value
Empty 0x00
NFC Forum well-known type [NFC RTD; RFC 2141] 0x01
Media-type as defined in RFC 2046 [RFC 2046] 0x02
Absolute URI as defined in RFC 3968 [RFC 3968] 0x03
NFC Forum external type [NFC RTD] 0x04
Unknown 0x05
Unchanged 0x06
Reserved 0x07
• NDEF record example of Text RTD
Ubiquitous Computing and Ambient Networking Laboratory Page : 15
7 6 5 4 3 2 1 0
MB ME CF SR IL TNF = 0x01
Type Length = 0x01
Payload Length 3
Payload Length 2
Payload Length 1
Payload Length 0
ID Length
Type = “T”
ID
Payload
TNF: NFC Forum Well-known Type
Text RTD
TNF: NFC Forum Well-known Typecon’t
Text RTD
• Payload Structure
Ubiquitous Computing and Ambient Networking Laboratory Page : 16
RTD Text Payload
0 1 … n n+1 … m
Status
byte
IANA Language Code
(Encoded by US-ASCII)
Text
(Encoded by UTF-8 or UTF-16
depending on status bit)
Status byte
0 1 2 3 4 5 6 7
0: UTF-8
1: UTD16
0 The length of the IANA language code.
TNF: NFC Forum Well-known Type
URI Service RTD
• NDEF record example of URI service RTD
Ubiquitous Computing and Ambient Networking Laboratory Page : 17
7 6 5 4 3 2 1 0
MB ME CF SR IL TNF = 0x01
Type Length = 0x01
Payload Length 3
Payload Length 2
Payload Length 1
Payload Length 0
ID Length
Type = “U”
ID
Payload
TNF: NFC Forum Well-known Typecon’t
URI Service RTD
• Payload Structure
• ID Code
Ubiquitous Computing and Ambient Networking Laboratory Page : 18
RTD URI Payload
0 1 … n
URI
ID code
URI field encoded by UTF-8
(The rest of the URI, or the entire URI if ID code is 0x00)
Hex. URL Prefix Hex. URL Prefix Hex. URL Prefix Hex. URL Prefix
0x00 N/A 0x0A sftps:// 0x14 pop: 0x1E urn:epc:id:
0x01 http://www. 0x0B smb:// 0x15 sip: 0x1F urn:epc:tag:
0x02 https://www. 0x0C nfs:// 0x16 sips 0x20 urn:epc:pat
0x03 http:// 0x0D ftp:// 0x17 tftp: 0x21 urn:epc:raw
0x04 https:// 0x0E dav:// 0x18 btspp:// 0x22 urn:epc:
0x05 tel: 0x0F news:// 0x19 btl2cap:// 0x23 urn:nfc
0x06 mailto: 0x10 telnet:// 0x1A btgoep:// … Reserved
0x07 ftp://anonymous:anonymous@ 0x11 imap 0x1B tcpobex://
0x08 ftp://ftp. 0x12 rtsp:// 0x1C irdaobex://
0x09 ftps:// 0x13 urn:// 0x1D dile://
TNF: NFC Forum Well-known Type
Smart Post RTD – URL, SMS, Phone Number
Ubiquitous Computing and Ambient Networking Laboratory Page : 19
• NDEF record example of Smart Post RTD
7 6 5 4 3 2 1 0
MB ME CF SR IL TNF = 0x01
Type Length = 0x02
Payload Length 3
Payload Length 2
Payload Length 1
Payload Length 0
ID Length
Type = “Sp”
ID
Payload
TNF: NFC Forum Well-known Typecon’t
Smart Post RTD – URL, SMS, Phone Number
• The payload of Smart Post RTD is an NDEF message which is composed
of multiple following specific NDEF records
– URI record
• The core of Smart Poster.
• MUST have one and only one URI record
– Title record
• COULD have multiple title records with different languages
– Action record
• Used to provide the recommendation of processing this service
– Icon record
– Size record
• If URI record indicates a external entity, the size record which indicates the size of
external entity to make sure the device is capable of handling this external entity.
– Type record
• If URI record indicates a external entity, the type record is used to indicates the
MIME type of this external entity.
– Application-specific record
Ubiquitous Computing and Ambient Networking Laboratory Page : 20
Q & A
Ubiquitous Computing and Ambient Networking Laboratory Page : 21

Más contenido relacionado

La actualidad más candente

Near Field Communication (NFC) technology
Near Field Communication (NFC) technologyNear Field Communication (NFC) technology
Near Field Communication (NFC) technologyIshtdeep Hora
 
NEAR FIELD COMMUNICATION
NEAR FIELD COMMUNICATIONNEAR FIELD COMMUNICATION
NEAR FIELD COMMUNICATIONHarisankar U K
 
LTE ADVANCED PPT
LTE ADVANCED PPTLTE ADVANCED PPT
LTE ADVANCED PPTTrinath
 
RFID and its applications
RFID and its applicationsRFID and its applications
RFID and its applicationsNaveen Kumar
 
Near field communication new
Near field communication newNear field communication new
Near field communication newSanu Varghese
 
Near Field Communication (NFC)
Near Field Communication (NFC)Near Field Communication (NFC)
Near Field Communication (NFC)Pavan Kumar B S
 
Bluetooth Low Energy - A Case Study
Bluetooth Low Energy - A Case StudyBluetooth Low Energy - A Case Study
Bluetooth Low Energy - A Case StudyFReeze FRancis
 
Wireless routing protocols
Wireless routing protocolsWireless routing protocols
Wireless routing protocolsbarodia_1437
 
Broadside array vs end fire array
Broadside array vs end fire arrayBroadside array vs end fire array
Broadside array vs end fire arrayAJAL A J
 
Security in GSM(2G) and UMTS(3G) Networks
Security in GSM(2G) and UMTS(3G) NetworksSecurity in GSM(2G) and UMTS(3G) Networks
Security in GSM(2G) and UMTS(3G) NetworksNaveen Kumar
 
Near field communication(NFC)
Near field communication(NFC)Near field communication(NFC)
Near field communication(NFC)ronak1207
 
NFC: Shaping the Future of the Connected Customer Experience
NFC: Shaping the Future of the Connected Customer ExperienceNFC: Shaping the Future of the Connected Customer Experience
NFC: Shaping the Future of the Connected Customer ExperienceNFC Forum
 
Gsm – global system for mobile communication
Gsm – global system for mobile communicationGsm – global system for mobile communication
Gsm – global system for mobile communicationMuhammad Uzair Rasheed
 

La actualidad más candente (20)

Nfc ppt
Nfc pptNfc ppt
Nfc ppt
 
Near field communication
Near field communicationNear field communication
Near field communication
 
Near Field Communication (NFC) technology
Near Field Communication (NFC) technologyNear Field Communication (NFC) technology
Near Field Communication (NFC) technology
 
NEAR FIELD COMMUNICATION
NEAR FIELD COMMUNICATIONNEAR FIELD COMMUNICATION
NEAR FIELD COMMUNICATION
 
Gsm ppt
Gsm pptGsm ppt
Gsm ppt
 
LTE ADVANCED PPT
LTE ADVANCED PPTLTE ADVANCED PPT
LTE ADVANCED PPT
 
DSDV VS AODV
DSDV VS AODV DSDV VS AODV
DSDV VS AODV
 
RFID and its applications
RFID and its applicationsRFID and its applications
RFID and its applications
 
Near field communication new
Near field communication newNear field communication new
Near field communication new
 
NFC tech
NFC techNFC tech
NFC tech
 
Near Field Communication (NFC)
Near Field Communication (NFC)Near Field Communication (NFC)
Near Field Communication (NFC)
 
Bluetooth Low Energy - A Case Study
Bluetooth Low Energy - A Case StudyBluetooth Low Energy - A Case Study
Bluetooth Low Energy - A Case Study
 
Erlang table
Erlang tableErlang table
Erlang table
 
GSM Presentation
GSM PresentationGSM Presentation
GSM Presentation
 
Wireless routing protocols
Wireless routing protocolsWireless routing protocols
Wireless routing protocols
 
Broadside array vs end fire array
Broadside array vs end fire arrayBroadside array vs end fire array
Broadside array vs end fire array
 
Security in GSM(2G) and UMTS(3G) Networks
Security in GSM(2G) and UMTS(3G) NetworksSecurity in GSM(2G) and UMTS(3G) Networks
Security in GSM(2G) and UMTS(3G) Networks
 
Near field communication(NFC)
Near field communication(NFC)Near field communication(NFC)
Near field communication(NFC)
 
NFC: Shaping the Future of the Connected Customer Experience
NFC: Shaping the Future of the Connected Customer ExperienceNFC: Shaping the Future of the Connected Customer Experience
NFC: Shaping the Future of the Connected Customer Experience
 
Gsm – global system for mobile communication
Gsm – global system for mobile communicationGsm – global system for mobile communication
Gsm – global system for mobile communication
 

Destacado

VISIONFC Automotive Summit
VISIONFC Automotive SummitVISIONFC Automotive Summit
VISIONFC Automotive SummitNFC Forum
 
Smart Phone in 2013
Smart Phone in 2013Smart Phone in 2013
Smart Phone in 2013JJ Wu
 
NFC And HCE 2016 - What’s Next?
NFC And HCE 2016 - What’s Next?NFC And HCE 2016 - What’s Next?
NFC And HCE 2016 - What’s Next?NFC Forum
 
Techpubs_NFC-TI100-R
Techpubs_NFC-TI100-RTechpubs_NFC-TI100-R
Techpubs_NFC-TI100-RJames Dickson
 
NFC近場通訊-twMVC#9
NFC近場通訊-twMVC#9NFC近場通訊-twMVC#9
NFC近場通訊-twMVC#9twMVC
 
Embedded Systems Security News 2011/06
Embedded Systems Security News 2011/06Embedded Systems Security News 2011/06
Embedded Systems Security News 2011/06AurMiana
 
Wireless Patents for Standards & Applications 1Q 2015
Wireless Patents for Standards & Applications 1Q 2015Wireless Patents for Standards & Applications 1Q 2015
Wireless Patents for Standards & Applications 1Q 2015Alex G. Lee, Ph.D. Esq. CLP
 
NFC Standard Essential Patent Candidates Data 4Q 2014
NFC Standard Essential Patent Candidates Data 4Q 2014NFC Standard Essential Patent Candidates Data 4Q 2014
NFC Standard Essential Patent Candidates Data 4Q 2014Alex G. Lee, Ph.D. Esq. CLP
 
Tap into NFC Showcase - Shanghai
Tap into NFC Showcase - ShanghaiTap into NFC Showcase - Shanghai
Tap into NFC Showcase - ShanghaiNFC Forum
 
Introduction to nfc_v1_1_en
Introduction to nfc_v1_1_enIntroduction to nfc_v1_1_en
Introduction to nfc_v1_1_enopen-src
 
Product manager for dynamic nfc id 11949
Product manager for dynamic nfc  id 11949Product manager for dynamic nfc  id 11949
Product manager for dynamic nfc id 11949Raoul Brouns
 
Embedded systems security news 2011/04
Embedded systems security news 2011/04Embedded systems security news 2011/04
Embedded systems security news 2011/04AurMiana
 
Embedded Systems Security News 2011/01
Embedded Systems Security News 2011/01Embedded Systems Security News 2011/01
Embedded Systems Security News 2011/01AurMiana
 
Nfc reader writer_mode
Nfc reader writer_modeNfc reader writer_mode
Nfc reader writer_modeChun-Kai Wang
 
Android Application Development of NFC Reader-Writer Mode
Android Application Development of NFC Reader-Writer ModeAndroid Application Development of NFC Reader-Writer Mode
Android Application Development of NFC Reader-Writer ModeChun-Kai Wang
 
Smartrac webinar tap and play December 2013
Smartrac webinar tap and play December 2013Smartrac webinar tap and play December 2013
Smartrac webinar tap and play December 2013Mikko Nikkanen
 
Embedded Systems Security News 2011/05
Embedded Systems Security News 2011/05Embedded Systems Security News 2011/05
Embedded Systems Security News 2011/05AurMiana
 
NFC (Windows 8/ Windows Phone 8 )
NFC (Windows 8/ Windows Phone 8 )NFC (Windows 8/ Windows Phone 8 )
NFC (Windows 8/ Windows Phone 8 )Bill Chung
 

Destacado (20)

VISIONFC Automotive Summit
VISIONFC Automotive SummitVISIONFC Automotive Summit
VISIONFC Automotive Summit
 
Smart Phone in 2013
Smart Phone in 2013Smart Phone in 2013
Smart Phone in 2013
 
NFC And HCE 2016 - What’s Next?
NFC And HCE 2016 - What’s Next?NFC And HCE 2016 - What’s Next?
NFC And HCE 2016 - What’s Next?
 
Techpubs_NFC-TI100-R
Techpubs_NFC-TI100-RTechpubs_NFC-TI100-R
Techpubs_NFC-TI100-R
 
Mister softee
Mister softeeMister softee
Mister softee
 
NFC近場通訊-twMVC#9
NFC近場通訊-twMVC#9NFC近場通訊-twMVC#9
NFC近場通訊-twMVC#9
 
Embedded Systems Security News 2011/06
Embedded Systems Security News 2011/06Embedded Systems Security News 2011/06
Embedded Systems Security News 2011/06
 
Wireless Patents for Standards & Applications 1Q 2015
Wireless Patents for Standards & Applications 1Q 2015Wireless Patents for Standards & Applications 1Q 2015
Wireless Patents for Standards & Applications 1Q 2015
 
Ganesh
GaneshGanesh
Ganesh
 
NFC Standard Essential Patent Candidates Data 4Q 2014
NFC Standard Essential Patent Candidates Data 4Q 2014NFC Standard Essential Patent Candidates Data 4Q 2014
NFC Standard Essential Patent Candidates Data 4Q 2014
 
Tap into NFC Showcase - Shanghai
Tap into NFC Showcase - ShanghaiTap into NFC Showcase - Shanghai
Tap into NFC Showcase - Shanghai
 
Introduction to nfc_v1_1_en
Introduction to nfc_v1_1_enIntroduction to nfc_v1_1_en
Introduction to nfc_v1_1_en
 
Product manager for dynamic nfc id 11949
Product manager for dynamic nfc  id 11949Product manager for dynamic nfc  id 11949
Product manager for dynamic nfc id 11949
 
Embedded systems security news 2011/04
Embedded systems security news 2011/04Embedded systems security news 2011/04
Embedded systems security news 2011/04
 
Embedded Systems Security News 2011/01
Embedded Systems Security News 2011/01Embedded Systems Security News 2011/01
Embedded Systems Security News 2011/01
 
Nfc reader writer_mode
Nfc reader writer_modeNfc reader writer_mode
Nfc reader writer_mode
 
Android Application Development of NFC Reader-Writer Mode
Android Application Development of NFC Reader-Writer ModeAndroid Application Development of NFC Reader-Writer Mode
Android Application Development of NFC Reader-Writer Mode
 
Smartrac webinar tap and play December 2013
Smartrac webinar tap and play December 2013Smartrac webinar tap and play December 2013
Smartrac webinar tap and play December 2013
 
Embedded Systems Security News 2011/05
Embedded Systems Security News 2011/05Embedded Systems Security News 2011/05
Embedded Systems Security News 2011/05
 
NFC (Windows 8/ Windows Phone 8 )
NFC (Windows 8/ Windows Phone 8 )NFC (Windows 8/ Windows Phone 8 )
NFC (Windows 8/ Windows Phone 8 )
 

Similar a Introduction to NFC

Bluetooth Secure Simple Pairing Using NFC Part 2
Bluetooth Secure Simple Pairing Using NFC Part 2Bluetooth Secure Simple Pairing Using NFC Part 2
Bluetooth Secure Simple Pairing Using NFC Part 2NFC Forum
 
NFC Bootcamp Seattle Day 2
NFC Bootcamp Seattle Day 2 NFC Bootcamp Seattle Day 2
NFC Bootcamp Seattle Day 2 traceebeebe
 
Introduction to nfc
Introduction to nfcIntroduction to nfc
Introduction to nfcRay Cheng
 
Small office Home office , network setup in details
Small office Home office , network setup in detailsSmall office Home office , network setup in details
Small office Home office , network setup in detailsapel7
 
SOHO Network Setup Tutorial
SOHO Network Setup Tutorial SOHO Network Setup Tutorial
SOHO Network Setup Tutorial junaidahmedsaba
 
networking and computer security prasantation
networking  and computer  security  prasantationnetworking  and computer  security  prasantation
networking and computer security prasantationDasharathChaudhary3
 
Chapter 5 introduction to computer communication networks
Chapter 5   introduction to computer communication networksChapter 5   introduction to computer communication networks
Chapter 5 introduction to computer communication networksN. A. Sutisna
 
Tftp client server communication
Tftp client server communicationTftp client server communication
Tftp client server communicationUday Sharma
 
An Introduction to BGP Flow Spec
An Introduction to BGP Flow SpecAn Introduction to BGP Flow Spec
An Introduction to BGP Flow SpecShortestPathFirst
 
Multi protocol label switching (mpls)
Multi protocol label switching (mpls)Multi protocol label switching (mpls)
Multi protocol label switching (mpls)Online
 
Hcs Topic 3 Peripherals V2
Hcs Topic 3 Peripherals V2Hcs Topic 3 Peripherals V2
Hcs Topic 3 Peripherals V2Naruin
 
Hcs Topic 3 Peripherals V2
Hcs Topic 3 Peripherals V2Hcs Topic 3 Peripherals V2
Hcs Topic 3 Peripherals V2ekul
 
Hcs Topic 3 Peripherals V2
Hcs Topic 3 Peripherals V2Hcs Topic 3 Peripherals V2
Hcs Topic 3 Peripherals V2Kyle
 
Data Communication & Computer Networks
Data Communication & Computer NetworksData Communication & Computer Networks
Data Communication & Computer NetworksSreedhar Chowdam
 
ETE405-lec7.pdf
ETE405-lec7.pdfETE405-lec7.pdf
ETE405-lec7.pdfmashiur
 
Near field communication (NFC)
Near field communication (NFC)Near field communication (NFC)
Near field communication (NFC)Bharat Kachhwaha
 

Similar a Introduction to NFC (20)

Bluetooth Secure Simple Pairing Using NFC Part 2
Bluetooth Secure Simple Pairing Using NFC Part 2Bluetooth Secure Simple Pairing Using NFC Part 2
Bluetooth Secure Simple Pairing Using NFC Part 2
 
NFC Bootcamp Seattle Day 2
NFC Bootcamp Seattle Day 2 NFC Bootcamp Seattle Day 2
NFC Bootcamp Seattle Day 2
 
Introduction to nfc
Introduction to nfcIntroduction to nfc
Introduction to nfc
 
NETWORKING
NETWORKINGNETWORKING
NETWORKING
 
Web Presen
Web PresenWeb Presen
Web Presen
 
Small office Home office , network setup in details
Small office Home office , network setup in detailsSmall office Home office , network setup in details
Small office Home office , network setup in details
 
SOHO Network Setup Tutorial
SOHO Network Setup Tutorial SOHO Network Setup Tutorial
SOHO Network Setup Tutorial
 
Introduction to socket programming nbv
Introduction to socket programming nbvIntroduction to socket programming nbv
Introduction to socket programming nbv
 
networking and computer security prasantation
networking  and computer  security  prasantationnetworking  and computer  security  prasantation
networking and computer security prasantation
 
San 2
San 2San 2
San 2
 
Chapter 5 introduction to computer communication networks
Chapter 5   introduction to computer communication networksChapter 5   introduction to computer communication networks
Chapter 5 introduction to computer communication networks
 
Tftp client server communication
Tftp client server communicationTftp client server communication
Tftp client server communication
 
An Introduction to BGP Flow Spec
An Introduction to BGP Flow SpecAn Introduction to BGP Flow Spec
An Introduction to BGP Flow Spec
 
Multi protocol label switching (mpls)
Multi protocol label switching (mpls)Multi protocol label switching (mpls)
Multi protocol label switching (mpls)
 
Hcs Topic 3 Peripherals V2
Hcs Topic 3 Peripherals V2Hcs Topic 3 Peripherals V2
Hcs Topic 3 Peripherals V2
 
Hcs Topic 3 Peripherals V2
Hcs Topic 3 Peripherals V2Hcs Topic 3 Peripherals V2
Hcs Topic 3 Peripherals V2
 
Hcs Topic 3 Peripherals V2
Hcs Topic 3 Peripherals V2Hcs Topic 3 Peripherals V2
Hcs Topic 3 Peripherals V2
 
Data Communication & Computer Networks
Data Communication & Computer NetworksData Communication & Computer Networks
Data Communication & Computer Networks
 
ETE405-lec7.pdf
ETE405-lec7.pdfETE405-lec7.pdf
ETE405-lec7.pdf
 
Near field communication (NFC)
Near field communication (NFC)Near field communication (NFC)
Near field communication (NFC)
 

Más de Wei-Tsung Su

軟體系統測試簡介
軟體系統測試簡介軟體系統測試簡介
軟體系統測試簡介Wei-Tsung Su
 
MQTT簡介與使用開放原始碼
MQTT簡介與使用開放原始碼MQTT簡介與使用開放原始碼
MQTT簡介與使用開放原始碼Wei-Tsung Su
 
LinkIt Smart 7688程式開發
LinkIt Smart 7688程式開發LinkIt Smart 7688程式開發
LinkIt Smart 7688程式開發Wei-Tsung Su
 
Arduino Yun Mini - 使用SQLite
Arduino Yun Mini - 使用SQLiteArduino Yun Mini - 使用SQLite
Arduino Yun Mini - 使用SQLiteWei-Tsung Su
 
Arduino Yun Mini簡介
Arduino Yun Mini簡介Arduino Yun Mini簡介
Arduino Yun Mini簡介Wei-Tsung Su
 
Google Glass - Unit01: Design
Google Glass - Unit01: DesignGoogle Glass - Unit01: Design
Google Glass - Unit01: DesignWei-Tsung Su
 
Google App Engine for Python - Unit01: Basic
Google App Engine for Python - Unit01: BasicGoogle App Engine for Python - Unit01: Basic
Google App Engine for Python - Unit01: BasicWei-Tsung Su
 
Introduction to Version Control
Introduction to Version ControlIntroduction to Version Control
Introduction to Version ControlWei-Tsung Su
 
Introduction to Wi-Fi Direct
Introduction to Wi-Fi DirectIntroduction to Wi-Fi Direct
Introduction to Wi-Fi DirectWei-Tsung Su
 
Introduction to OAuth
Introduction to OAuthIntroduction to OAuth
Introduction to OAuthWei-Tsung Su
 

Más de Wei-Tsung Su (12)

Git Branch
Git BranchGit Branch
Git Branch
 
軟體系統測試簡介
軟體系統測試簡介軟體系統測試簡介
軟體系統測試簡介
 
MQTT簡介與使用開放原始碼
MQTT簡介與使用開放原始碼MQTT簡介與使用開放原始碼
MQTT簡介與使用開放原始碼
 
LinkIt Smart 7688程式開發
LinkIt Smart 7688程式開發LinkIt Smart 7688程式開發
LinkIt Smart 7688程式開發
 
Arduino Yun Mini - 使用SQLite
Arduino Yun Mini - 使用SQLiteArduino Yun Mini - 使用SQLite
Arduino Yun Mini - 使用SQLite
 
Arduino Yun Mini簡介
Arduino Yun Mini簡介Arduino Yun Mini簡介
Arduino Yun Mini簡介
 
Google Glass - Unit01: Design
Google Glass - Unit01: DesignGoogle Glass - Unit01: Design
Google Glass - Unit01: Design
 
Google App Engine for Python - Unit01: Basic
Google App Engine for Python - Unit01: BasicGoogle App Engine for Python - Unit01: Basic
Google App Engine for Python - Unit01: Basic
 
創業的藝術
創業的藝術創業的藝術
創業的藝術
 
Introduction to Version Control
Introduction to Version ControlIntroduction to Version Control
Introduction to Version Control
 
Introduction to Wi-Fi Direct
Introduction to Wi-Fi DirectIntroduction to Wi-Fi Direct
Introduction to Wi-Fi Direct
 
Introduction to OAuth
Introduction to OAuthIntroduction to OAuth
Introduction to OAuth
 

Último

Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsMiki Katsuragi
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piececharlottematthew16
 
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DayH2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DaySri Ambati
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 

Último (20)

Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
 
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DayH2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 

Introduction to NFC

  • 1. Introduction to NFC Wei-Tsung Su (蘇維宗) ellington.su@gmail.com 05/28/2014 (Ver. 1.0) Page : 1Ubiquitous Computing and Ambient Networking Laboratory
  • 2. Change Log Date Ver. Authors Description 5/28/2014 1.0 Wei-Tsung Su Introduction to NFC; NFC Data Exchange Format Ubiquitous Computing and Ambient Networking Laboratory Page : 2
  • 3. Reference • NFC Data Exchange Format (NDEF) Technical Specification 1.0 • NFC Record Type Definition (RTD) Technical Specification 1.0 • Text Record Type Definition 1.0 • URI Record Type Definition 1.0 • Smart Poster Record Type Definition 1.1 • http://developer.android.com/guide/topics/connect ivity/nfc/index.html • http://nfc-forum.org/ • http://www.nfc.cc/ Ubiquitous Computing and Ambient Networking Laboratory Page : 3
  • 4. Near Field Communication (NFC) Ubiquitous Computing and Ambient Networking Laboratory Page : 4
  • 5. Introduction to NFC Ubiquitous Computing and Ambient Networking Laboratory Page : 5
  • 6. NFC • NFC is a contactless communication – In typical, the communication distance is less than 4 cm – Operation frequency is 13.56MHz – Killer applications: e-wallet, name card exchange, check-in, and so on – Related standards • NFCIP-1 (ISO 18092 or ECMA 340) • NFCIP-2 (ISO 21481 or ECMA 352) • NFC Operation Mode – Peer-to-Peer – Reader/Writer – Card Emulation • NFC Tag – Simple: typically write-once – Complex: provide mathematical operations, hardware encryption – Sophisticated: provide computation environment Ubiquitous Computing and Ambient Networking Laboratory Page : 6
  • 7. NFC Operation Modes Ubiquitous Computing and Ambient Networking Laboratory Page : 7
  • 8. NFC Protocol Stack Ubiquitous Computing and Ambient Networking Laboratory Page : 8
  • 9. NFC Forum Tag Type • Type 1 (based on ISO 14443-A) – Re-writable / write-protection – Memory size is between 96 bytes and 2 Kbytes – Speed: 106 Kbps – Vendor: Topaz (Broadcom) • Type 2 (based on ISO 14443-A) – Re-writable / write-protection – Memory size is between 48 bytes and 2 Kbytes – Speed: 106 Kbps – Vendor: NXP • Type 3 (based on JIS 6319-4, as known as FeliCa) – Pre-configured as re-writable or read-only – Memory size is limited to 1 Mbytes – Speed: 212/424 Kbps – Vendor: Sony • Type 4 (compliant with ISO 14443-A/B series) – Pre-configured as re-writable or read-only – Memory size is limited to 32 Kbytes – Speed: 212/424 Kbps – Vendor: NXP Ubiquitous Computing and Ambient Networking Laboratory Page : 9
  • 10. NFC Data Exchange Format (NDEF) Ubiquitous Computing and Ambient Networking Laboratory Page : 10
  • 11. NFC Data Exchange Format (NDEF) • NDEF Message Format • Description – Each NDEF message is composed of multiple NDEF records (unbounded but limited by memory size) – Each NDEF record can carry the data with size of 232-1 bytes • If there is multiple NDEF records, the flag of message begin (MB) must be set as 1 in the first NDEF record. • If there is multiple NDEF records, the flag of message end (ME) must be set as 1 in the last NDEG record. • If there is only on NDEF records the flags of MB and ME must be set as 1 in the NDEG record. – NDEF does not provide error handling, QoS, and other additional functionalities. Ubiquitous Computing and Ambient Networking Laboratory Page : 11 NDEF Message NDEF Record 1 (MB=1) NDEF Record 2 … NDEF Record n (ME=1)
  • 12. NDEF Record Ubiquitous Computing and Ambient Networking Laboratory Page : 12 • Flags – Message Begin (MB) – Message End (ME) – Chunk Flag (CF) – Short Record (SR) – ID Length (IL) • Type Name Format (TNF) – Indicates the data type – Indicates how to read Type filed • Type Length • ID Length • Payload Length • Type – Indicates payload type • ID (not tag ID) – Unique NDEF Message ID • Payload – Actual data 7 6 5 4 3 2 1 0 MB ME CF SR IL TNF Type Length Payload Length 3 Payload Length 2 Payload Length 1 Payload Length 0 ID Length Type ID Payload
  • 13. Short NDEF Record Ubiquitous Computing and Ambient Networking Laboratory Page : 13 7 6 5 4 3 2 1 0 MB ME CF SR = 1 IL TNF Type Length Payload Length ID Length Type ID Payload
  • 14. Type Name Format (TNF) Ubiquitous Computing and Ambient Networking Laboratory Page : 14 • Record Type Definition (RTD) in NFC Forum well-known type – Text – URL – Smart Post Type Name Format Value Empty 0x00 NFC Forum well-known type [NFC RTD; RFC 2141] 0x01 Media-type as defined in RFC 2046 [RFC 2046] 0x02 Absolute URI as defined in RFC 3968 [RFC 3968] 0x03 NFC Forum external type [NFC RTD] 0x04 Unknown 0x05 Unchanged 0x06 Reserved 0x07
  • 15. • NDEF record example of Text RTD Ubiquitous Computing and Ambient Networking Laboratory Page : 15 7 6 5 4 3 2 1 0 MB ME CF SR IL TNF = 0x01 Type Length = 0x01 Payload Length 3 Payload Length 2 Payload Length 1 Payload Length 0 ID Length Type = “T” ID Payload TNF: NFC Forum Well-known Type Text RTD
  • 16. TNF: NFC Forum Well-known Typecon’t Text RTD • Payload Structure Ubiquitous Computing and Ambient Networking Laboratory Page : 16 RTD Text Payload 0 1 … n n+1 … m Status byte IANA Language Code (Encoded by US-ASCII) Text (Encoded by UTF-8 or UTF-16 depending on status bit) Status byte 0 1 2 3 4 5 6 7 0: UTF-8 1: UTD16 0 The length of the IANA language code.
  • 17. TNF: NFC Forum Well-known Type URI Service RTD • NDEF record example of URI service RTD Ubiquitous Computing and Ambient Networking Laboratory Page : 17 7 6 5 4 3 2 1 0 MB ME CF SR IL TNF = 0x01 Type Length = 0x01 Payload Length 3 Payload Length 2 Payload Length 1 Payload Length 0 ID Length Type = “U” ID Payload
  • 18. TNF: NFC Forum Well-known Typecon’t URI Service RTD • Payload Structure • ID Code Ubiquitous Computing and Ambient Networking Laboratory Page : 18 RTD URI Payload 0 1 … n URI ID code URI field encoded by UTF-8 (The rest of the URI, or the entire URI if ID code is 0x00) Hex. URL Prefix Hex. URL Prefix Hex. URL Prefix Hex. URL Prefix 0x00 N/A 0x0A sftps:// 0x14 pop: 0x1E urn:epc:id: 0x01 http://www. 0x0B smb:// 0x15 sip: 0x1F urn:epc:tag: 0x02 https://www. 0x0C nfs:// 0x16 sips 0x20 urn:epc:pat 0x03 http:// 0x0D ftp:// 0x17 tftp: 0x21 urn:epc:raw 0x04 https:// 0x0E dav:// 0x18 btspp:// 0x22 urn:epc: 0x05 tel: 0x0F news:// 0x19 btl2cap:// 0x23 urn:nfc 0x06 mailto: 0x10 telnet:// 0x1A btgoep:// … Reserved 0x07 ftp://anonymous:anonymous@ 0x11 imap 0x1B tcpobex:// 0x08 ftp://ftp. 0x12 rtsp:// 0x1C irdaobex:// 0x09 ftps:// 0x13 urn:// 0x1D dile://
  • 19. TNF: NFC Forum Well-known Type Smart Post RTD – URL, SMS, Phone Number Ubiquitous Computing and Ambient Networking Laboratory Page : 19 • NDEF record example of Smart Post RTD 7 6 5 4 3 2 1 0 MB ME CF SR IL TNF = 0x01 Type Length = 0x02 Payload Length 3 Payload Length 2 Payload Length 1 Payload Length 0 ID Length Type = “Sp” ID Payload
  • 20. TNF: NFC Forum Well-known Typecon’t Smart Post RTD – URL, SMS, Phone Number • The payload of Smart Post RTD is an NDEF message which is composed of multiple following specific NDEF records – URI record • The core of Smart Poster. • MUST have one and only one URI record – Title record • COULD have multiple title records with different languages – Action record • Used to provide the recommendation of processing this service – Icon record – Size record • If URI record indicates a external entity, the size record which indicates the size of external entity to make sure the device is capable of handling this external entity. – Type record • If URI record indicates a external entity, the type record is used to indicates the MIME type of this external entity. – Application-specific record Ubiquitous Computing and Ambient Networking Laboratory Page : 20
  • 21. Q & A Ubiquitous Computing and Ambient Networking Laboratory Page : 21