Chapter 14 – Specific AT Commands

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

OK

 

Note: Disable the security PIN

 

 

AT+WPIN?

+WPIN: 0

 

Note: Query the current state

OK

 

 

Note: PIN disabled

 

AT+WPIN=1,2222

+CME ERROR: 44

 

Note: Enable the security PIN

Note: Invalid PIN

 

AT+WPIN=1,1111

OK

 

Note: Enable the security PIN

 

 

AT+WPIN?

+WPIN: 1

 

Note: Query the current state

OK

 

 

Note: PIN enabled

 

AT+WPIN=2,1111,5555

OK

 

Note: Change the security PIN code

 

 

from 1111 to 5555

 

 

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

OK

 

Note: Disable the security PIN

 

 

AT+WPIN=3,5555

+CME ERROR: 44

 

Note: Verify the security PIN

Note: Wrong PIN value entered. Modem locked.

 

AT+WPIN=3,0000

OK

 

Note: Verify the security PIN

Note: Correct PIN value entered. Modem unlocked.

 

AT+WPIN=4,0000

OK

 

Note: Power up modem lock

Note: Modem locked at power up.

Multi-Tech Systems, Inc. CDMA Wireless AT Commands - PN S000294C

107

Page 107
Image 107
Multi-Tech Systems CDMA Wireless Modem manual Security PIN +WPIN, Current val & new val, At+Wpin?, AT+CSQ? +CME Error