Siemens M1 manual Setting up and clearing down connections, At+Cpin?, +Cpin Sim Pin, AT+CPIN=1234

Page 11

Installation / startup

Registering in the GSM network / PIN entry

In order for the GSM module to access the GSM network, you may have to enter the PIN for the SIM card. You can do this using the AT+CPIN=“....” command. The

AT+CPIN? command allows you to inquire whether or not you must enter a password and what type of password must be entered. The following blocks are possible:

PIN or PUK

Device code or PUK of the device code

Network link: the network operator blocks the device so that, without a network PIN, it runs only in its own network. If you wish to operate the device in another net- work, you must enter the PIN or PUK.

Service operator link: similar to the network link but implemented by the service op- erator rather than the network operator (again, you must enter PIN or PUK).

Note:

The PIN (4-8 positions) is the PERSONAL IDENTIFICATION NUMBER and must be en- tered to unblock the device. You are allowed 3 attempts to enter your PIN. If you enter the wrong PIN 3 times in a row, the PIN is blocked and must be unblocked by means of a PUK (PIN UNBLOCKING KEY). You are allowed 10 attempts.

You can enter the PUK any number of times for the network link and service operator link.

Example:

 

 

 

Enter:

AT+CPIN?

Queries the password to be entered.

GSM module

+CPIN: SIM PIN

PIN for the SIM card; must be entered.

Enter:

AT+CPIN=1234

PIN entry

M1

OK

PIN was correct; the SIM card can be

 

 

 

accessed.

After entering the PIN, you can enter the AT+CREG? command to determine whether the GSM module is registered in the GSM network.

Setting up and clearing down connections

Normally, you will set up connections with the aid of your communication program. However, you can also manually instruct your GSM module to set up and clear down a connection. The simplest sequence would be as follows: Load your communication program and enter the following command:

10

Image 11
Contents GSM Contents Technical reference section Contents General information Technical dataGSM documentation GSM Module M1 Product description FeaturesInterface Hybrid connector manufacturer-specificGSM Module M1 Description of the interfaces SIM card Cable assignment Installation / startup Mounting the module Power supply / power consumption Switching the GSM module on/offOvervoltage / undervoltage Installation / startupSetting / testing the COM interface Power consumptionATB7 Setting the GSM radio transfer rateATB13 AT+CPIN=1234 Setting up and clearing down connectionsAT+CPIN? +CPIN SIM PINATH TroubleshootingAT&F System errors Connection cannot be set upOwn errors Cannot receive fax Incorrect characters on screenGSM module does not dial Overview of AT commands General AT commands SMS AT commands GSM Overview of AT commandsGSM AT commands GSM Technical reference section AT standard AT command line prefixConnecting to your GSM module Command syntax of the AT standardAT&F0 Technical reference sectionATH ATS7?Q0E1 ATD0123456789No Carrier ErrorConnect RingOperating modes Command modeTransparent mode Escape commandATH Go on-hook ATOn Return to transparent modeSetting the transfer rate ATB99 ATBn Select GSM module’s operating modeATB Dial ATD+4989telephone number ATD Dial a telephone numberATD Valid dial stringsAT&Z0=123456789 AT%Dn Automatic dialing with DTRATD123456789 AtdlATA Answer a call Displaying and storing a configurationATS0=n Auto-answer mode Z1= Z2= Z3= AT&V Active ProfileStored Profile Telephone Numbers &Z0=ATQn Activate and deactivate result codes ATEn Command echoScreen outputs Limits of screen outputs Control line options AT&Cn Data Carrier Detect DCD options ATXn Extended connect messageData flow control Memory commandsAT&Dn Data Terminal Ready DTR options ATDS=n Dial stored telephone number AT&Wn Store configurationAT&Zn=x Store telephone number AT&Z0 =AT+CXXSN = ? AT+C commands for GSMAT&Yn Configuration at power-up ATZn Load user profile+CGMM M1 AT+CGMI+CGMI Siemens AT+CGMMAT+CHUP Hangup call AT+CEER Extended error reportAT+CGSN Request product serial number ID GSM module AT+CMEE Report mobile equipment errorEnter AT+CEERAT+CREG? +CME ErrorAT+CREG? AT+CREG Network registrationAT+COPS=? EnterAT+CREG? GSM module +CREG 0,0 = not registeredAT+COPS Operator selection AT+COPS?AT+COPS=? AT+COPS?+COPS 0, 0, Operator Name AT+COPS=? Display list of available network operatorsPrivat TelekomAT+CPIN Enter PIN and query blocks AT+CPIN2 Enter PIN2 and query PIN2 blocks +CME Error Wrong Password+CPWD SC,8,PS,8, P2,8 AT+CPWD Change passwordAT+CPIN2=1234 AT+CPWD=?Receive AT+CSQ Signal qualityErrors AT+CSQ+CKPD 0123456789*#CDEISUXYZ AT+CKPD Keypad controlAT+CKPD=? AT+CKPD=?AT+CXXSN=? AT+CXXSN Single-numbering parameterizationAT+CXXSN=2 AT+CXXSN=?+CXXSN 0,1,2 AT+CXXMOC=1 AT+CXXMOC=?+CXXMOC 0,1 +CPBS MD , SM , OW , FD AT+CPBS Select phonebook memory storageAT+CPBS=? +CPBR index, number length, text AT+CPBR Read phonebook entriesAT+CPBR=? AT+CPBR=?AT+CPBW Write phonebook entry AT+CBST=? AT+CBST Select bearer service typeAT+CBST? AT+CRC? AT+CRC Cellular result codeAT+CRC? AT+CRC=?AT+CLIP? AT+CLIP Calling line identification presentationAT+CLIP? AT+CLIP=?+CPAS 0 1 2 3 4 AT+CPAS Phone activity statusAT+CPAS=? AT+CPAS=?AT+FCLASS=? AT+FCLASS Select modeAT+FCLASS? AT+FCLASS=?AT+CXXCID=? AT+C commands for the short message service SMSAT+CXXCID Card identification AT+CPMS Preferred message storage AT+CSMS Select message serviceParameter command syntax Values implementedAT+CMGF Message format AT+CSCA Service center addressAT+CMGR Read message Action command syntaxIf PDU mode +CMGF=0 and command successful If PDU mode +CMGF=0 If send is successfulAT+CNMI New message indications AT+CMGW Write message to memoryAT+CMGD Delete message Value definitions AT+CMS Error message service failure result codesAT+CMGL List messages +CMGL=?AT+FCR= AT+FAAAT+FBUF?AT+FBOR S-registersAT+FDT= ATS0=3 ATSn? Read an S-registerEnterATS0?S7? ATSn=x Write to an S-registerBinary and decimal values in S-registers Decimal input and binary storage Bit position registersYou wish to enter the following parameter values OFF Overview of the S-registers Please noteDTR on OFF Technical reference section AT&T0 AT&T1ABC ATIn Display GSM module I-data Interface Technical data GeneralTechnical data Hybrid connector manufacturer-specific Data Technical data GSM modesFax FAX G3European Telecommunications Standards Institute GSM documentation GSM reference documentsEtsi contact General information CE-Sign ServiceGeneral information