Change password +cpwd, Card identification +ccid – Multi-Tech Systems CDMA Wireless Modem User Manual

Page 54

Advertising
background image

Chapter 7 - SIM Card Operational Commands

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

54

Change Password +CPWD

Description: This command is used by the application to change a password, PIN1or PIN2. The “SC” and

“P2” facilities are available only in builds, which include stet support.

Values:

The following <fac> values are supported:

“SC”: PIN1
“P2”: 7.6.2 PIN2

<oldpwd>

Current PIN1 or PIN2 password

<newpwd>

Desired

PIN1

or

PIN2

password

Syntax:

Command syntax: AT+CPWD= <fac>, <oldpwd>, <newpwd>

Command

Possible Responses

AT+CPWD=”SC”,1234,5555
Note: Change stet PIN1

OK
Note: PIN1 now 5555

AT+CPWD=”SC”,1234,5555
Note: Change stet PIN1

+CME ERROR: 16
Note: PIN incorrect

AT+CPWD?
Note: Get status

+CPWD:(“SC”,8),(“P2”,8)
OK
Note: PIN1 & PIN2 passwords are supported with 8 digit maximum

Card Identification +CCID

Description: This command is used to display the SIM card ESN. The data is output in hexadecimal

format. If there is no ESN present on the SIM card, only the OK portion of the message will
be output.


Syntax:

Command syntax: AT+CCID

Command

Possible Responses

AT+CCID
Note: Get card ID

+CCID: C3729F82
Note: ESN is presented in hexadecimal format.

AT+CCID?
Note: Get current value

+CCID: C3729F82
Note: Same result as +CCID

AT+CCID=?
Note: Get possible value

OK
Note: No parameter but this command is valid.

Advertising