
Chapter 15 – Provisioning AT Commands
Multi-Tech Systems, Inc. CDMA Wireless AT Commands (PN S000294J)
100
Service Programming Code +WSPC
Description:
This command allows for entry of the service programming code (either MSL or OTKSL). Upon successful
entry of this code, all other service provisioning AT commands may be used. If this code is not properly
entered prior to attempting other provisioning AT commands, all provisioning commands will return ERROR.
If the OTKSL is used to enter provisioning mode, only the +WIMI, +WMDN, and +WCMT commands will be
allowed. All other commands will return ERROR.
This command supports five attempts to enter the correct service programming code. If five incorrect
attempts are performed, the ME will power down.
Once the correct SPC code is entered, the modem transitions to the Service Programming state. This state
is not exited until a commit is done (+WCMT). While in the Service Programming state, subsequent
validations of the SPC code are ignored until the Service Programming state is reset.
Values:
<lock type>
0
OTKSL – One Time Key Subsidy Lock
1
MSL – Master Subsidy Lock
<code>
Six character programming code.
Syntax:
Command syntax:
AT+WSPC=<lock type>,<code>
Command
Possible Responses
AT+WSPC?
Note: Service programming code request
ERROR
Note: Invalid request
AT+WSPC=?
ERROR
Note: Invalid request
AT+WSPC=1,111111
Note: Enter service programming code 111111
ERROR
Note: Code invalid
AT+WSPC=1,000000
Note: Enter service programming code 000000
OK
Note: Code valid
Mobile Directory Number +WMDN
Description:
This command is used to enter a new mobile directory number. Valid numbers are between 10 and 15 digits
in length. For support of Wireless Number Portability in all non-RUIM software versions, changes to the
MDN will update the IMSI_M portion (least significant 10 digits) of the IMSI. Changes to the MDN will also
automatically update the Access Overload Class values unless specifically modified using the +WAOC
command. Also, for non-RUIM software loads, the lock code value (+WPIN) is updated to the last 4 digits of
the specified MDN value. The new IMSI_M and Access Overload Class values will not be visible in the WIMI
and WAOC commands until after the changes are committed with the WCMT command.
Syntax:
Command syntax:
AT+WMDN=<number>
Command
Possible Responses
AT+WMDN?
Note: Get current mobile directory number
+WMDN: 8581111111
OK
AT+WMDN=8585551212
Note: Set mobile directory number to 8585551212
OK
Note:
For RUIM software releases, this command can be used without the need to have previously entered the
SPC (+WSPC command). The value for <number> can be up to 15 digits and does not effect the IMSI.
Set IMSI +WIMI
Description:
This command is used to set the IMSI. Valid IMSI is 15 digits in length, MCC (3), MNC (2), MIN2 (3), MIN1
(7). For support of Wireless Number Portability, changes to the IMSI will
NOT
update the MDN. Changes to
the IMSI will automatically update Access Overload Class values unless specifically modified using +WAOC.
Syntax:
Command syntax:
AT+WIMI=<number>
Command
Possible Responses
AT+WIMI?
Note: Get current IMSI
+WIMI: 310008581111111
OK
AT+WIMI=310008585551212
Note: Set IMSI to 310008585551212
OK
Note:
For RUIM software releases, this command is not valid and will return “Error 3”.