User guide
Chapter 11 – Provisioning Control Commands
Multi-Tech Systems, Inc. CDMA C1 AT Commands Reference Guide (PN S000478C) 55
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.
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.
Verizon requires the following additional action:
• If the SPC fails verification 15 consecutive times, the modem will provide an unsolicited
message indicating excessive SPC verification failures (see Excess SPC Failures +WLCK)
and then shutdown. This is in accordance to Verizon’s OTA specification. The host
application must prevent the modem from restarting for 1 minute when this condition occurs.
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
Values: <lock type>
0 OTKSL – One Time Key Subsidy Lock
1 MSL – Master Subsidy Lock
<code> Six character programming code.
Excess SPC Failures +WLCK
Description: This response indicates that 15 failed attempts have been made to enter the service
programming code. If the modem is not in emergency mode, any active call will be terminated
and the modem will go into offline mode.
Note: A successfully entered service programming code grants access to modem configuration data.
Syntax: Response Syntax: +WLCK: “Excess SPC failures!”
Command Possible Responses
AT+WSPC=0,123456
Note: 15th attempt to enter the SPC.
+WLCK: “Excess SPC failures!”
Note: Modem now in offline mode.