Vaisala Hydromet Data Collection Platform User Manual
Page 144

User's Guide ______________________________________________________________________
142 _________________________________________________________________ M210933EN-C
When this option is selected, the modem control checks and issues the
PIN code when needed. The PIN code is set with the at_pin parameter
either through the terminal software Station settings window or using
service terminal command spset at_pin "code", where code is the four-
digit PIN code.
You can change the PIN code in two alternative ways:
1.
You can use a mobile phone to change the PIN code. For detailed
information, refer to the appropriate mobile phone user manual.
or
2.
You can connect the GSM data terminal to a PC and use a terminal
program in the PC to change the PIN code properties.
a.
To query the PIN code status, use the following command:
AT+CPIN?
Modem responds with
SIM PIN
when it is waiting for the PIN
code to be given or with
READY
when the PIN code is not in
use or has already been entered.
+CPIN: SIM PIN
+CPIN: READY
b.
To enter the PIN code, use the following command:
AT+CPIN=0000
where 0000 is the PIN code.
c.
To enable the PIN code validation, use the following
command:
AT+CLCK="SC",1,0000
where 0000 is the PIN code. Modem responds with
OK
.
NOTE
Always use quotation marks around the PIN code when setting the
value with the at_pin parameter.
NOTE
If an erroneous PIN code is entered more than three times in a row, the
SIM card will lock and a PUK code is needed for reopening it. This
code can be obtained from the operator.