At+Cpwd - Change Password - Siemens M1 User Manual

Gsm module
Hide thumbs Also See for M1:
Table of Contents

Advertisement

Technical reference section
Example:
You enter the correct PIN2:
Enter:
GSM module:
You enter an incorrect PIN2:
Enter:
GSM module:

AT+CPWD - Change password

This command allows you to change the password. Since more than one password will
be available for future uses, you must specify the name of the password upon entering
it.
Command
AT+CPWD=?
AT+CPWD=<name>,
<old password>,
<new password>
Example:
Enter:
GSM module:
Enter:
GSM module:
The following result code is returned if the old PIN you enter is incorrect:
Enter:
GSM module:
AT+CPIN2="1234"
OK
AT+CPIN2="1234"
+CME: ERROR: WRONG PASSWORD
AT+CPWD
Result
Displays a list of the passwords supported. These cur-
rently include the PIN, device code and PIN2.
This command instructs the GSM module to change the
relevant password. When changing the password, you
must enter both the old and new password. This ensures
that changes can be made only if access is authorized.
AT+CPWD=?
+CPWD: ("SC,8","PS,8", "P2,8")
OK
AT+CPWD= "sc","1234","4321"
OK
AT+CPWD= "sc","0123","4321"
+CME ERROR: INCORRECT PASSWORD
Requests the list of passwords (SC = SIM,
PS = device code, P2 = PIN2)
Password was successfully changed.
The password was not changed because the
old PIN was incorrect.
41

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents