Sim card--002

Source: Internet
Author: User

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 Vsim can also is controlled by directly programming the sim_ctl0(power_on bit[7]).

Protocol Mode

In normal case, the SIM card was 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 is not must all, but it must have 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 is 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 is no data need to send but just command.

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

The commands satisfy the rules are as:invalidte, rehabilitate

@@ Protocol State machine

Sim card--002

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.