Motorola G24 Benutzerhandbuch
Chapter 3: AT Commands Reference
December 31, 2007
AT Commands Reference Manual
3-81
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.
<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.
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.
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.
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.
<number> and <alpha> as the values to be set.
If only the <mode> value is given, then the Set command is interpreted as follows:
•
<mode> = 0 - Do not show any number on next +CPIN insertion command
•
<mode> = 1 - Default <index> (equals 1) is set to <mode> = 1