
Chapter 13 – Specific AT Commands
Multi-Tech Systems, Inc. CDMA Wireless AT Commands (PN S000294J)
86
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). See the +WMDN command.
Note 2:
When the security PIN is enabled, the unit will power-up in the “locked” state.
Note 3:
For RUIM software loads, the default value for WPIN is '0000' even if an MDN 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.
Request PRL Version Information +WPRL
Description:
This command requests PRL Version information for the currently selected NAM.
Syntax:
Command syntax:
AT+WPRL?
Command
Possible Responses
AT+WPRL?
Note: Request current NAM’s PRL version
+WPRL: 1024
OK
AT+WPRL?
Note: Request current NAM’s PRL version
+CME ERROR: 41
Note: PRL request invalid because there’s no PRL loaded.
Note:
The range for PRL is a 16-bit type.