Westermo GS-01 User Manual

Page 17

Advertising
background image

17

6195-2201

Of course if SIM PIN2 is blocked, SIM PUK2 is required instead of SIM PIN2.

For instance, the GSM module needs PIN2 to write in the fixed dialling phonebook
(FDN), so if SIM PIN2 authentification has not been done during the current cession the
SIM PIN2 is required:

Application to GSM

AT+CPBS=”FD”

Choose FDN

GSM to application

OK

Application to GSM

AT+CPBW=5,”01290917”,129,”Jacky”

Write in FDN at
location 5

GSM to application

+CME ERROR:17

SIM PIN2 is
required

Application to GSM

AT+CPIN?

GSM to application

SIM PIN2

SIM PIN2 is
required

Application to GSM

AT+CPIN=5678

Enter SIM PIN2

GSM to application

OK

Application to GSM

AT+CPBW=5,”01290917”,129,”Jacky”

Write in FDN at
location 5

GSM to application

OK

Now writing in
FDN is allowed

Please note that the GSM module ask only once PIN2 or PUK2, so if they aren’t entered
right, the next +CPIN? command will return ”+CPIN: READY”.

Remark

In the way Application to GSM, an ”h” character shall be added before the PIN value if
cyphering mode (with D.E.S algorithm) is on. See +EXPKEY command.

Same remark for +CLCK and +CPWD commands.

Advertising