Rainbow Electronics MG260 User Manual
Page 52
![background image](/manuals/281850/52/background.png)
FLYFOT-MG260-MODULE
Page: 52 / 246
This document is the sole and exclusive property of FLYFOT. Not to be distributed or divulged without
prior written agreement.
7 Security commands
7.1 Enter PIN +CPIN
Description :
This command is used to enter the ME passwords (CHV1 / PUK1), that are required before any ME
functionality can be used.
CHV1 is between 4 and 8 digits long, PUK1 is only 8 digits long.
The application is responsible for checking the PIN after each reset or power on
- if the PIN was enabled.
Syntax :
Command syntax: AT+CPIN=
Command
Possible 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
After 3 unsuccessful attempts to enter the PIN (Personal Identification Number), the PUK (Personal
Unblocking Key) will be required. PUK validation forces the user to enter a new PIN code as a second
parameter and this will be the new PIN code if PUK validation succeeds. CHV1 is then enabled if PUK1
is correct. The application therefore uses this command: AT+CPIN=
Command
Possible responses
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