21
presented by Near Field Communication (NFC) and UEFI Fall 2017 UEFI Seminar and Plugfest October 30 – November 3, 2017 Presented by Tony Lo (AMI) UEFI Plugfest October 2017 www.uefi.org 1

Near Field Communication (NFC) and UEFI · What is NFC • Near Field Communication (NFC) is a short-range wireless connectivity technology that are used in contactless payment systems,

  • Upload
    others

  • View
    3

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Near Field Communication (NFC) and UEFI · What is NFC • Near Field Communication (NFC) is a short-range wireless connectivity technology that are used in contactless payment systems,

presented by

Near Field Communication (NFC) and UEFI

Fall 2017 UEFI Seminar and PlugfestOctober 30 – November 3, 2017

Presented by Tony Lo (AMI)

UEFI Plugfest – October 2017 www.uefi.org 1

Page 2: Near Field Communication (NFC) and UEFI · What is NFC • Near Field Communication (NFC) is a short-range wireless connectivity technology that are used in contactless payment systems,

Agenda

• Introduction

• NFC Technology

• UEFI NFC Stack

• Conclusions

UEFI Plugfest – October 2017 www.uefi.org 2

Page 3: Near Field Communication (NFC) and UEFI · What is NFC • Near Field Communication (NFC) is a short-range wireless connectivity technology that are used in contactless payment systems,

Introduction

UEFI Plugfest – October 2017 www.uefi.org 3

Page 4: Near Field Communication (NFC) and UEFI · What is NFC • Near Field Communication (NFC) is a short-range wireless connectivity technology that are used in contactless payment systems,

Introduction

• Approximately two billion smartphones in the world read NFC Tags anytime, anywhere.

• Consumers will see an explosion of uses in IoT, retail, automotive and public transportation

• NFC is a horizontal technology like Bluetooth, Wi-Fi, etc.

UEFI Plugfest – October 2017 www.uefi.org 4

Page 5: Near Field Communication (NFC) and UEFI · What is NFC • Near Field Communication (NFC) is a short-range wireless connectivity technology that are used in contactless payment systems,

NFC Technology

UEFI Plugfest – October 2017 www.uefi.org 5

Page 6: Near Field Communication (NFC) and UEFI · What is NFC • Near Field Communication (NFC) is a short-range wireless connectivity technology that are used in contactless payment systems,

What is NFC• Near Field Communication (NFC) is a short-range wireless connectivity

technology that are used in contactless payment systems, similar to those used in credit cards and electronic ticket smartcards and allow mobile payment to replace/supplement these systems.

• NFC complements many popular consumer level wireless technologies, by utilizing the key elements in existing standards for contactless card technology (ISO/IEC 14443 A&B and JIS-X 6319-4).

• NFC enables devices to share information at a distance that is less than 4 centimeters with a maximum communication speed of 424 kbps.

UEFI Plugfest – October 2017 www.uefi.org 6

Page 7: Near Field Communication (NFC) and UEFI · What is NFC • Near Field Communication (NFC) is a short-range wireless connectivity technology that are used in contactless payment systems,

NFC Modes and Compatibilities

NFC Operates in Three Modes

UEFI Plugfest – October 2017 www.uefi.org 7

NFC is Compatible with Global Communications Standards

Global Interoperability

Form Factor Free

Card(ID-1)

NFC-AISO/IEC 1443/18092

NFC-BISO/IEC 1443

NFC-FISO/IEC 18092

NFC Tag(Type 1-5)

DeviceMobile, Terminals

NFC-VISO/IEC 15693

ToDo: These two charts will be refined.

Page 8: Near Field Communication (NFC) and UEFI · What is NFC • Near Field Communication (NFC) is a short-range wireless connectivity technology that are used in contactless payment systems,

NFC Technical Specification

UEFI Plugfest – October 2017 www.uefi.org 8

Page 9: Near Field Communication (NFC) and UEFI · What is NFC • Near Field Communication (NFC) is a short-range wireless connectivity technology that are used in contactless payment systems,

5 NFC Tag Types

UEFI Plugfest – October 2017 www.uefi.org 9

Page 10: Near Field Communication (NFC) and UEFI · What is NFC • Near Field Communication (NFC) is a short-range wireless connectivity technology that are used in contactless payment systems,

UEFI NFC Stack

UEFI Plugfest – October 2017 www.uefi.org 10

Page 11: Near Field Communication (NFC) and UEFI · What is NFC • Near Field Communication (NFC) is a short-range wireless connectivity technology that are used in contactless payment systems,

UEFI NFC Stack

UEFI Plugfest – October 2017 www.uefi.org 11

NFC Reader/Writer Chip

Antenna

NFC Management

RF communication

UEFI NFC Chip Driver

UEFI NFC Host Controller Protocol

MIFARE ULTRALIGHT

MIFARE_CLASSIC_1K

NFC TagUEFI NFC Protocol

NFC Applications

Page 12: Near Field Communication (NFC) and UEFI · What is NFC • Near Field Communication (NFC) is a short-range wireless connectivity technology that are used in contactless payment systems,

Blocks Description• NFC Reader/Writer Chip

– The physical hardware to support NFC operation.

• UEFI NFC Chip Driver– The UEFI driver initializes the NFC

Reader/Writer chip and produces the UEFI NFC Host Controller Protocol for sending NFC commands to the NFC chip.

• UEFI NFC Host Controller Protocol– The UEFI NFC Host Controller Protocol is

for sending commands to NFC chip or read/write the NFC tag data from/to the NFC chip.

UEFI Plugfest – October 2017 www.uefi.org 12

NFC Reader/Writer Chip

Antenna

NFC Management

RF communication

UEFI NFC Chip Driver

UEFI NFC Host Controller Protocol

MIFARE ULTRALIGHT

MIFARE_CLASSIC_1K

NFC TagUEFI NFC Protocol

NFC Applications

Page 13: Near Field Communication (NFC) and UEFI · What is NFC • Near Field Communication (NFC) is a short-range wireless connectivity technology that are used in contactless payment systems,

Blocks Description

• NFC Management– This driver manages the NFC chip

and sensed NFC Tag. The UEFI NFC protocol is produced by this driver.

• NFC Tag– This part supports the NFC MIFARE

Tag standard.

• UEFI NFC Protocol– The UEFI NFC Protocol provides the

NFC Tag Read/Write function and NFC operation mode change.

UEFI Plugfest – October 2017 www.uefi.org 13

NFC Reader/Writer Chip

Antenna

NFC Management

RF communication

UEFI NFC Chip Driver

UEFI NFC Host Controller Protocol

MIFARE ULTRALIGHT

MIFARE_CLASSIC_1K

NFC TagUEFI NFC Protocol

NFC Applications

Page 14: Near Field Communication (NFC) and UEFI · What is NFC • Near Field Communication (NFC) is a short-range wireless connectivity technology that are used in contactless payment systems,

UEFI NFC Protocol

• Protocol Interface StructureTypedef struct _EFI_NFC_PROTOCOL {

EFI_NFC_PROTOCOL_GET_CAPABILITYGetCapability;

EFI_NFC_PROTOCOL_IS_TAG_SENSED IsTagSensed;

EFI_NFC_PROTOCOL_READ_BYTE ReadByte;

EFI_NFC_PROTOCOL_WRITE_BYTE WriteByte;

EFI_NFC_PROTOCOL_READ_BLOCK ReadBlock;

EFI_NFC_PROTOCOL_WRITE_BLOCK WriteBlock;

EFI_NFC_PROTOCOL_CARD_EMULATION CardEmulation;

}EFI_NFC_PROTOCOL;

UEFI Plugfest – October 2017 www.uefi.org 14

Page 15: Near Field Communication (NFC) and UEFI · What is NFC • Near Field Communication (NFC) is a short-range wireless connectivity technology that are used in contactless payment systems,

UEFI NFC HC Protocol

• Protocol Interface StructureTypedef struct _EFI_NFC_HC_PROTOCOL {

EFI_NFC_HC_PROTOCOL_CHIP_INFO ChipInfo;

EFI_NFC_HC_PROTOCOL_IS_TAG_SENSED IsTagSensed;

EFI_NFC_HC_PROTOCOL_READ_DATA ReadData;

EFI_NFC_HC_PROTOCOL_WRITE_DATA WriteData;

EFI_NFC_HC_PROTOCOL_CARD_EMULATION CardEmulation;

}EFI_NFC_HC_PROTOCOL;

UEFI Plugfest – October 2017 www.uefi.org 15

Page 16: Near Field Communication (NFC) and UEFI · What is NFC • Near Field Communication (NFC) is a short-range wireless connectivity technology that are used in contactless payment systems,

UseCase: Power On Password Check

UEFI Plugfest – October 2017 www.uefi.org 16

Get password from NFC tag and consume it for system power on password check.

Page 17: Near Field Communication (NFC) and UEFI · What is NFC • Near Field Communication (NFC) is a short-range wireless connectivity technology that are used in contactless payment systems,

Conclusions

UEFI Plugfest – October 2017 www.uefi.org 17

Page 18: Near Field Communication (NFC) and UEFI · What is NFC • Near Field Communication (NFC) is a short-range wireless connectivity technology that are used in contactless payment systems,

Summary

• The NFC is a popular contactless technology for information sharing and identification.

• There are various NFC based applications can be implemented in UEFI if the UEFI NFC stack is available.

UEFI Plugfest – October 2017 www.uefi.org 18

Page 19: Near Field Communication (NFC) and UEFI · What is NFC • Near Field Communication (NFC) is a short-range wireless connectivity technology that are used in contactless payment systems,

References

• NFC Forum https://nfc-forum.org/

UEFI Plugfest – October 2017 www.uefi.org 19

Page 20: Near Field Communication (NFC) and UEFI · What is NFC • Near Field Communication (NFC) is a short-range wireless connectivity technology that are used in contactless payment systems,

Call to Action

• Review the proposed UEFI NFC STACK and contribute the discussion for adding the NFC support to specification.

• Invite NFC Reader/Writer Chip vendor to join the discussion.

UEFI Plugfest – October 2017 www.uefi.org 20

Page 21: Near Field Communication (NFC) and UEFI · What is NFC • Near Field Communication (NFC) is a short-range wireless connectivity technology that are used in contactless payment systems,

Thanks for attending the Fall 2017 UEFI Seminar and Plugfest

For more information on the Unified EFI Forum and UEFI Specifications, visit http://www.uefi.org

presented by

UEFI Plugfest – October 2017 www.uefi.org 21