PocketGSM
A) PIN MANAGEMENT
Due to security reasons, usually SIM cards require the insertion of PIN code. With Pocket
GSM you can insert the PIN code through the AT+CPIN command.
If your application has other security systems, you can disable the PIN request using a
mobile phone.
Examples:
Command:
AT+CPIN?
Answer:
ERROR
Answer:
+CPIN: READY
Answer:
+CPIN: SIM PIN
Answer:
+CPIN: SIM PUK
Answer:
+CPIN: SIM PIN2
In case the PIN code is not present, it must be inserted before using the SIM card:
Command:
AT+CPIN=4321
Answer:
OK
Answer:
ERROR
Attention: remember that if the PIN code is wrongly inserted for three times, the SIM card will block. To
unblock it you must insert the PUK code.
[ For further information see the chapter "AT Commands" present in the user's manual on Digicom
website ]
(Verify the SIM and the PIN status)
(SIM card reading failed)
(PIN code present: SIM ready)
(PIN code insertion is required)
(PUK code insertion is required)
(PIN2 code insertion is required)
(PIN insertion)
(PIN code right)
(PIN code wrong)
3.2
Functional Examples