Chapter 14 – Specific AT Commands
Multi-Tech Systems, Inc. CDMA Wireless AT Commands - PN S000294C 107
Security PIN +WPIN
Description: This command sets, enables, or disables the security PIN. When this PIN is enabled, only
ATD (emergency numbers only), ATH, and +WPIN commands will be accepted.
Note 1: The default value of the WPIN will be the last four digits of the mobile directory
number if configured (+WMDN). If not configured, the default value of the WPIN will be
0000.
Note 2: When the security PIN is enabled, the unit will power-up in the “locked” state.
Note 3: For RUIM software builds, the default value for WPIN is '0000' even if a WMDN is
present.
Values: <mode>
0: Disable modem lock
1: Enable modem lock
2: Change the PIN number
3: Verify the PIN. Unlock the modem until reset. Does not change NV enable/disable
setting.
4: Enable modem lock upon power up
<current val> & <new val>
0000 – 9999
Syntax: Command syntax: AT+WPIN=<mode>,<current val>,<new val>
Command Possible Responses
AT+WPIN=0,1111
Note: Disable the security PIN
OK
AT+WPIN?
Note: Query the current state
+WPIN: 0
OK
Note: PIN disabled
AT+WPIN=1,2222
Note: Enable the security PIN
+CME ERROR: 44
Note: Invalid PIN
AT+WPIN=1,1111
Note: Enable the security PIN
OK
AT+WPIN?
Note: Query the current state
+WPIN: 1
OK
Note: PIN enabled
AT+WPIN=2,1111,5555
Note: Change the security PIN code
from 1111 to 5555
OK
AT+CSQ? +CME ERROR: 44
Note: Modem is locked, only ATD & +WPIN commands will be
accepted
ATD8585551212; +CME ERROR: 44
Note: Modem is locked, only emergency numbers accepted
using ATD.
AT+WPIN=0,5555
Note: Disable the security PIN
OK
AT+WPIN=3,5555
Note: Verify the security PIN
+CME ERROR: 44
Note: Wrong PIN value entered. Modem locked.
AT+WPIN=3,0000
Note: Verify the security PIN
OK
Note: Correct PIN value entered. Modem unlocked.
AT+WPIN=4,0000
Note: Power up modem lock
OK
Note: Modem locked at power up.