Sim Card--002

SIM Power Supply

VSIM is the power supply to the SIM card.

During the activation/deactivation process, VSIM output is automatically controlled.

The on/off of VSIM can also be controlled by directly programming the SIM_CTL0(Power_On bit[7]).

Protocol Mode

In normal case, the sim card is in PROT_MODE 0.

---ACK/NACK(PROT_MODE 1)

In this case, the process flow of simcard control as:

1. send command to sim card

2. receive ACK/NACK from sim card(not must)

3. send data to sim card(not must)

4. receive ACK/NACK from sim card(not must)

5. receive data from sim card

Note: the item 2/3/4 are not must all, but it must has one of them, and it must need one ACK/NACK.

The commands satisfy the rule are: select, verify, change, seek, enable, disable, increase, unlock, terminal response.

@@ ACK only when send data

@@ NACK only when send data

@@ ACK/NACK when send data

@@ ACK when receive data

In this case, there are no data need to send but just command. The received data should followed the ACK signal.

The commands satisfy the rules are: status, read binary, read record, get response and fetch.

@@ No ACK/NACK (PROT_MODE 2)

In this case, there are no data need to send but just command.

The received data has no ACK signal but just some NULL signals

The commands satisfy the rules are as : invalidte, rehabilitate

@@ Protocol State Machine

时间: 2024-08-27 22:42:44

Sim Card--002的相关文章

解决:insert Vodafone sim card,open the mms read report,when receive the read report,cann't download..

insert Vodafone sim card,open the mms read report,when receive the read report,cann't download the message Test steps: 1.insert Vodafone sim card 2.open the mms read report 3.send the mms successfully 4.when receive the read report 这里的环境须要描写叙述一下:在国内不

解决:insert Vodafone sim card,open the mms read report,when receive the read report,cann't download..

insert Vodafone sim card,open the mms read report,when receive the read report,cann't download the message Test steps: 1.insert Vodafone sim card 2.open the mms read report 3.send the mms successfully 4.when receive the read report 这里的环境需要描述一下:在国内不会出

10.SIM卡

绑定sim卡 ublic class Setup2Activity extends BaseSetupActivity { private SettingItemView sivSim; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_setup2); sivSim = (Setti

Android4.4 Telephony流程分析——SIM卡开机时的初始化

本文代码以MTK平台Android 4.4为分析对象,与Google原生AOSP有些许差异,请读者知悉. 本文主要介绍MTK Android开机时,SIM卡的Framework部分初始化过程. 先看一段注释: /* Once created UiccController registers with RIL for "on" and "unsol_sim_status_changed" * notifications. When such notification

编写代码模拟手机与SIM卡的组合关系。.........

编写代码模拟手机与SIM卡的组合关系. 要求: SIM卡类负责创建SIM卡: Phone类负责创建手机: 手机可以组合一个SIM卡: 手机可以更换其中的SIM卡. package test; public class phone { SIM sim;//声明对象 void setSIM(SIM card) { sim = card; } long lookNumber() { return sim.getNumber(); } } package test; public class SIM {

android之GMS认证

GMS综述 GMS认证,一般要求我们提供CTS, XTS, Verify三份测试报告,如下图: Bin: 认证的软件 CTS: CTS的测试报告 GTS: XTS的测试报告 ctsVerifierReports: Verify测试报告 CTS: CTS(全称"Compatibility Test Suite",即"兼容性测试包")的认证,这是一组用以测试的.apk程序之类的集合,它能够在官网(http://source.android.com/compatibili

Java HashMap LinkedHashMap 区别及原理

HashMap原理 HashMap是Map的一个常用的子类实现.其实使用散列算法实现的. HashMap内部维护着一个散列数组(就是一个存放元素的数组),我们称其为散列桶,而当我们向HashMap中存入一组键值对时,HashMap首先获取key这个对象的hashcode()方法的返回值,然后使用该值进行一个散列算法,得出一个数字,这个数字就是这组键值对要存入散列数组中的下标位置. 那么得知了下标位置后,HashMap还会查看散列数组当前位置是否包含该元素.(这里要注意的是,散列数组中每个元素并非

android 5.1 API简介

android 5.1介绍: http://developer.android.com/about/versions/android-5.1.html?utm_campaign=lollipop-51-315&utm_source=dac&utm_medium=blog 5.1的targetSdkVersion 为 "22" 看下新特新: 1 Multiple SIM Card Support Android 5.1 adds support for using mor

java 面向抽象编程的思想

SIM.java public abstract class SIM { public abstract void setNumber(String n); public abstract String giveNumber(); public abstract String giveCorpName(); } MobileTelephone.java public class MobileTelephone { SIM card; public void useSIM(SIM card) {