SlideShare une entreprise Scribd logo
1  sur  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

Contenu connexe

Tendances

WTF are NFTs? - An Introduction to Non-Fungible Tokens
WTF are NFTs? - An Introduction to Non-Fungible TokensWTF are NFTs? - An Introduction to Non-Fungible Tokens
WTF are NFTs? - An Introduction to Non-Fungible TokensCalid Bowen
 
What is an nft the informative guide for beginners in 2022
What is an nft  the informative guide for beginners in 2022What is an nft  the informative guide for beginners in 2022
What is an nft the informative guide for beginners in 2022Moon Technolabs Pvt. Ltd.
 
NFTs - An Introduction
NFTs - An IntroductionNFTs - An Introduction
NFTs - An IntroductionEge Palaz
 
NFT Marketplace: Your Complete Guide For 2022
NFT Marketplace: Your Complete Guide For 2022 NFT Marketplace: Your Complete Guide For 2022
NFT Marketplace: Your Complete Guide For 2022 ForceBolt
 
KAKA NFT WORLD
KAKA NFT WORLDKAKA NFT WORLD
KAKA NFT WORLDkashour22
 
Smart Card Security
Smart Card SecuritySmart Card Security
Smart Card SecurityPrav_Kalyan
 
What is NFT? | A Complete Use-Cases of Non-Fungible Token (NFT)
What is NFT? | A Complete Use-Cases of Non-Fungible Token (NFT)What is NFT? | A Complete Use-Cases of Non-Fungible Token (NFT)
What is NFT? | A Complete Use-Cases of Non-Fungible Token (NFT)Linda John
 
What is Host Card Emulation (HCE)?
What is Host Card Emulation (HCE)?What is Host Card Emulation (HCE)?
What is Host Card Emulation (HCE)?Rambus Inc
 
Industrial protocols for pentesters
Industrial protocols for pentestersIndustrial protocols for pentesters
Industrial protocols for pentestersPositive Hack Days
 
Root via sms. 4G security assessment
Root via sms. 4G security assessment Root via sms. 4G security assessment
Root via sms. 4G security assessment Sergey Gordeychik
 
WHIP WebRTC Broadcasting @ FOSDEM 2022
WHIP WebRTC Broadcasting @ FOSDEM 2022WHIP WebRTC Broadcasting @ FOSDEM 2022
WHIP WebRTC Broadcasting @ FOSDEM 2022Lorenzo Miniero
 
USAT : USIM Application Toolkit
USAT : USIM Application ToolkitUSAT : USIM Application Toolkit
USAT : USIM Application ToolkitByeongweon Moon
 
Future of Blockchain
Future of BlockchainFuture of Blockchain
Future of BlockchainMelanie Swan
 
Smart card technology
Smart card technologySmart card technology
Smart card technologyDeepak Raj
 
Presentation on security feature of atm (2)
Presentation on security feature of atm (2)Presentation on security feature of atm (2)
Presentation on security feature of atm (2)Siya Agarwal
 
Smart card technology
Smart card technologySmart card technology
Smart card technologyLav Pratap
 

Tendances (20)

WTF are NFTs? - An Introduction to Non-Fungible Tokens
WTF are NFTs? - An Introduction to Non-Fungible TokensWTF are NFTs? - An Introduction to Non-Fungible Tokens
WTF are NFTs? - An Introduction to Non-Fungible Tokens
 
Smart card
Smart cardSmart card
Smart card
 
What is an nft the informative guide for beginners in 2022
What is an nft  the informative guide for beginners in 2022What is an nft  the informative guide for beginners in 2022
What is an nft the informative guide for beginners in 2022
 
NFTs - An Introduction
NFTs - An IntroductionNFTs - An Introduction
NFTs - An Introduction
 
NFT Marketplace: Your Complete Guide For 2022
NFT Marketplace: Your Complete Guide For 2022 NFT Marketplace: Your Complete Guide For 2022
NFT Marketplace: Your Complete Guide For 2022
 
KAKA NFT WORLD
KAKA NFT WORLDKAKA NFT WORLD
KAKA NFT WORLD
 
Smart Card Security
Smart Card SecuritySmart Card Security
Smart Card Security
 
What is NFT? | A Complete Use-Cases of Non-Fungible Token (NFT)
What is NFT? | A Complete Use-Cases of Non-Fungible Token (NFT)What is NFT? | A Complete Use-Cases of Non-Fungible Token (NFT)
What is NFT? | A Complete Use-Cases of Non-Fungible Token (NFT)
 
What is Host Card Emulation (HCE)?
What is Host Card Emulation (HCE)?What is Host Card Emulation (HCE)?
What is Host Card Emulation (HCE)?
 
Industrial protocols for pentesters
Industrial protocols for pentestersIndustrial protocols for pentesters
Industrial protocols for pentesters
 
Netflow Protocol
Netflow ProtocolNetflow Protocol
Netflow Protocol
 
Sip crash course
Sip crash courseSip crash course
Sip crash course
 
Root via sms. 4G security assessment
Root via sms. 4G security assessment Root via sms. 4G security assessment
Root via sms. 4G security assessment
 
WHIP WebRTC Broadcasting @ FOSDEM 2022
WHIP WebRTC Broadcasting @ FOSDEM 2022WHIP WebRTC Broadcasting @ FOSDEM 2022
WHIP WebRTC Broadcasting @ FOSDEM 2022
 
USAT : USIM Application Toolkit
USAT : USIM Application ToolkitUSAT : USIM Application Toolkit
USAT : USIM Application Toolkit
 
Future of Blockchain
Future of BlockchainFuture of Blockchain
Future of Blockchain
 
Binance nft
Binance nftBinance nft
Binance nft
 
Smart card technology
Smart card technologySmart card technology
Smart card technology
 
Presentation on security feature of atm (2)
Presentation on security feature of atm (2)Presentation on security feature of atm (2)
Presentation on security feature of atm (2)
 
Smart card technology
Smart card technologySmart card technology
Smart card technology
 

En vedette

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
 

En vedette (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 )
 

Similaire à 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
 

Similaire à 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)
 

Plus 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
 

Plus 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
 

Dernier

"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clashcharlottematthew16
 
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
 
"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
 
Vector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesVector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesZilliz
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
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
 
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
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfThe Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfSeasiaInfotech2
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 

Dernier (20)

"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
 
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
 
"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...
 
Vector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesVector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector Databases
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
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
 
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
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfThe Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdf
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 

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