Rainbow Electronics 900 User Manual

Page 57

Advertising
background image

FLYFOT-M260-MODULE

Page: 57 / 239

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

Command

Possible responses

AT+CPIN2=1234
Note : Enter PIN2

OK
Note : PIN2 is correct

AT+CPIN2=5678
Note : Enter PIN2

+CME ERROR:3
Note : Operation not allowed,PIN2 previously
entered is wrong.


After 3 unsuccessful attempts, PUK2 will then be required. PUK2 validation forces the user to enter a new PIN2
code as a second parameter and this will be the new PIN2 code if PUK2 validation succeeds. The application
therefore uses this command:
AT+CPIN2=<puk2>,<NewPin2>

Command

Possible responses

AT+CPIN2=00000000,1234
Note : Enter PUK2 and new PIN2

+CME ERROR:16
Note : Incorrect Password(PUK2).

AT+CPIN2=12345678,1234
Note : Enter PIN2 and new PIN2

OK
Note : PUK2 is correct, new PIN2 stored


To ascertain which code must be entered (or not), the following query command can be used:
AT+CPIN2?
The possible responses are
+CPIN2: READY
+CPIN2: SIM PIN2
+CPIN2: SIM PUK2
+CME ERROR: <err>

No PIN2 is needed
PIN2 is required
PUK2 is required
SIM failure (13) absent (10) etc…


Example

Command

Possible 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+CPIN2?

+CPIN2: SIM PIN2

Advertising