Chapter 3: AT Commands Reference

Example

AT+MDSI? +MDSI: 0

OK AT+MDSI=? +MDSI: (000,001)

OK AT+MDSI=1

OK

//Until now there was no deactivation or invalidation of SIM card.

AT+MDSI? +MDSI: 1

OK

//SIM card does not support GPRS

+MDSI: 2, 7, "GPRS", "GPRS services not allowed"

//Insert a SIM card that is no longer subscribed

AT+CPIN="1764"

OK AT+COPS=0

OK

//Unsolicited messages

+MDSI: 1, 2, "GSM", "IMSI unknown in HLR"

+MDSI: 0, 1, "DEACTIVATE", "Bad SIM"

// Insert a good SIM card, and roam to a network that doesn't have a

GPRS roaming agreement.

//Unsolicited messages

+MDSI: 2, 14, "GPRS", "GPRS services not allowed in this PLMN" AT+CGATT?

+CGATT: 0

OK

+MCSN, Motorola Change Subscriber Number

This AT command sets EFmsisdn in the SIM. The setting is placed in the given <index>, using <number> and <alpha> as the values to be set.

Additionally, when setting the number in a specific storage space, the <mode> parameter defines whether that <number> and corresponding <alpha>should be presented after entering the correct PIN number.

After entering the correct PIN number, the last <index>, whose <mode> was set to 1, is sent to the DTE. This indication is unsolicited and appears when SIM information is ready.

Note: At any given time, only one <index> or no <index> can have <mode> = 1. Therefore, setting <mode> = 1 for one of the supported <index>es implicitly means that all other <index>es have <mode> = 0.

Set Command

The Set command sets EFmsisdn in the SIM. The setting is placed in the given <index>, using <number> and <alpha> as the values to be set.

If only the <mode> value is given, then the Set command is interpreted as follows:

April 15, 2008

G24-L AT Commands Reference Manual

3-69

Page 133
Image 133
PIONEERPOS G24-LC manual +MCSN, Motorola Change Subscriber Number, At+Mdsi? +Mdsi, OK AT+MDSI=1, OK AT+COPS=0, +Cgatt