際際滷

際際滷Share a Scribd company logo
Near Field Communication




   http://urbanite.tistory.com
蠏手碓襴 旧
What?
 NFC(Near Field Communication) 2002
    NXP 碁語雑一(蟲 襴曙
  碁語雑一)螳 螳覦
 ISO/IEC 14443 proximity-card standard
  (觜豐豺企  RFID)襯 ロ蟆
 る語拘 襴蠍磯ゼ 襦 豎
  蟆
 蠍一ヾ ISO/IEEE 14443 襴蠍磯 る
  豺企 旧
Technically
 13.56MHz ISM覦企 14KHz 
   
 豕  蟇磯Μ: 20cm
 讌 旧 : 106, 212, 424, 848
  Kbit/s
 覈: Passive(w/o battery), Active
NFC Core Capabilities
NFC Technology Architecture
Reader/Writer Mode
Peer-to-Peer Mode
Card Emulation Mode
For Example
   Mobile ticketing in public transport
   Mobile Payment
   Smart poster
   Bluetooth pairing : BT 2.1 devcies with
    NFC support will be as easy as bringing
    them close together and accepting the
    pairing.
SWP
 SWP = Single Wire Protocol, NFC
  functionality on the SIM
 The Single Wire Protocol (SWP) is a
  specification for a single-wire connection
  between the SIM card and a near field
  communication (NFC) chip in a cell
  phone. It is currently under final review
  by the European Telecommunications
  Standards Institute (ETSI)
SWP
Security
 NFC alone does not ensure secure
  communications
 Eavesdropping
 Data Modification
 Relay Attack
In Japan
 FeLiCa
 螳 螳覦 FeLiCa襯 蟲旧拘覿
   豺企 覃る曙拘 碁, 蟆一
  蠍磯レ  覈螻 , れ 螻褐
  伎
  朱蓋 FeLiCa蠍磯レ 螳讌螻  
  佒 蟆曙 豺企 覡伎 覈襦襷 
  
 螳 USB襴蠍磯 蟲襷ろ
Why?
 Nokia 讌 6, 2011 豢 覈 る誤 殊語
   NFC 豺 蠍磯蓋朱  蟆企手 覦
 Broadcom  NFC IP(Intellectual Prorperty) 豌伎
  Innovision 語
 Apple 讌 8, 覩瑚記 覈覦 讌覿 蟆一 豌伎
  mFoundry NFC 蠍一 郁規  Benjamin Vigier襯 
  
 Android 2.3 (Gingerbread) has NFC
 Cheaper : 殊煙 SHW-A170K 蟲蠍 レ S 
  NXP NFC 豺 螳 1 譴企.
 豕蠏殊 覈覦 蟆一 襭 豌伎 Boku襯 螻 螻 蟲
  蠍 語
 豕蠏 NFC 豺 螳覦 炎概 殊煙 企 1覿蠍一 覲瑚鴬
In Korea
 殊煙-KT, 蟲 豕豐 NFC 企 豢
  http://www.bloter.net/archives/44342
 覈覦 螻 襦 るジ 蠏手碓襴旧
  譟一揃旧揃蠍糾 螳豢
  http://www.bloter.net/archives/44360
 SK貊, 貊れ 覈覦 貉る┯れヾ 蟲豢
  http://www.smartphonenow.kr/archives/4
  795
In Android 2.3 (Gingerbread)
 allowing applications to read NDEF
  message in NFC tags                           +CREATOR
                                                        NdefRecord


                                                +RTD_ALTERNATIVE_CARRIER
                                                +RTD_HANDOVER_CARRIER
                                                +RTD_HANDOVER_REQUEST
        NfcAdapter          NdefMessage         +RTD_HANDOVER_SELECT
                                                +RTD_SMART_POSTER
 +ACTION_TAG_DISCOVERED   +CREATOR              +RTD_TEXT
 +EXTRA_ID                                      +RTD_URI
 +EXTRA_NDEF_MESSAGES     +describeContents()   +TNF_ABSOLUTE_URI
                          +getRecords()         +TNF_EMPTY
 +getDefaultAdapter()     +toByteArray()        +TNF_EXTERNAL_TYPE
 +isEnabled()             +writeToParcel()      +TNF_MIME_MEDIA
                                                +TNF_UNCHANGED
                                                +TNF_UNKNOWN
                                                +TNF_WELL_KNOWN

                                                +describeContents()
                                                +getId()
                                                +getPayload()
                                                +getTnf()
                                                +getType()
                                                +toByteArray()
                                                +writeToParcel()
In Android 2.3 (Gingerbread)
 In source codes
   /external/libnfc-nxp
   /packages/aps/Nfc
   /frameworks/base/core/java/com/android/int
    ernal/nfc
   /frameworks/base/core/java/android/nfc
   /frameworks/base/data/etc/android.hardware
    .nfc.xml
/packages/aps/Nfc
   ErrorCodes.java                   com_android_nfc.cpp
   NativeLlcpConnectionlessSock      com_android_nfc.h
    et.java                           com_android_nfc_NativeLlcpC
   NativeLlcpServiceSocket.java       onnectionlessSocket.cpp
   NativeLlcpSocket.java             com_android_nfc_NativeLlcpS
   NativeNdefTag.java                 erviceSocket.cpp
   NativeNfcManager.java             com_android_nfc_NativeLlcpS
   NativeNfcTag.java                  ocket.cpp
   NativeP2pDevice.java              com_android_nfc_NativeNdefT
                                       ag.cpp
   NfcService.java                   com_android_nfc_NativeNfcM
   TagTarget.java                     anager.cpp
                                      com_android_nfc_NativeNfcTa
                                       g.cpp
                                      com_android_nfc_NativeP2pD
                                       evice.cpp
/frameworks/base/core/java/com/
      android/internal/nfc
   LlcpConnectionlessSocket.java
   LlcpException.java
   LlcpServiceSocket.java
   LlcpSocket.java
   NfcException.java
   P2pDevice.java
   P2pInitiator.java
   P2pTarget.java
/frameworks/base/core/java/andro
             id/nfc
   ILlcpConnectionlessSocket.aidl      ErrorCodes.java
   ILlcpServiceSocket.aidl             FormatException.java
   ILlcpSocket.aidl                    LlcpPacket.java
   INdefTag.aidl                       NdefMessage.java
   INfcAdapter.aidl                    NdefRecord.java
   INfcTag.aidl                        NdefTag.java
   IP2pInitiator.aidl                  NdefTagConnection.java
   IP2pTarget.aidl                     NfcAdapter.java
   LlcpPacket.aidl                     RawTagConnection.java
   NdefMessage.aidl                    Tag.java
   NdefRecord.aidl
   NdefTag.aidl
   Tag.aidl
/frameworks/base/data/etc/androi
       d.hardware.nfc.xml
<!-- This is the standard feature indicating
  that the device can communicate
    using Near-Field Communications
  (NFC). -->
<permissions>
   <feature name="android.hardware.nfc"
  />
</permissions
References
   http://techblog.textcube.com/141 about NFC
   http://en.wikipedia.org/wiki/Near_field_communication NFC wikipedia
   http://www.nfc-forum.org/specs : ろ 覓企 れ企
   http://www.libnfc.org/documentation/introduction : ろ NFC 殊企襴(襴,
    Mac OS X, )
   http://www.open-nfc.org/opennfc_library/overview-summary.html : Open NFC for
    Android
   http://developer.android.com/reference/android/nfc/package-descr.html Android NFC
    package
   http://developer.android.com/resources/samples/NFCDemo/index.html Android NFC
    Demo
   http://www.touchatag.com/ 襴蠍一 tag 襷
   http://www.sony.net/Products/felica/index.html FeliCa
   http://en.wikipedia.org/wiki/FeliCa FeliCa wikipedia
   http://www.nfc-forum.org/events/oulu_spotlight/Technical_Architecture.pdf NFC technical
    architecture
   http://www.nfc-forum.org/resources/presentations/Use_Case_Webinar_11_13.pdf NFC
    user cases
   http://www.slideshare.net/tdelazzari/architecture-and-development-of-nfc-applications

More Related Content

Near field communication

  • 1. Near Field Communication http://urbanite.tistory.com
  • 3. What? NFC(Near Field Communication) 2002 NXP 碁語雑一(蟲 襴曙 碁語雑一)螳 螳覦 ISO/IEC 14443 proximity-card standard (觜豐豺企 RFID)襯 ロ蟆 る語拘 襴蠍磯ゼ 襦 豎 蟆 蠍一ヾ ISO/IEEE 14443 襴蠍磯 る 豺企 旧
  • 4. Technically 13.56MHz ISM覦企 14KHz 豕 蟇磯Μ: 20cm 讌 旧 : 106, 212, 424, 848 Kbit/s 覈: Passive(w/o battery), Active
  • 10. For Example Mobile ticketing in public transport Mobile Payment Smart poster Bluetooth pairing : BT 2.1 devcies with NFC support will be as easy as bringing them close together and accepting the pairing.
  • 11. SWP SWP = Single Wire Protocol, NFC functionality on the SIM The Single Wire Protocol (SWP) is a specification for a single-wire connection between the SIM card and a near field communication (NFC) chip in a cell phone. It is currently under final review by the European Telecommunications Standards Institute (ETSI)
  • 12. SWP
  • 13. Security NFC alone does not ensure secure communications Eavesdropping Data Modification Relay Attack
  • 14. In Japan FeLiCa 螳 螳覦 FeLiCa襯 蟲旧拘覿 豺企 覃る曙拘 碁, 蟆一 蠍磯レ 覈螻 , れ 螻褐 伎 朱蓋 FeLiCa蠍磯レ 螳讌螻 佒 蟆曙 豺企 覡伎 覈襦襷 螳 USB襴蠍磯 蟲襷ろ
  • 15. Why? Nokia 讌 6, 2011 豢 覈 る誤 殊語 NFC 豺 蠍磯蓋朱 蟆企手 覦 Broadcom NFC IP(Intellectual Prorperty) 豌伎 Innovision 語 Apple 讌 8, 覩瑚記 覈覦 讌覿 蟆一 豌伎 mFoundry NFC 蠍一 郁規 Benjamin Vigier襯 Android 2.3 (Gingerbread) has NFC Cheaper : 殊煙 SHW-A170K 蟲蠍 レ S NXP NFC 豺 螳 1 譴企. 豕蠏殊 覈覦 蟆一 襭 豌伎 Boku襯 螻 螻 蟲 蠍 語 豕蠏 NFC 豺 螳覦 炎概 殊煙 企 1覿蠍一 覲瑚鴬
  • 16. In Korea 殊煙-KT, 蟲 豕豐 NFC 企 豢 http://www.bloter.net/archives/44342 覈覦 螻 襦 るジ 蠏手碓襴旧 譟一揃旧揃蠍糾 螳豢 http://www.bloter.net/archives/44360 SK貊, 貊れ 覈覦 貉る┯れヾ 蟲豢 http://www.smartphonenow.kr/archives/4 795
  • 17. In Android 2.3 (Gingerbread) allowing applications to read NDEF message in NFC tags +CREATOR NdefRecord +RTD_ALTERNATIVE_CARRIER +RTD_HANDOVER_CARRIER +RTD_HANDOVER_REQUEST NfcAdapter NdefMessage +RTD_HANDOVER_SELECT +RTD_SMART_POSTER +ACTION_TAG_DISCOVERED +CREATOR +RTD_TEXT +EXTRA_ID +RTD_URI +EXTRA_NDEF_MESSAGES +describeContents() +TNF_ABSOLUTE_URI +getRecords() +TNF_EMPTY +getDefaultAdapter() +toByteArray() +TNF_EXTERNAL_TYPE +isEnabled() +writeToParcel() +TNF_MIME_MEDIA +TNF_UNCHANGED +TNF_UNKNOWN +TNF_WELL_KNOWN +describeContents() +getId() +getPayload() +getTnf() +getType() +toByteArray() +writeToParcel()
  • 18. In Android 2.3 (Gingerbread) In source codes /external/libnfc-nxp /packages/aps/Nfc /frameworks/base/core/java/com/android/int ernal/nfc /frameworks/base/core/java/android/nfc /frameworks/base/data/etc/android.hardware .nfc.xml
  • 19. /packages/aps/Nfc ErrorCodes.java com_android_nfc.cpp NativeLlcpConnectionlessSock com_android_nfc.h et.java com_android_nfc_NativeLlcpC NativeLlcpServiceSocket.java onnectionlessSocket.cpp NativeLlcpSocket.java com_android_nfc_NativeLlcpS NativeNdefTag.java erviceSocket.cpp NativeNfcManager.java com_android_nfc_NativeLlcpS NativeNfcTag.java ocket.cpp NativeP2pDevice.java com_android_nfc_NativeNdefT ag.cpp NfcService.java com_android_nfc_NativeNfcM TagTarget.java anager.cpp com_android_nfc_NativeNfcTa g.cpp com_android_nfc_NativeP2pD evice.cpp
  • 20. /frameworks/base/core/java/com/ android/internal/nfc LlcpConnectionlessSocket.java LlcpException.java LlcpServiceSocket.java LlcpSocket.java NfcException.java P2pDevice.java P2pInitiator.java P2pTarget.java
  • 21. /frameworks/base/core/java/andro id/nfc ILlcpConnectionlessSocket.aidl ErrorCodes.java ILlcpServiceSocket.aidl FormatException.java ILlcpSocket.aidl LlcpPacket.java INdefTag.aidl NdefMessage.java INfcAdapter.aidl NdefRecord.java INfcTag.aidl NdefTag.java IP2pInitiator.aidl NdefTagConnection.java IP2pTarget.aidl NfcAdapter.java LlcpPacket.aidl RawTagConnection.java NdefMessage.aidl Tag.java NdefRecord.aidl NdefTag.aidl Tag.aidl
  • 22. /frameworks/base/data/etc/androi d.hardware.nfc.xml <!-- This is the standard feature indicating that the device can communicate using Near-Field Communications (NFC). --> <permissions> <feature name="android.hardware.nfc" /> </permissions
  • 23. References http://techblog.textcube.com/141 about NFC http://en.wikipedia.org/wiki/Near_field_communication NFC wikipedia http://www.nfc-forum.org/specs : ろ 覓企 れ企 http://www.libnfc.org/documentation/introduction : ろ NFC 殊企襴(襴, Mac OS X, ) http://www.open-nfc.org/opennfc_library/overview-summary.html : Open NFC for Android http://developer.android.com/reference/android/nfc/package-descr.html Android NFC package http://developer.android.com/resources/samples/NFCDemo/index.html Android NFC Demo http://www.touchatag.com/ 襴蠍一 tag 襷 http://www.sony.net/Products/felica/index.html FeliCa http://en.wikipedia.org/wiki/FeliCa FeliCa wikipedia http://www.nfc-forum.org/events/oulu_spotlight/Technical_Architecture.pdf NFC technical architecture http://www.nfc-forum.org/resources/presentations/Use_Case_Webinar_11_13.pdf NFC user cases http://www.slideshare.net/tdelazzari/architecture-and-development-of-nfc-applications