SlideShare a Scribd company logo
Windows 8 / Windows Phone8
            NFC




  Bill Chung
Microsoft MVP
NFC 概念
•   Near Field Communication / 近場通訊
•   通訊頻率: 13.56 MHz
•   距離: < 10公分
•   Max bit rate: 424Kb/s
•   Communication modes
    • Active
    • Passive
• Operating modes
    • Read/Write (Reader Mode)
    • Peer to Peer
    • Card emulation (Windows 8/ Phone 8 目前不支援)
Windows 8 / Phone 8 上的
NFC應用
• 做為Bluetooth傳輸的認證交握 (Peer to Peer)
• 設備間直接傳輸 (Peer to Peer)
• 讀取/寫入 NFC tag (Read/Write)
• 電子錢包 (需搭配 SIM 卡 / Windows Phone 8)
NDEF Format
• NFC Data Exchange Format
• 定義 NFC 設備之間或是 NFC設備與Tag通訊內容封
  裝的格式 (NDEF message)
NDEF Record
NDEF Short Record




If IL=1      If IL=0
NFC tag
• NFC Forum tag types
  • Type 1: Broadcom BCM20203
  • Type 2: NXP MIFARE Ultralight
  • Type 3: Sony FeliCa
  • Type 4: NXP DESFire, SmartMX-JCOP
• NXP-specific type tag
  • Type Mifare Classic:NXP MIFARE Classic 1k, MIFARE
    Classic 4K, and Classic Mini
NFC Forum Type 1
• Based on ISO-14443A standard.
• Read and re-write capable, also users can configure
  the tag to be read-only.
• 96 bytes of memory, expandable up to 2KB.
• Communication speed 106 Kbits/s.
• No data collision protection.
• Compatible products : Broadcom BCM20203.
NFC Forum Type 2
• Based on ISO-14443A standard.
• Read and re-write capable, also users can configure
  the tag to be read-only.
• 96 bytes of memory, expandable up to 2KB.
• Communication speed 106 Kbits/s.
• Anti-collision support.
• Compatible products : NXP MIFARE Ultralight.
NFC Forum Type 3
• Based on the Japanese Industrial Standard (JIS) X 6319-
  4.
• Pre-configured at manufacture to be either read and re-
  writable, or read-only.
• Variable memory, up to 1 MB per service.
• Supports two communication speeds, 212 or 424 Kbits/s.
• Anti-collision support.
• Compatible products : Sony FeliCa.
NFC Forum Type 4
• Based on ISO-14443A standard.
• Pre-configured at manufacture to be either read and
  re-writable, or read-only.
• Variable memory, up to 32 KB per service.
• Supports three different communication speeds 106
  or 212 or 424 Kbits/s.
• Anti-collision support.
• Compatible products : NXP DESFire, SmartMX-
  JCOP.
Type MIFARE Classic
• Based on ISO-14443A standard.
• Read and re-write capable, also users can configure
  the tag to be read-only.
• Variable memory 192/768/3584 Bytes.
• Communication speed 106 Kbits/s.
• Anti-collision support.
• Compatible products : NXP MIFARE Classic 1k,
  MIFARE Classic 4K, and Classic Mini.
NFC 晶片相容性的問題
• NXP 相容的 NFC 晶片理論上可以讀取以上五種
  Type 的 Tag

• 非 NXP 相容的晶片有可能連 Type 2 和 Type 4 都讀
  不到
Windows.Networking.Proximity
namespace
• http://msdn.microsoft.com/en-
  us/library/windows/apps/xaml/br241250.aspx
• 近場通訊主要的類別都在這個命名空間
Start




                        ProximityDevice.GetDefault
                           取得本機 NFC 設備




                                              ProximityDevice.PublishMessage
ProximityDevice.SubscribeForMessage        ProximityDevice.PublishBinaryMessage
              訂閱訊息                                         ……..
                                                         發佈訊息

http://msdn.microsoft.com/zh-tw/library/windows/apps/xaml/br241212.aspx
API 中的 Message Protocol
 •   Windows                         •   NDEF
 •   WindowsUri                      •   NDEF:ext
 •   WindowsMime                     •   NDEF:MIME
 •   Windows:WriteTag                •   NDEF:URI
 •   WindowsUri:WriteTag             •   NDEF:wkt
 •   WindowsMime:WriteTag            •   NDEF:WriteTag
 •   LaunchApp:WriteTag              •   NDEF:Unknown
 •   WriteableTag
 •   Pairing:Bluetooth

http://msdn.microsoft.com/en-us/library/windows/apps/xaml/hh701129.aspx
Message Type
• Protocol.SubType
  • 例如
  • Windows.Sample
  • WindowsMime.image/jpeg
  • NDEF:URI.http://contoso.com/sometype
NDEF Library for Proximity
APIs (NFC)
• https://ndef.codeplex.com/
• 減少處理 NDEF 格式的麻煩

More Related Content

PPT
Near field communication
PPTX
NEAR FIELD COMMUNICATION (NFC)
PPT
Near Field Communication (NFC)
PPTX
Near field communication new
PPT
Nfc ppt
PPTX
NEAR FIELD COMMUNICATION
PPT
Introduction to nfc
PPTX
Near field communication
Near field communication
NEAR FIELD COMMUNICATION (NFC)
Near Field Communication (NFC)
Near field communication new
Nfc ppt
NEAR FIELD COMMUNICATION
Introduction to nfc
Near field communication

What's hot (20)

PPTX
NFC TECHNOLOGY
PDF
Nfc technology
PDF
Nfc in android
PPTX
Nfc technology
PDF
Tapit - An NFC overview 2013
PPTX
Near field communication
PPTX
Near field communication
PPSX
NFC Bootcamp Seattle Day 1
PPTX
Near field communication ppt
PPT
10.1
PPT
Near Field Communication NFC
PDF
Ask Contactless Terminals
PPTX
NFC near feald communication
PPTX
Near Field Communication by Mohammed Mudassir
PPTX
Near field communication
PDF
Near Field Communication (NFC)
PPTX
Near field communication
PPTX
Nfc presentation
PPTX
PPTX
NFC Technology
NFC TECHNOLOGY
Nfc technology
Nfc in android
Nfc technology
Tapit - An NFC overview 2013
Near field communication
Near field communication
NFC Bootcamp Seattle Day 1
Near field communication ppt
10.1
Near Field Communication NFC
Ask Contactless Terminals
NFC near feald communication
Near Field Communication by Mohammed Mudassir
Near field communication
Near Field Communication (NFC)
Near field communication
Nfc presentation
NFC Technology
Ad

Viewers also liked (20)

PDF
Embedded Systems Security News 2011/05
PDF
droidcon 2012: What's the Hack is NFC .., Hauke Meyn, NXP
PPT
Norme NFC - Romain Menetrier PAUG
PDF
NFC and the Growth of Connected Consumer Devices
PPTX
Near field communication (nfc) technology
PPTX
NFC technical presentation
PDF
Embedded systems security news 2011/04
PDF
Embedded Systems Security News 2011/01
PDF
Embedded Systems Security News 2011/06
PPTX
Nfc reader writer_mode
PPTX
Android Application Development of NFC Reader-Writer Mode
KEY
Near Field Communication & Android
PDF
Smart Phone in 2013
PDF
Seminar Report on NFC
PDF
NFC Everywhere
PDF
NXP MIFARE Webinar: Innovation Road Map: Present Improved- Future Inside
PPT
Architecture and Development of NFC Applications
PDF
VISIONFC – an NFC Forum event: The future of NFC in Wearables, Health Care & ...
PPTX
Near field communication
PPT
Embedded Systems Security News 2011/05
droidcon 2012: What's the Hack is NFC .., Hauke Meyn, NXP
Norme NFC - Romain Menetrier PAUG
NFC and the Growth of Connected Consumer Devices
Near field communication (nfc) technology
NFC technical presentation
Embedded systems security news 2011/04
Embedded Systems Security News 2011/01
Embedded Systems Security News 2011/06
Nfc reader writer_mode
Android Application Development of NFC Reader-Writer Mode
Near Field Communication & Android
Smart Phone in 2013
Seminar Report on NFC
NFC Everywhere
NXP MIFARE Webinar: Innovation Road Map: Present Improved- Future Inside
Architecture and Development of NFC Applications
VISIONFC – an NFC Forum event: The future of NFC in Wearables, Health Care & ...
Near field communication
Ad

Similar to NFC (Windows 8/ Windows Phone 8 ) (20)

PPTX
NFC Bootcamp Seattle Day 2
PPTX
Near field communication(nfc)
PPTX
Near field communication
PPTX
Nfc on Android
KEY
Nfc Overview
PPT
NFC TECHNOLOGY
PDF
Electronic Access Control Security / Безопасность электронных систем контроля...
PDF
Network Situational Awareness with d00gle
PPTX
Introduction to NFC
KEY
NFC & RFID on Android
PPTX
Near field communication
PDF
LUMIA APP LABS: DEVELOPING NFC APPS IN WINDOWS PHONE 8
PDF
Secured Internet Gateway for ISP with pfsense & FRR
PDF
Open source building blocks for the Internet of Things - Jfokus 2013
PDF
DEF CON 27 - DANIEL ROMERO and MARIO RIVAS - why you should fear your mundane...
PPTX
BSides LV 2016 - Beyond the tip of the iceberg - fuzzing binary protocols for...
PDF
Next Video Build: XMTP Workshop Slides
PPTX
Near field communication.pptx
PDF
OWF12/Java Building an Open M2M community
PDF
Building an Open M2M community one step at a time
NFC Bootcamp Seattle Day 2
Near field communication(nfc)
Near field communication
Nfc on Android
Nfc Overview
NFC TECHNOLOGY
Electronic Access Control Security / Безопасность электронных систем контроля...
Network Situational Awareness with d00gle
Introduction to NFC
NFC & RFID on Android
Near field communication
LUMIA APP LABS: DEVELOPING NFC APPS IN WINDOWS PHONE 8
Secured Internet Gateway for ISP with pfsense & FRR
Open source building blocks for the Internet of Things - Jfokus 2013
DEF CON 27 - DANIEL ROMERO and MARIO RIVAS - why you should fear your mundane...
BSides LV 2016 - Beyond the tip of the iceberg - fuzzing binary protocols for...
Next Video Build: XMTP Workshop Slides
Near field communication.pptx
OWF12/Java Building an Open M2M community
Building an Open M2M community one step at a time

Recently uploaded (20)

PDF
From MVP to Full-Scale Product A Startup’s Software Journey.pdf
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
NewMind AI Weekly Chronicles - August'25-Week II
PDF
Accuracy of neural networks in brain wave diagnosis of schizophrenia
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Mushroom cultivation and it's methods.pdf
PPTX
A Presentation on Touch Screen Technology
PPTX
TLE Review Electricity (Electricity).pptx
PDF
A comparative study of natural language inference in Swahili using monolingua...
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
ENT215_Completing-a-large-scale-migration-and-modernization-with-AWS.pdf
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
Web App vs Mobile App What Should You Build First.pdf
PDF
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PDF
August Patch Tuesday
PDF
Univ-Connecticut-ChatGPT-Presentaion.pdf
PDF
Getting Started with Data Integration: FME Form 101
PPTX
A Presentation on Artificial Intelligence
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
From MVP to Full-Scale Product A Startup’s Software Journey.pdf
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
NewMind AI Weekly Chronicles - August'25-Week II
Accuracy of neural networks in brain wave diagnosis of schizophrenia
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Mushroom cultivation and it's methods.pdf
A Presentation on Touch Screen Technology
TLE Review Electricity (Electricity).pptx
A comparative study of natural language inference in Swahili using monolingua...
Encapsulation_ Review paper, used for researhc scholars
ENT215_Completing-a-large-scale-migration-and-modernization-with-AWS.pdf
Building Integrated photovoltaic BIPV_UPV.pdf
Web App vs Mobile App What Should You Build First.pdf
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
MIND Revenue Release Quarter 2 2025 Press Release
August Patch Tuesday
Univ-Connecticut-ChatGPT-Presentaion.pdf
Getting Started with Data Integration: FME Form 101
A Presentation on Artificial Intelligence
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf

NFC (Windows 8/ Windows Phone 8 )

  • 1. Windows 8 / Windows Phone8 NFC Bill Chung Microsoft MVP
  • 2. NFC 概念 • Near Field Communication / 近場通訊 • 通訊頻率: 13.56 MHz • 距離: < 10公分 • Max bit rate: 424Kb/s • Communication modes • Active • Passive • Operating modes • Read/Write (Reader Mode) • Peer to Peer • Card emulation (Windows 8/ Phone 8 目前不支援)
  • 3. Windows 8 / Phone 8 上的 NFC應用 • 做為Bluetooth傳輸的認證交握 (Peer to Peer) • 設備間直接傳輸 (Peer to Peer) • 讀取/寫入 NFC tag (Read/Write) • 電子錢包 (需搭配 SIM 卡 / Windows Phone 8)
  • 4. NDEF Format • NFC Data Exchange Format • 定義 NFC 設備之間或是 NFC設備與Tag通訊內容封 裝的格式 (NDEF message)
  • 6. NDEF Short Record If IL=1 If IL=0
  • 7. NFC tag • NFC Forum tag types • Type 1: Broadcom BCM20203 • Type 2: NXP MIFARE Ultralight • Type 3: Sony FeliCa • Type 4: NXP DESFire, SmartMX-JCOP • NXP-specific type tag • Type Mifare Classic:NXP MIFARE Classic 1k, MIFARE Classic 4K, and Classic Mini
  • 8. NFC Forum Type 1 • Based on ISO-14443A standard. • Read and re-write capable, also users can configure the tag to be read-only. • 96 bytes of memory, expandable up to 2KB. • Communication speed 106 Kbits/s. • No data collision protection. • Compatible products : Broadcom BCM20203.
  • 9. NFC Forum Type 2 • Based on ISO-14443A standard. • Read and re-write capable, also users can configure the tag to be read-only. • 96 bytes of memory, expandable up to 2KB. • Communication speed 106 Kbits/s. • Anti-collision support. • Compatible products : NXP MIFARE Ultralight.
  • 10. NFC Forum Type 3 • Based on the Japanese Industrial Standard (JIS) X 6319- 4. • Pre-configured at manufacture to be either read and re- writable, or read-only. • Variable memory, up to 1 MB per service. • Supports two communication speeds, 212 or 424 Kbits/s. • Anti-collision support. • Compatible products : Sony FeliCa.
  • 11. NFC Forum Type 4 • Based on ISO-14443A standard. • Pre-configured at manufacture to be either read and re-writable, or read-only. • Variable memory, up to 32 KB per service. • Supports three different communication speeds 106 or 212 or 424 Kbits/s. • Anti-collision support. • Compatible products : NXP DESFire, SmartMX- JCOP.
  • 12. Type MIFARE Classic • Based on ISO-14443A standard. • Read and re-write capable, also users can configure the tag to be read-only. • Variable memory 192/768/3584 Bytes. • Communication speed 106 Kbits/s. • Anti-collision support. • Compatible products : NXP MIFARE Classic 1k, MIFARE Classic 4K, and Classic Mini.
  • 13. NFC 晶片相容性的問題 • NXP 相容的 NFC 晶片理論上可以讀取以上五種 Type 的 Tag • 非 NXP 相容的晶片有可能連 Type 2 和 Type 4 都讀 不到
  • 14. Windows.Networking.Proximity namespace • http://msdn.microsoft.com/en- us/library/windows/apps/xaml/br241250.aspx • 近場通訊主要的類別都在這個命名空間
  • 15. Start ProximityDevice.GetDefault 取得本機 NFC 設備 ProximityDevice.PublishMessage ProximityDevice.SubscribeForMessage ProximityDevice.PublishBinaryMessage 訂閱訊息 …….. 發佈訊息 http://msdn.microsoft.com/zh-tw/library/windows/apps/xaml/br241212.aspx
  • 16. API 中的 Message Protocol • Windows • NDEF • WindowsUri • NDEF:ext • WindowsMime • NDEF:MIME • Windows:WriteTag • NDEF:URI • WindowsUri:WriteTag • NDEF:wkt • WindowsMime:WriteTag • NDEF:WriteTag • LaunchApp:WriteTag • NDEF:Unknown • WriteableTag • Pairing:Bluetooth http://msdn.microsoft.com/en-us/library/windows/apps/xaml/hh701129.aspx
  • 17. Message Type • Protocol.SubType • 例如 • Windows.Sample • WindowsMime.image/jpeg • NDEF:URI.http://contoso.com/sometype
  • 18. NDEF Library for Proximity APIs (NFC) • https://ndef.codeplex.com/ • 減少處理 NDEF 格式的麻煩