28
Near Field Communica0on Mobile and Ubiquitous Compu0ng

Near%Field%Communicaon%gr/muc/2013/9_nfc.pdf · • NFC%applicaons% • Relaonship%with%RFID% • NFC%Architecture% • NFC%and%Android% Overview Sources:! 1. Jonathan Main, NFC Technology

  • Upload
    others

  • View
    4

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Near%Field%Communicaon%gr/muc/2013/9_nfc.pdf · • NFC%applicaons% • Relaonship%with%RFID% • NFC%Architecture% • NFC%and%Android% Overview Sources:! 1. Jonathan Main, NFC Technology

Near  Field  Communica0on  

Mobile  and  Ubiquitous  Compu0ng  

Page 2: Near%Field%Communicaon%gr/muc/2013/9_nfc.pdf · • NFC%applicaons% • Relaonship%with%RFID% • NFC%Architecture% • NFC%and%Android% Overview Sources:! 1. Jonathan Main, NFC Technology

•  NFC  applica0ons  •  Rela0onship  with  RFID  •  NFC  Architecture  •  NFC  and  Android  

Overview  

Sources:!1.  Jonathan Main, NFC Technology Overview:! http://www.nfc-forum.org/events/oulu_spotlight/Technical_Architecture.pdf!2. Richard Grundy, How to Build an NFC application:! http://www.slideshare.net/traceebeebe/nfc-bootcamp-seattle-day-2!

Page 3: Near%Field%Communicaon%gr/muc/2013/9_nfc.pdf · • NFC%applicaons% • Relaonship%with%RFID% • NFC%Architecture% • NFC%and%Android% Overview Sources:! 1. Jonathan Main, NFC Technology

Wireless  technologies  

Page 4: Near%Field%Communicaon%gr/muc/2013/9_nfc.pdf · • NFC%applicaons% • Relaonship%with%RFID% • NFC%Architecture% • NFC%and%Android% Overview Sources:! 1. Jonathan Main, NFC Technology

Standard  applica0ons  

Page 5: Near%Field%Communicaon%gr/muc/2013/9_nfc.pdf · • NFC%applicaons% • Relaonship%with%RFID% • NFC%Architecture% • NFC%and%Android% Overview Sources:! 1. Jonathan Main, NFC Technology

Elements  of  NFC  applica0ons  

Page 6: Near%Field%Communicaon%gr/muc/2013/9_nfc.pdf · • NFC%applicaons% • Relaonship%with%RFID% • NFC%Architecture% • NFC%and%Android% Overview Sources:! 1. Jonathan Main, NFC Technology

Payment  

Page 7: Near%Field%Communicaon%gr/muc/2013/9_nfc.pdf · • NFC%applicaons% • Relaonship%with%RFID% • NFC%Architecture% • NFC%and%Android% Overview Sources:! 1. Jonathan Main, NFC Technology

•  ISO/IEC  14443  –  Included  as  a  base  standard  in  Digital  Protocol  and  Analogue  specifica0ons.  

•  ISO/IEC  18092  –NFCIP-­‐1  –  Included  as  a  base  standard  in  Digital  Protocol  and  Analogue  specifica0ons.  

•  JIS  X  6319-­‐4  –FeliCa  –  Included  as  a  base  standard  in  Digital  Protocol  and  Analogue  specifica0ons  

RFID  standards  

Page 8: Near%Field%Communicaon%gr/muc/2013/9_nfc.pdf · • NFC%applicaons% • Relaonship%with%RFID% • NFC%Architecture% • NFC%and%Android% Overview Sources:! 1. Jonathan Main, NFC Technology
Page 9: Near%Field%Communicaon%gr/muc/2013/9_nfc.pdf · • NFC%applicaons% • Relaonship%with%RFID% • NFC%Architecture% • NFC%and%Android% Overview Sources:! 1. Jonathan Main, NFC Technology

Payment  applica0on  

Page 10: Near%Field%Communicaon%gr/muc/2013/9_nfc.pdf · • NFC%applicaons% • Relaonship%with%RFID% • NFC%Architecture% • NFC%and%Android% Overview Sources:! 1. Jonathan Main, NFC Technology

NFC  Forum  architecture  

Page 11: Near%Field%Communicaon%gr/muc/2013/9_nfc.pdf · • NFC%applicaons% • Relaonship%with%RFID% • NFC%Architecture% • NFC%and%Android% Overview Sources:! 1. Jonathan Main, NFC Technology

NFC  Forum  architecture  

Defines  the  radio  frequency  characteris0cs  of  an  NFC  Forum  device.  e.g.,  shape  and  strength  of  RF  fields.  Determines  the  opera0ng  range  of  devices.  

Analog  specifica0ons  

Page 12: Near%Field%Communicaon%gr/muc/2013/9_nfc.pdf · • NFC%applicaons% • Relaonship%with%RFID% • NFC%Architecture% • NFC%and%Android% Overview Sources:! 1. Jonathan Main, NFC Technology

NFC  Forum  architecture  

Implementa0on  specifica0on  for  digital  aspects  of  ISO/IEC  18092  and  ISO/IEC  14443.  Defines  the  building  blocks  for  communica0on.  

Analog  specifica0ons  

Digital  Protocol  specifica0ons  

Page 13: Near%Field%Communicaon%gr/muc/2013/9_nfc.pdf · • NFC%applicaons% • Relaonship%with%RFID% • NFC%Architecture% • NFC%and%Android% Overview Sources:! 1. Jonathan Main, NFC Technology

NFC  Forum  architecture  

Defines  the  ac0vi0es  required  to  set  up  communica0on  in  an  interoperable  manner,  based  on  the  building  blocks  of  the  digital  protocol  specifica0on  e.g.,  polling  cycles,  when  to  perform  collision  detec0on.  

Analog  specifica0ons  

Digital  Protocol  specifica0ons  

NFC  ac0vi0es  specifica0on  

Page 14: Near%Field%Communicaon%gr/muc/2013/9_nfc.pdf · • NFC%applicaons% • Relaonship%with%RFID% • NFC%Architecture% • NFC%and%Android% Overview Sources:! 1. Jonathan Main, NFC Technology

NFC  Forum  architecture  

NDEF  data  structure  format  Construct  NDEF  packets  using  NDEF  records  Allows  mul0ple  NDEF  messages.  Allows  messages  to  be  divided  into  chunks.  NDEF:  NFC  Data  Exchange  Format  

Page 15: Near%Field%Communicaon%gr/muc/2013/9_nfc.pdf · • NFC%applicaons% • Relaonship%with%RFID% • NFC%Architecture% • NFC%and%Android% Overview Sources:! 1. Jonathan Main, NFC Technology

NDEF  types  

Page 16: Near%Field%Communicaon%gr/muc/2013/9_nfc.pdf · • NFC%applicaons% • Relaonship%with%RFID% • NFC%Architecture% • NFC%and%Android% Overview Sources:! 1. Jonathan Main, NFC Technology

NFC  Forum  architecture  

Defines  how  to  construct  records  in  NDEF  messages  Each  record  has  a  type,  indica0ng  what  it  contains  Records  may  contain  other  records  Records  types  are  extensible:  -­‐ defined  by  the  NFC  Forum  (reference  applica0ons)  -­‐ defined  by  third  party  bodies  (under  their  domain  name)  

Page 17: Near%Field%Communicaon%gr/muc/2013/9_nfc.pdf · • NFC%applicaons% • Relaonship%with%RFID% • NFC%Architecture% • NFC%and%Android% Overview Sources:! 1. Jonathan Main, NFC Technology

RTD  types  

Page 18: Near%Field%Communicaon%gr/muc/2013/9_nfc.pdf · • NFC%applicaons% • Relaonship%with%RFID% • NFC%Architecture% • NFC%and%Android% Overview Sources:! 1. Jonathan Main, NFC Technology

NFC  Forum  specifica0ons  

NFC  Forum  Type  1,  2,  3,  4  Tag  Opera0on  Specifica0ons  

Analog  specifica0ons  

Digital  Protocol  specifica0ons  

NFC  ac0vi0es  specifica0on  

Logical  Link  Control  Protocol  

Specifica0on  (LLCP)  

Protocol  Bindings   SNEP  

NDEF   RTD  

Reference  Applica0ons  

Page 19: Near%Field%Communicaon%gr/muc/2013/9_nfc.pdf · • NFC%applicaons% • Relaonship%with%RFID% • NFC%Architecture% • NFC%and%Android% Overview Sources:! 1. Jonathan Main, NFC Technology

Smartphone  so_ware  

Page 20: Near%Field%Communicaon%gr/muc/2013/9_nfc.pdf · • NFC%applicaons% • Relaonship%with%RFID% • NFC%Architecture% • NFC%and%Android% Overview Sources:! 1. Jonathan Main, NFC Technology

Reader-­‐Writer  Mode  

Page 21: Near%Field%Communicaon%gr/muc/2013/9_nfc.pdf · • NFC%applicaons% • Relaonship%with%RFID% • NFC%Architecture% • NFC%and%Android% Overview Sources:! 1. Jonathan Main, NFC Technology

Reader-­‐Writer  Mode  

Define  how  to  read  and  write  NDEF  data  from/to  a  tag  Types  1  and  2:  Proprietary  tags  based  on  ISO14443  Type  A  Type  3:  Proprietary  tag  based  on  FeliCa  Type  4:  Open  tag  based  on  ISO  14443  Type  A  or  B  and  ISO  7816-­‐4  

Type  1-­‐4    Tag  Opera0on  

Page 22: Near%Field%Communicaon%gr/muc/2013/9_nfc.pdf · • NFC%applicaons% • Relaonship%with%RFID% • NFC%Architecture% • NFC%and%Android% Overview Sources:! 1. Jonathan Main, NFC Technology

Selec0ng  a  tag  type  

REQA  (request)  command  invites  all  tags  that  are  new  in  the  field  to  respond  (new  means  here  that  they  have  not  responded  before  and  are  not  previously  disabled)  Tags  respond  with  the  ATQA  block  (answer  to  request).  This  will  ini0ate  the  an0-­‐collision  procedure  in  the  reader.  SAK=Select  Acknowledged  

binary  search  on  found  UIDs  

Page 23: Near%Field%Communicaon%gr/muc/2013/9_nfc.pdf · • NFC%applicaons% • Relaonship%with%RFID% • NFC%Architecture% • NFC%and%Android% Overview Sources:! 1. Jonathan Main, NFC Technology

Peer-­‐to-­‐peer  mode  Link  ac0va0on,  supervision,  deac0va0on  Asynchronous  balanced  mode  Protocol  mul0plexing  Connec0onless  transport  Connec0on  oriented  transport  

Logical  Link  Control  Protocol  

Page 24: Near%Field%Communicaon%gr/muc/2013/9_nfc.pdf · • NFC%applicaons% • Relaonship%with%RFID% • NFC%Architecture% • NFC%and%Android% Overview Sources:! 1. Jonathan Main, NFC Technology

Peer-­‐to-­‐peer  mode  Provides  standard  bindings  (e.g.,  port  numbers)  to  NFC  Forum  registered  protocols.  Allows  interoperable  use  of  registered  protocols  

Protocol  Bindings  

Protocols  for  which  the  NFC  Forum  defines  a  binding  to  LLCP  e.g.,  OBEX,  IP  

Page 25: Near%Field%Communicaon%gr/muc/2013/9_nfc.pdf · • NFC%applicaons% • Relaonship%with%RFID% • NFC%Architecture% • NFC%and%Android% Overview Sources:! 1. Jonathan Main, NFC Technology

Card  emula0on  mode  

Page 26: Near%Field%Communicaon%gr/muc/2013/9_nfc.pdf · • NFC%applicaons% • Relaonship%with%RFID% • NFC%Architecture% • NFC%and%Android% Overview Sources:! 1. Jonathan Main, NFC Technology

Card  emula0on  mode  

Page 27: Near%Field%Communicaon%gr/muc/2013/9_nfc.pdf · • NFC%applicaons% • Relaonship%with%RFID% • NFC%Architecture% • NFC%and%Android% Overview Sources:! 1. Jonathan Main, NFC Technology

NFC  on  Android  

Page 28: Near%Field%Communicaon%gr/muc/2013/9_nfc.pdf · • NFC%applicaons% • Relaonship%with%RFID% • NFC%Architecture% • NFC%and%Android% Overview Sources:! 1. Jonathan Main, NFC Technology

Intent  filter