Examples, Examples with the pin required, 2 examples – Rainbow Electronics FARGO MAESTRO 100 (with TCP_IP) User Manual
Page 727: Appendixes, 1 examples with the pin required

APPENDIXES
Examples
© Restricted
Page:
21 / 80
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
APPENDIXES
August 23,
2007
2 Examples
This chapter gives illustrative examples of the general AT commands used for a
communication. The presentation of commands and responses is as close as possible
to what a user can see on its test monitor. Blank lines have been intentionally
removed. The characters on the left margin are DTE generated. Middle column
characters are Wireless CPU
®
generated.
2.1 Examples with the PIN Required
2.1.1 When the ME has to be powered ON.
AT+CMEE=1
Enable the report mobile equipment errors
OK
AT+CREG=1
Report registration
OK
AT+CPAS
Query ME Status
+CPAS: 5
(ME is asleep)
OK
AT+CFUN=1
Set ME to full functionality
OK
AT+COPS=0
Ask for automatic operator selection and registration
.
+CME ERROR: 11
SIM PIN required
.
AT+CPIN=1234
User entered a wrong PIN
+CME ERROR: 16
Incorrect password
.
AT+CPIN=0000
OK
PIN Ok
AT+COPS=0
Ask for automatic operator selection and registration
.
OK
+CREG:1
Registered on the network
AT+COPS=3,0
Select the long name alphanumeric format
.
OK
AT+COPS?
Get the operator name
+COPS: 0,0,"I OMNITEL"
OK