Timo Müller NFC AND THE VEHICLE. TESTING THE LINUX NFC STACK. BMW Car IT GmbH



Similar documents
AUTOMOTIVE BLUETOOTH TELEPHONY.

NFC Testing. Near Field Communication Research Lab Hagenberg. Gerald Madlmayr. NFC Research Lab, Hagenberg. E-Smart 2008, Sophia Antipolis

Training. NFC in Android. Public. MobileKnowledge October 2015

Frequently Asked Questions

APx4 Wireless System-on-Module 5/8/2013 1

NFC. Technical Overview. Release r05

NFC Test Challenges for Mobile Device Developers Presented by: Miguel Angel Guijarro

Mentor Embedded IVI Solutions

How To Write A Freesmartphone.Org For Mobile Devices

Technical Article. NFiC: a new, economical way to make a device NFC-compliant. Prashant Dekate

Programmable Networking with Open vswitch

AN Quick Start Up Guide for EXPLORE NFC working with Raspberry Pi. Application note COMPANY PUBLIC. Rev December

Android Auto PoC. October Oct-15. Maxim Ovchinnikov Architect Harman

An NFC Ticketing System with a new approach of an Inverse Reader Mode

NFC: Enabler for Innovative Mobility and Payment NFC: MOBILIDADE E MEIOS DE PAGAMENTO

Using RFID Techniques for a Universal Identification Device

Using an NFC-equipped mobile phone as a token in physical access control

Touch & Travel a SIM-based eticketing System

APPFORUM2014. Helping the developer community build next-generation, multi-platform apps. SCHAUMBURG, ILLINOIS SEPTEMBER 8-10

Towards an Internet of Things: Android meets NFC. Dipartimento di Scienze dell Informazione Università di Bologna

Mobile NFC 101. Presenter: Nick von Dadelszen Date: 31st August 2012 Company: Lateral Security (IT) Services Limited

AN Quick Start-up Guide for EXPLORE-NFC working with Raspberry Pi. Application note COMPANY PUBLIC. Rev July

Harmonizing policy management with Murphy in GENIVI, AGL and TIZEN IVI

NFC in Public Transport

Intecs Roma - Pisa - Napoli - Milano - Torino - Cagliari - Genova L Aquila - Toulouse - Paris

Application Framework: Apertis Hands-on

VM Application Debugging via JTAG: Android TRACE32 JTAG Debug Bridge ADB Architecture Stop-Mode implications for ADB JTAG Transport Outlook

Software Card Emulation in NFC-enabled Mobile Phones: Great Advantage or Security Nightmare?

Training MIFARE SDK. Public. MobileKnowledge June 2015

Track One Building a connected home automation device with the Digi ConnectCore Wi-i.MX51 using LinuxLink

Wave Relay System and General Project Details

Loyalty Systems over Near Field Communication (NFC)

Advanced routing scenarios POLICY BASED ROUTING: CONCEPTS AND LINUX IMPLEMENTATION

A Research Study on Packet Sniffing Tool TCPDUMP

Your Mobile Phone as a Ticket (NFC)

Application of Near Field Communication Technology for Mobile Airline Ticketing

WLAN Positioning Technology White Paper

Using Bluetooth on Android Platform for mhealth Development

SOME/IP SERVICE DISCOVERY THE NEED FOR SERVICE DISCOVERY IN THE VEHICLE

Networking. Systems Design and. Development. CRC Press. Taylor & Francis Croup. Boca Raton London New York. CRC Press is an imprint of the

Connection and Configuration of Baudisch SIP unit with Display and RFID Reader Module

IOTIVITY AND EMBEDDED LINUX SUPPORT. Kishen Maloor Intel Open Source Technology Center

Fleet Management Solutions

An NFC Ticketing System with a new approach of an Inverse Reader Mode

Lean and Easy Ways to Adopt MOST Technology

ParkiNG systems Payment systems Payment terminals


The Survey on Near Field Communication

NFC in Android. Martijn Coenen

Adaptive Radio. Cognitive Radio

Knut Omang Ifi/Oracle 19 Oct, 2015

Sample Configuration Using the ip nat outside source static

Leveraging Tizen IVI Platform for Realizing V2X Use Cases

SINGLE DEVICE FOR MULTIPLE TASKS

How To Install Linux Titan

Networking Basics for Automation Engineers

ZEN LOAD BALANCER EE v3.02 DATASHEET The Load Balancing made easy

VALLIAMMAI ENGNIEERING COLLEGE SRM Nagar, Kattankulathur

Wireless Threats To Corporate Security A Presentation for ISACA UK Northern Chapter

Deploying Cisco Basic Wireless LANs WDBWL v1.1; 3 days, Instructor-led

ΕΠΛ 674: Εργαστήριο 5 Firewalls

Cisco Configuring Basic MPLS Using OSPF

CREW - FP7 - GA No Cognitive Radio Experimentation World. Project Deliverable D7.5.4 Showcase of experiment ready (Demonstrator)

Software Card Emulation in NFC-enabled Mobile Phones: Great Advantage or Security Nightmare?

Datalink Systems Inc.

}w!"#$%&'()+,-./012345<ya

ODP Application proof point: OpenFastPath. ODP mini-summit

DEVELOPING NFC APPS for BLACKBERRY

Applying the NFC Secure Element in Mobile Identity Apps. RANDY VANDERHOOF Executive Director Smart Card Alliance

CVIS Cooperation Vehicle Infrastructure Systems

CT LANforge WiFIRE Chromebook a/b/g/n WiFi Traffic Generator with 128 Virtual STA Interfaces

CS312 Solutions #6. March 13, 2015

ZEN LOAD BALANCER EE v3.04 DATASHEET The Load Balancing made easy

AN Software Design Guide for POS Development Kit OM5597/RD2663. Rev August Application note COMPANY PUBLIC

Mobile Cloud & Mobile Ticketing

Toward Connected Vehicle with AGL

Performance monitoring and analysis of wireless communication protocols for mobile devices

Load Balancing SIP Quick Reference Guide v1.3.1

How To Test Your Code

Networking with Wicked in SUSE Linux Enterprise 12. Something Wicked This Way Comes. Guide. Solution Guide Server.

ΕΠΛ 475: Εργαστήριο 9 Firewalls Τοίχοι πυρασφάλειας. University of Cyprus Department of Computer Science

Kiwi SyslogGen. A Freeware Syslog message generator for Windows. by SolarWinds, Inc.

Implementing Reverse Proxy Using Squid. Prepared By Visolve Squid Team

Information Security Group (ISG) Core Research Areas. The ISG Smart Card Centre. From Smart Cards to NFC Smart Phone Security

Introduction Chapter 1. Uses of Computer Networks

Automotive Ethernet Security Testing. Alon Regev and Abhijit Lahiri

STRESS TESTING OF HOST IDENTITY PROTOCOL (HIP) IMPLEMENTATIONS

Transcription:

Timo Müller NFC AND THE VEHICLE. TESTING THE LINUX NFC STACK. BMW Car IT GmbH

NEARD FIELD COMMUNICATION. WHAT IS IT? Easy connections, quick transactions, and simple data sharing. NFC-Forum.org Fast connection setup Contactless Short range Communication with passive and active devices or tags Compatible with RFID Page 2

NFC AND THE VEHICLE. WHAT TO DO WITH NFC IN THE CAR? Connect Bluetooth and Wireless Devices by a single touch Touch the car to unlock or start Transfer data like navigation destinations or contacts Wireless charging Page 3

NFC AND GENIVI. HOW ABOUT COMPLIANCE? APIs of a NFC stack are defined in GENIVI Part of the GENIVI compliance since release 5.0 (07. Oct 2013) NFC kernel subsystem and neard are GENIVI compliant Page 4

LINUX NFC. GENERAL CAPABILITIES. Reading and Writing Tags Card Emulation Peer-to-Peer Connections (LLCP-based Transports) Handover with Bluetooth and WiFI Supported Hardware: NXP pn544, pn533, pn532 TI nfcwilink IS microread Page 5

LINUX NFC. TRANSFERING DATA. Simple NDEF Exchange Protocol (SNEP) NDEF Push Protocol (NPP) Personel Health Device Communication (PHDC) Page 6

LINUX NFC. CONNECTION HANDOVER. Establish a Bluetooth or WiFi connection By touching a device (Negotiated Handover) By touching a tag (Static Handover) Page 7

LINUX NFC. SECURE ELEMENT API. Released with Kernel Release 3.13 Netlink API for Discovering attached Secure Elements Enabling and Disabling of Secure Elements Currently only supported by the pn455 Secure Element Daemon with D-Bus APIs will be part of neard Page 8

LINUX NFC. GENERAL ARCHITECTURE. Application Application D-Bus API neard User space Kernel space NFC Netlink AF_NFC Sockets NFC Core NFC Drivers NFC Hardware Source: https://01.org/linux-nfc/documentation Page 9

LINUX NFC. D-BUS API. NFC Application (NDEF agent) ConnMan (Handover agent) agent manager / BlueZ (Handover agent) adapter /nfc0 tag /nfc0/tag0 device /nfc0/device0 record /nfc0/tag0/record0 record /nfc0/device0/record0 Source: https://01.org/linux-nfc/sites/default/files/documentation/nfc-genivi-amm-2013q1-open.pdf Page 10

LINUX NFC. LET'S GO FOR A SPIN. Page 11

LINUX NFC. KERNEL ARCHITECTURE. Netlink socket PROTO_LLCP LLCP PROTO_RAW AF_NFC NFC Core HCI NCI pn533 SHDLC wilink µread pn544 Source: https://01.org/linux-nfc/documentation Page 12

TESTING THE LINUX NFC STACK. MANUAL TESTING. Python test scripts for Connection Handover PHDC Manager SNEP Agent Communication via D-Bus APIs Monitor Traffic with nfctool and monitor-near Page 13

TESTING THE LINUX NFC STACK. USING THE LOOPBACK DEVICE. NFC_SIM Kernel Driver Two virtual NFC Devices are created that act as loopback devices Test Application 1 Test Application 2 neard Peer-to-Peer Connections can be tested. NFC Core vnfc Device 1 vnfc Device 2 NFC-DEP Page 14

TESTING THE LINUX NFC STACK. WHAT'S MISSING? Testing NFC R/W Interface Test Application Testing Card Emulation Modes neard NFC Core vnfc Device ISO-DEP (Listen) Test Tag ISO-DEP (Poll) Tag Type 1-4 Test Device (Card Emulation) Page 15

PROPOSAL FOR TESTING WITHOUT HARDWARE. NFC CONTROLLER INTERFACE. NFC Forum Device NCI NFCEE Interface RF Interface Control Device Host NFCEE Protocol NFC Exection Environment RF Protocol NFC Controller Remote NFC Interface Source: NFCFourm-TS-NFC-1.0 2012-11-06 Page 16

PROPOSAL FOR TESTING WITHOUT HARDWARE. A VIRTUAL NFC CONTROLLER. Create a complete virtual NCI Device Emulate NCI Data Packets based on RF Protocols Tag Type 1-4 ISO-DEP (Poll and Listen) NFC-DEP Page 17

NFC OVER SOMEIP. VIRTUAL NFC CONTROLLER AND REAL HARDWARE. NFC Reader is somewhere in the vehicle connected to an ECU Head-Unit NFC Reader ECU allows opening or starting the car when the Head-Unit is off Remaining NFC functionality is handled by the Head-Unit Application neard CAN/LIN/MOST NFC Core ECU vnci Device SOMEIP Page 18

NFC OVER SOMEIP. VIRTUAL NFC CONTROLLER AND REAL HARDWARE. Send NCI control and data packets over SOMEIP Head-Unit ECU Daemon Expose the virtual NCI device as a virtual networking adapter Application neard Route the IP packets containing NCI data via iptables or nftables NFC Core vnci Device SOMEIP Page 19

THANK YOU VERY MUCH FOR YOUR INTEREST. Page 20

RESOURCES. 01.org/linux-nfc nfc-next: git://git.kernel.org/pub/scm/linux/kernel/git/sameo/nfc-next.git www.nfc-forum.org neard: git://git.kernel.org/pub/scm/network/nfc/neard.git www.press.bmwgroup.com Samuel Ortiz: The Linux NFC subsystem, 2013 NFCForum-TS-NCI-1.0: NFC Controller Interface (NCI) Specification, V1.0 November 2012 https://01.org/linuxnfc/sites/default/files/documentation/nfc-genivi-amm2013q1-open.pdf Samuel Ortiz: Mobile Payments with Linux, 2013 https://01.org/linuxnfc/sites/default/files/documentation/mobile_paymentslinuxcon.pdf Page 21