User manual

NXP Semiconductors
AN11480
Quick Start Up Guide for EXPLORE NFC working with Raspberry Pi
AN11480
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2013. All rights reserved.
Application note
COMPANY PUBLIC
Rev. 1.017 December 2013
279710
12 of 30
commands are named “AppSelection1” and “AppSelection2”. Only one of those
commands need to be sent to the card If both tries to select the PSE file are answered
with an error, we can assume that we have no PSE crad in the field.
When the return value is positive, the PSE name will be taken from the return answer
and the function “Compare” checks whether it is valid or not.
If the PSE is valid, the return answer will be analyzed until the AID is found. Then the
function “Card_Scheme” will be used to determine the card type. The type of the card will
be returned afterwards.
The function “Compare” checks the PSE of the card with the given PSE values
1PAY.SYS.DDF01 and 2PAY.SYS.DDF01. If the PSE values do not match, there is no
PSE on the card and the function returns an according value.
The function “Card_Scheme” retrieves the AID of the card and checks it with a list of
known AIDs and then returns a number.
These AIDs and their matching card types can be obtained from Wikipedia [16.].