Rainbow Electronics FARGO MAESTRO 100 (with TCP_IP) User Manual

Page 172

Advertising
background image


Security Commands

Enter PIN +CPIN

©Restricted

Page:

166 / 184

This document is the sole and exclusive property of Wavecom. Not to be distributed or divulged without
prior written agreement.

WM_DEV_OAT_UGD_049 - 001

VOLUME 1

August 23, 2007

9.1.5

Examples

Command

Responses

AT+CPIN=1234

Note: Enter PIN

OK

Note: PIN code is correct

AT+CPIN=5678

Note: Enter PIN

+CME ERROR: 3

Note: Operation not allowed, PIN previously

entered

AT+CPIN=00000000,1234

Note: Enter PUK and new PIN

+CME ERROR: 16

Note: Incorrect PUK

AT+CPIN=12345678,1234

Note: Enter PUK and new PIN, 2

nd

attempt

OK

Note: PUK correct, new PIN stored

The response "+CME ERROR: 13" (SIM failure) is returned after 10 unsuccessful PUK

attempts. The SIM card is then out of order and must be replaced.

If the user tries to do something which requires PIN 2/CHV 2, the product will refuse

the action with a "+CME ERROR: 17" (SIM PIN2 required). The product then waits for

SIM PIN 2/CHV 2 to be given.

If PIN 2/CHV 2 is blocked, SIM PUK2 is required instead of SIM PIN 2/CHV 2.

For example, the product needs PIN 2/CHV 2 to write in the fixed dialing phonebook

(FDN) , so if SIM PIN 2/CHV 2 authentication has not been performed during the

current session, SIM PIN 2/CHV 2 is required

Command

Responses

AT+CPBS="FD"

Note: Choose FDN

OK

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

Note: Write in FDN at location 5

+CME ERROR: 17

Note: SIM PIN2 is required

AT+CPIN?

+CPIN: SIM PIN2

Note: SIM PIN2 is required

AT+CPIN=5678

Note: Enter SIM PIN2

OK

AT+CPBW=2,"01290917",129,"Jacky"

Note: Write in FDN at location 5

OK

Note: Writing in FDN is allowed

Advertising