Knowledge Base - SIM Alliance Loader : Install applet on SMAOT100NFC USIM card
We will use the OTA Session to this and for that we'll need to configure the 03.48 settings (KiC,KiD, SPI, algorithm etc).
So, the things we need for this guide / lesson are:
- A PC and a standard smart card reader
- SIM card: SMAOT100NFC
- the app (*.cap) we want to put on the card
- SIMAlliance Loader v2 (link)
Start
Start the program (with Administrator rights or you may have communication error with the smart card reader)
Insert the SIM card in the smart card reader
Explore with Explorer
- Click on Explorer button
- Select your smart card reader (contact mode if you have a dual interface reader)
- Click on "Scan" button
You should get an error: "POR error: Insufficient security level"
This is because we have not yet made the necessary configurations...
4. Click on "OTA configuration" button
OTA configuration
Select SMS as the transport mechanism
OTA configuration - 03.48
We will now set some parameters starting with some general 03.48 settings.
From your supplier you should have received some documentation on your card regarding codes, keys and other settings. Here you'll need the Card Manager TAR value.
OTA Integrity setting (KiD)
Enter or select the values according to the screenshot above.
For the SMAOT100NFC card the KiD = 15. In binary value, transformed from Hex, it's 00010101. And this shows us the properties to be set for Integrity.
0001 : key index
01 : Triple DES in outer -CBC mode using 2 keys
01 : DES
See next figure
The coding for KiC and KiD is shown below:
OTA confidentiality setting (KiC)
OTA Proof of receipt
After this step, click "OK" and work with Explorer tool again, and we will try to scan the card again.
Scan with Explorer
Click the "Scan" button, and...
Card content
So, you should have no errors, and you should have one package under the Card Manager.
Loader
Now it's time to start playing with the "loader" tool. Click on the "loader" button and a new window appears.
Add OTA session
We are going to use OTA to install an app on the card. So right-click on the chip icon and select "Add node / Add OTA session".
OTA Session & Add applet
1. Check the "Send Terminal Profile" checkbox
2. Right-click "OTASession" icon and select "Add node / Add Package"
Select the application and add applet
1. Click on "File Name" and select your app
2. Right-click on the package icon and select "Add node / Add Applet"
You should now have a screen looking like this.
As we in this guide have chosen an NFC app, we also have to make some Contactless Services configurations... so that's the next step.
Click on "Contactless Services" button and a new window will pop-up.
Add contactless protocol profiles
Fill in properties
Fill in / Select the values as above
Select Type A
Check the box "Type A"
Done!
Installing applet on card
Now everything is prepared in order to install the nfc application on the card.
Just click on the "RUN" icon and APDU commands will be sent to the card, and you can see them in the terminal window.
You should only have blue and black text. Red text indicates some kind of error.
Exploring the card again
Using "Explorer" tool again and scanning the card, shows us the package and the applet now on the card!
Details
Created : 2016-04-26 16:12:25, Last Modified : 2017-02-14 09:41:22
Attached Files
SMAOT
Smartjac OT series of UICC / SIM cards ranging from 2G SIM cards with XOR support, to advanced multi-application LTE UICC cards with Milenage support, NFC, USIM, ISIM and CSIM.
UICC
A high capacity smart card used in mobile terminals for GSM, UMTS/3G and now 4G/LTE networks.
Click for more info
Edge
A pre-3G digital mobile phone technology allowing improved data transmission rates.
HTTP
Hyper Text Transfer Protocol. A client-server communication protocol developed for World Wide Web. See IETF RFC2616, www.ietf.org.
SIM
A subscriber identity module or subscriber identification module (SIM) is an integrated circuit chip that is intended to securely store the international mobile subscriber identity (IMSI) number and its related key, which are used to identify and authenticate subscribers on mobile telephony devices.
Click for more info
NFC
Near field communication (NFC)
Click for more info
NFC
Near-Field Communication. A wireless technology that enables communication over short distances (e.g. 4cm), typically between a mobile device and a reader.
OTA
Over The Air. A method of distributing applications and new software updates which are already in use.
SMS
Short Message Service. A GSM service that sends and receives text messages to and from a mobile phone.
CBC
Cell Broadcast Centre. The part of the Core Network (CN) which manages Cell Broadcast Service (CBS) messages. See 3GPP TS23.002 Section 4a.5.1.
LAC
Location Area Code. The LAC is part of the Location Area Identity (LAI). The LAC identifies a Location Area (LA) within a Public Land Mobile Network (PLMN). It has a fixed length of 2 octets and is one of the parameters an LTE UE is requested to read when it detects UTRAN cells in the neighbourhood. See 3GPP TS23.003 Section 4.1.
NDS
Network Domain Security. A security architecture for network domain Internet Protocol (IP) based control planes, which is applied to NDS/IP-networks (i.e. 3GPP and fixed broadband networks) to provide security in the Core Network (CN). See 3GPP TS33.210.
RAN
Radio Access Network. A RAN consists of the ground-based infrastructure required for delivery of communication between UEs and the Core Network (CN). In LTE, the RAN consists of one or more base stations (i.e. eNodeBs). Examples of other RANs are UMTS, TD-SCDMA, GSM, CDMA2000 and WiMAX.
RAT
Radio Access Technology. The RAT is the type of radio technology used in a Radio Access Network (RAN) to access the Core Network (CN), e.g. UMTS, GSM, CDMA2000, WiMAX.
DM
Device Management: Management of mobile phone configuration, updates and other managed objects of mobile devices over the entire life-cycle as defined by OMA DM. DM is also used generically to describe all methods and activities associated with mobile device management.
Click for more info
IM
Using text on a mobile handset to communicate in real time
IP
Internet Protocol. A protocol for communicating data accross a network
Click for more info
OS
Operating System. Software that runs on computers and other smart devices and that manages the way they function.
SE
Secure Element. A secure and personalised physical component added to a system to manage users rights and to host secure apps. SE typically consist of a Silicon Chip, a secure Operating System, application software and a secure protocol to communicate to the device. SE can be a removable device (such as UICC or µSD for mobile devices or MIM for M2M connected machines). SE can also be components inside the system.
BS
Base Station. The entity in a radio access network responsible for radio trans- mission and reception in one or more cells to and from the UE. In LTE the BS is known as the eNodeB.
Click for more info
DL
DownLink. The radio link in the direction from the base station to the mobile terminal.
Click for more info
HE
Home Environment. The HE of a subscriber is responsible for the overall pro- vision and control of the personal service environment to the subscriber.Â
HO
HandOver. HO is a procedure by which a mobile terminal changes serving cells (within the same frequency or on different frequencies or even on different Radio Access Technologies (RAT)). See 3GPP TS36.133.
PS
Packet Switched. In PS communication each data packet is labelled with the destination address and routed over a shared transmission resource. In contrast with Circuit Switching (CS) where dedicated transmission resources are re- served between network nodes to deliver a reliable transmission rate and delay, in a PS connection the transmission rate and delay may vary depending on the traffic load and the medium capacity, with packets being buffered if necessary.
RF
Radio Frequency. Refers to signal oscillation frequencies such that if the signal is input to an antenna an electromagnetic field is generated suitable for wireless communication. These frequencies cover a significant part of the electromagnetic radiation spectrum, ranging from a few kilohertz to hundreds of gigahertz. See 3GPP TR36.942 for some discussion of related issues.
UE
User Equipment. The mobile unit which allows a user to access network services, connecting to the UTRAN or E-UTRAN via the radio interface. A UE can be subdivided into a Universal Integrated Circuit Card (UICC) and a Mo- bile Equipment (ME). See 3GPP TS21.905 Section 3.
SIM
A subscriber identity module or subscriber identification module (SIM) is an integrated circuit chip that is intended to securely store the international mobile subscriber identity (IMSI) number and its related key, which are used to identify and authenticate subscribers on mobile telephony devices.
Click for more info