MIFARE SDK - NXP

2y ago
29 Views
2 Downloads
1.58 MB
30 Pages
Last View : 3d ago
Last Download : 3m ago
Upload by : Nixon Dill
Transcription

TrainingMIFARE SDKPublicMobileKnowledgeJune 2015

Agenda Overview of MIFARE SDK related technologies NFC Technology (Read/Write mode) MIFARE, NTAG and ICODE products NFC in Android MIFARE SDK Introduction to the MIFARE SDK library How to start using the library MIFARE SDK Lite Edition vs Advanced Edition MIFARE SDK code examples Use CasesTraining2

NFC TechnologyRead/Write modeCard EmulationPeer to PeerRead/WriteReads / Writes data from anytag or contactless cardMIFARE SDKTraining3

NXP ProductsBroadest product portfolio tailored to more than40 different applicationsBroadest product portfolio tailored to theautomatic fare collection marketLeading product families are MIFARE Classic,MIFARE Ultralight, MIFARE Plus, MIFAREDESFire and SmartMXTrainingIdeal choice for mass market deployment ofNFC proximity marketing and electronics pairingapplicationsIndustry standard for high-frequency (HF) smartlabel solutions. Broadest product portfoliotailored to the automatic fare collection marketCombines ease of integration, high RFsensitivity and anti-cloning featuresBillions of ICs in the field and thousands ofsuccessful installationsNTAG I2C connected tag integrates a I2Ccontact interface in addition to the passive NFCForum compliant interface4

NFC in Android

Android NFC Market Update Global Smartphone sales exceeded 1.2 Billion units in 2014.20% year-on-year increase registered. Smartphones share expected to continue growing from 67%in 2014 to 80% or even higher in the coming years 3 in 4 mobile phones to come with NFC by 2018 All major OEMs supporting Android integrate NFC technology Android accounts for more than 75% of Mobile OS marketshare 1.5M apps on the Play Store 450K Publishers 1.5B downloads from the Play Store every month 1M devices activated worldwide everydayTrainingGlobal Smartphone Shipments6

NFC in Android Read/Write mode supported Passive NFC Forum Tags Tag Type 1: Topaz Tag Type 2: MIFARE Ultralight & NTAG (simple dedicated API) Tag Type 3: FeliCa Tag Type 4: MIFARE DESFireProprietary NXP NFC Tags MIFARE Classic (simple dedicated API) ICODE Peer to Peer mode supported Card Emulation mode “supported” HCE supported since Android KitKatAndroid NFC developer’s guide vity/nfc/index.htmlTraining7

NFC in AndroidMy first MIFARE DESFire-based application Connect to the card and exchange data Class to use: android.nfc.tech.IsoDep class ? Commands to be exchanged in hexadecimal !! 2b 31 95 afcc bc ed 4f c8 32 c9 08 dc e2 4d 86 ca ec 3c 00f2 d1 91 00Advanced technical knowledge needed MIFARE DESFire EV1 datasheet ISO 7816-4 specification ISO/IEC 14443 standard Manage the MIFARE DESFire AES-based cryptography CMAC calculator CRC32 calculator Initialization Vector managementUsers care about the User Interface and application interaction The time you invest managing the contactless communication, the time you do not invest developing your cool appTraining8

MIFARE SDK

MIFARE SDKIntroduction Extensive software development tool that lets developers create contactless applications for the complete portfolio ofMIFARE, NTAG and ICODE products on any NFC-enabled devices. Software and Hardware KeyStore supporting NXP’s SAM AV2 module for the development of secure apps. Complete product support package: user manual, documentation, examples, t/en/products/mifare-sdk/Training10

MIFARE SDKWhy should I use it? MIFARE SDK is ideal for building reliable, interoperable and scalable applications for smartphones Developers are able to benefit from an enormous reduction in development time. Developers focus on designing creative apps and the best GUI for their brands. Short time from idea to marketGet rid of “complicated” datasheets and application notes Full command set support on Java level Leverage the worldwide success of NXP’s product installations. Comprehensive documentation with User Manual and Javadoc documentation Source code examples to get familiar with the technology as fast as possible Talk to our experts on the MIFARE SDK ForumTraining11

MIFARE SDK Content The MIFARE SDK package contains: Java library file (to import in your programming IDE) Complete Javadoc documentation with the API description User Manual describing how to start and use the SDK Sample reference applications Release noteRequirements: Software Android Development Tool environment from Google [HIC Omnikey Driver for Android]Hardware Android NFC device with Android 4.x (ICS) and above [HID SAM reader]Training12

MIFARE SDK DocumentationUser Manual and Javadoc documentationMIFARE SDK User ManualJavadoc documentationIntroduction to the MIFARE SDK andexplanation on how to integrate theMIFARE SDK in your project and startdevelopingComplete API description ideal for programmersTrainingJavadoc documentation can be consulted as an interactivewebsite and integrated into the development IDE for furtherconsulting during coding phase13

MIFARE SDK Sample App Sample App downloadable from the Play Store Application that detects any card and demonstrates read/writeof data onto the card It supports MIFARE, NTAG and ICODE products Hardware KeyStore is demonstrated using HID OMNIKEYreaders with NXP’s SAM inserted into it Source code available in the MIFARE SDK packageTraining14

MIFARE SDKLite vs Advanced versionLITE version offers a reduced API for simple usecases such as read/write operations and single NDEFoperationsAdvanced version offers a complete API for allMIFARE cards and supports all type of operations.Software and Hardware KeyStore are only supportedin this version.Training15

MIFARE SDK Lite versionGetting startedSTEP 1STEP 2STEP 3Login & DownloadInstallCodeLogin in the MIFARE SDK websiteand download MIFARE SDK Liteversion for freeFollow the MIFARE SDK User Manualin order to integrate the java library inyour Android projectStart developing cool NFC apps thatleverage on MIFARE, NTAG andICODE infrastructureTraining16

MIFARE SDK Advanced versionLicensing and getting startedLoginBuy creditsDownload SDKLogin in the MIFARE SDKwebsitePurchase credits:Download the MIFARE SDKAdvanced version from thewebsiteTraining1000 Credits: 99 5000 Credits: 399 Register yourappRegister the app where theMIFARE SDK will be usedStart codingUse the obtained key inyour app and start codingcool NFC apps17

Practical exerciseHow to start building your MIFARE SDK appshttps://youtu.be/AsDZT101ZrkTraining18

MIFARE SDKMy first MIFARE DESFire-based application Dedicated DESFire class available No hexadecimal commands to be sentHigh-level Java API for operating on the card Authenticate Read Write ChangeKey Advanced technical knowledge not needed anymore Manage the MIFARE DESFire AES-based cryptography The MIFARE SDK will manage it for you , deskey);objDESFire.write (data);Software and Hardware KeyStoreDevelopers invest the majority of their time in the application logic and User InterfaceTraining19

MIFARE SDKNew features and updates Latest features in Advanced Version v02.02 and v02.01: Root check removed ICODE SLIX2 support added PlusSL1 class is added for detecting Security Level 1 separately GetCardDetails API is made uniform across cards Added MakeReadOnly API for MIFARE Ultralight and NTAG Fixed Ultralight C CounterIncrement API New features to come Full MIFARE DESFire EV2 command set support Other SAM form-factors New platforms support Utilities, tools, APIs, Training20

MIFARE SDK Sample code

Practical exerciseMIFARE SDK Sample Code Ihttps://youtu.be/GAO1KMs646cTraining22

Practical exerciseMIFARE SDK Sample Code IIhttps://youtu.be/EjVdlpg5OG8Training23

Practical exerciseMIFARE SDK Sample Code IIIhttps://youtu.be/HS2P0cix8 QTraining24

Use Cases

MIFARE SDKWhere to use it Smartcard-enabled Android applications Access management Closed-loop micropayment Campus and student cards Loyalty programs, couponing and gift card applications Gaming Libraries Smart homes Consumer interaction Smart media Training26

MIFARE SDKLoyalty Use caseIdeaDevelopmentPublishMy restaurant application with menus,reservations, in the Play Store.Develop application using Android API,MIFARE SDK and cloud servicesMIFARE-based Loyalty card serviceas the way to succeedApplication logic: 4 hoursApplication GUI: 2 hoursMIFARE logic: 15 minutesPublish application in the Play Storeand wait for new customers thanks tomy brand new MIFARE-based Loyaltyprogram!!!Training27

Conclusion

MIFARE SDKWrap up Smartphone applications are a great business opportunity Make your application stand out with NFC technology Managing contactless communication is not easy using Android API MIFARE SDK helps you to develop reliable, interoperable andscalable applications that rely on NXP products High-level Java API for contactless communication Complete and comprehensive documentation Source code examples Support to developers Integration of new products guaranteedTraining29

MobileKnowledgeThank you for your attentionwww.themobileknowledge.com We are a global competence team of hardware andsoftware technical experts in all areas related to contactlesstechnologies and applications. Our services include: Application and system Design Engineering supportProject ManagementTechnological ConsultingAdvanced Technical Training servicesWe address all the exploding identification technologies thatinclude NFC, secure micro-controllers for smart cards andmobile applications, reader ICs, smart tags andlabels, MIFARE family and authentication devices.For more informationEric Lerouxeric.leroux@themobileknowledge.com 34 629 54 45 52Training30

Initialization Vector management . couponing and gift card applications . My restaurant application with menus, reservations, in the Play Store. MIFARE-based Loyalty card service as the way to succeed Development Develop app

Related Documents:

the 3DES key, the MIFARE Ultralight C design shows some differences compared to MIFARE Ultralight design. In order to minimize the impact of chip differences for the customer designs and ease the transition from existing MIFARE Ultralight systems to MIFARE Ultralight C systems, this document highlights the differences between the two products.

AWS SDK for JavaScript AWS SDK for JavaScript code examples AWS SDK for .NET AWS SDK for .NET code examples AWS SDK for PHP AWS SDK for PHP code examples AWS SDK for Python (Boto3) AWS SDK for Python (Boto3) code examples AWS SDK for Ruby AWS SDK for Ruby co

MIFARE SAM AV3 - Quick start up guide Rev. 1.4 — 15 June 2020 Application note 521014 COMPANY PUBLIC Document information Information Content Keywords MIFARE SAM AV3, Secure Key Storage, DES, TDEA, AES, RSA. Key Usage Counters. Abstract This application note introduces MIFARE SAM AV3 with some start up guidance.

MIFARE Ultralight EV1 - Contactless ticket IC Rev. 3.3 — 9 April 2019 Product data sheet 234533 COMPANY PUBLIC 1 General description NXP Semiconductors developed the MIFARE Ultralight EV1 MF0ULx1 for use in a contactless smart ticket, smart card or token in combination with a Proximity Coupling Device (PCD).

AWS SDK for JavaScript Developer Guide for SDK Version 3 Maintenance and support for SDK major versions What is the AWS SDK for JavaScript? Welcome to the AWS SDK for JavaScript Developer Guide. This guide provides general information about setting up and configuring the AWS SDK for JavaScript. It also walks you through examples and tutorial

ANDROID SDK INSTALLATION . Receive the SDK . After receiving information on how to retrieve the ZIP File containing the SDK, use the following steps on to install the SDK properly. Install Static Library & Header . To install the Barometric SDK, add the files included in the zip file to the listed locations below. .ZIP FILES FILE LOCATION

packages assembled at NXP and NXP's assembly and test vendors. Refer to Section Downloading package information from NXP website of this application note for step by step instructions for retrieving package information. For more details about NXP products, visit www.nxp.com or contact the appropriate product application team.

The API commands in this guide are applicable to the Polycom RealPresence Group 300, Polycom RealPresence Group 500, and Polycom RealPresence Group 700 systems.