Home
Moxa Technologies moxa G2150I User's Manual
Contents
1. CLIP lt number gt lt type gt As verbose Incoming Call Presentation lt alpha gt CMT lt oa gt text As verbose Incoming message directly mode displayed or CMT lt alpha gt PDU CMTI lt mem gt lt index gt As verbose Incoming message stored in lt mem gt SM at location lt index gt CREG lt stat gt lt lac gt lt ci gt As verbose Network registration indication CRING lt type gt As verbose Incoming call type VOICE FAX CSQ lt RxLev gt 99 As verbose Automatic RxLev indication with AT CCED 1 8 command CSSU lt code2 gt lt number gt lt type gt As verbose Supplementary service notification during a call STIN lt ind gt As verbose SIM ToolKit Indication specific WIND lt IndicationNb gt lt CallId gt As verbose Specific unsolicited indication SIM specific Insert Remove End of init Reset Alerting Call creation release WVMI lt Lineld gt lt Status gt As verbose Voice Mail Indicator notification specific cf CPHS command WDCI lt Lineld gt lt Status gt As Verbose Diverted call indicator specific RING 2 Incoming call signal from network CIEV As Verbose Indicator event reporting specific Final Result Codes Verbose Result Code Numeric VO Description set CME ERROR lt err gt As verbose Error from GSM 07 05 commands CMS ERROR lt err gt As verbose Error from SMS commands 07 07
2. 03 02 13 18 56 55 00 lt CR gt lt LF gt It is me again OK Note The state has been updated AT WUSS WUSS 0 OK Defined values lt mode gt 1 The SMS Status will not change 0 The SMS Status will change Copy Messages WMCP Description This command copies the SMS from the SIM to the Flash or from the Flash to the SIM Command syntax AT WMCP lt mode gt lt loc gt Command Possible responses AT WMCP WMCP 0 1 12 WMCP 1 1 99 OK Note The location of the SMS that can be copied from the SIM to the flash is 1 to 12 maximum available in the SIM The location of the SMS that can be copied from the flash to the SIM is 1 to 99 the maximum available in the flash AT CPMS CPMS SM 3 10 ME 0 99 SM 3 10 OK Note Read the SMS storage Note Read write SMS from to SIM 3 SMS are stored in SIM 10 is the total memory available in SIM No SMS in Flash OnCell G21501 AT Command Set Short Message Commands AT CMGR 1 Note Read the first SMS from the SIM CMGR REC UNREAD 0146290800 98 10 01 18 22 11 00 lt CR gt lt LF gt My test message SMS in the SIM at location 1 OK AT WMCP 0 1 Note Copy the SMS at location I in the SIM to the Flash OK AT CPMS Note Read the SMS storage AT CPMS ME ME ME CPMS SM 3 10 ME 1 99 SM 3 10
3. Command Possible responses AT D1 Note Activates DTR voice number dialing OK Note Command has been executed DTR is OFF DTR switches ON Note The number in the first location of the ADN is dialed automatically DTR switches OF F Note The product goes on hook OK AT D2 Note Activates DTR short message sending DTR is OFF DTR switches ON Note The first short message is sending OK Note Command has been executed CMSS x AT D1 OK DTR is OFF DTR switches ON Note no phone number first location in the ADN phonebook or FDN phonebook if it s activated using CLCK in the CME ERROR 21 DTR switches ON Note no short message in the first location of the SIM commana Command Possible responses AT D2 OK DTR is OFF CMS ERROR 321 Defined values lt n gt 0 2 To enable or disable automatic message transmission or number dialing Informs the product that the number is a voice number rather than a fax or data number AT DO AT D1 Disables automatic DTR number dialing message transmission Enables automatic DTR dialing if DTR switches from OFF to ON Dials the phone number in the first location of the ADN phonebook or FDN phonebook if it is 4 6 OnCell G21501 AT Command Set Call Control Commands activated using CLCK command Voice call with semi colon AT D1 Activates automatic DTR dialing if D
4. This cause indicates that the network is not functioning correctly and that the condition is likely to last a relatively long period of time e g immediately reattempting the short message transfer is not likely to be successful Cause No 41 Temporary failure This cause indicates that the network is not functioning correctly and that the condition is not likely to last a long period of time e g the Mobile Station may wish to try another short message transfer attempt almost immediately Cause No 42 Congestion This cause indicates that the short message service cannot be serviced because of high traffic Cause No 47 Resources unavailable unspecified This cause is used to report a resource unavailable event only when no other cause applies Cause No 69 Requested facility not implemented This cause indicates that the network is unable to provide the requested short message service Cause No 81 Invalid short message transfer reference value This cause indicates that the equipment sending this cause has received a message with a short message reference which is not currently in use on the MS network interface Cause No 95 Invalid message unspecified This cause is used to report an invalid message event only when no other cause in the invalid message class applies Cause No 96 Invalid mandatory information This cause indicates that the equipment sending this cause ha
5. AT CPLS Note Get possible values CPLS 0 1 2 OK Note The 3 files with Acces technology are present and can be selected AT CPLS Note Get possible values CPLS 0 OK Note Only EF_PLMNwAct or EF_PLMNsel can be selected Defined values lt List gt 0 User controlled PLMN selector with access technology EF_PLMNwAct Note if this file is not found EF_PLMNSel will be selected 1 Operator controlled PLMN selector with access technology EF_OPLMNwAct 2 Home PLMN selector with access technology EF_HPLMNwAct Preferred Operator List CPOL Description This command is used to edit or update the SIM preferred list of networks This list is read in the SIM file selected by the command AT CPLS Command syntax AT CPOL lt index gt lt format gt lt oper gt lt GSM_AcT gt lt GSMcomp_Act gt lt Utran_Act gt The different possibilities are e AT CPOL lt index gt to delete an entry e AT CPOL lt format gt to set the format used by the read command AT CPOL e AT CPOL lt format gt lt oper gt to put lt oper gt in the next free location e AT CPOL lt index gt lt format gt lt oper gt to write lt oper gt in the lt format gt at the lt index gt es AT CPOL lt index gt lt format gt lt oper gt lt GSM_AcT gt lt GSMcp_Act gt lt Utran_Act gt to write lt oper gt in the lt format gt at the lt index gt giving the access technology
6. Cause No 10 Call barred This cause indicates that the outgoing call barred service applies to the short message service for the called destination A 6 OnCell G2150 1 AT Command Set Result Codes Failure Causes and Other Tables Cause No 21 Short message transfer rejected This cause indicates that the equipment sending this cause does not wish to accept this short message although it could have accepted the short message since the equipment sending this cause is neither busy nor incompatible Cause No 27 Destination out of service This cause indicates that the destination indicated by the Mobile Station cannot be reached because the interface to the destination is not functioning correctly The term not functioning correctly indicates that a signaling message was unable to be delivered to the remote user e g a physical layer or data link layer failure at the remote user user equipment off line etc Cause No 28 Unidentified subscriber This cause indicates that the subscriber is not registered in the PLMN e g IMSI not known Cause No 29 Facility rejected This cause indicates that the facility requested by the Mobile Station is not supported by the PLMN Cause No 30 Unknown subscriber This cause indicates that the subscriber is not registered in the HLR e g IMSI or directory number is not allocated to a subscriber Cause No 38 Network out of order
7. OOOOOCUCUCD OnCell G21501 AT Command Set Result Codes Failure Causes and Other Tables ME Error Result Code CME ERROR lt error gt lt error gt Meaning Resulting from the following commands 3 Operation not allowed All GSM 07 07 commands CME ERROR 3 4 Operation not supported All GSM 07 07 commands CME ERROR 4 5 PH SIM PIN required SIM All GSM 07 07 commands CME ERROR 5 lock 10 SIM not inserted All GSM 07 07 commands CME ERROR 10 11 SIM PIN required All GSM 07 07 commands CME ERROR 11 12 SIM PUK required All GSM 07 07 commands CME ERROR 12 13 SIM failure All GSM 07 07 commands CME ERROR 13 16 Incorrect password CACM CAMM CPUC CLCK CPWD CPIN CPIN2 CME ERROR 16 17 SIM PIN2 required CPBW FDN CLCK FDN 18 SIM PUK2 required CACM CAMM CPUC CPBW FDN CPIN CPIN2 CLCK FDN CPWD 20 Memory full CPBW 21 Invalid index CPBR CPBW ATD gt mem index WMGO 22 Not found CPBF CPBP CPBN CGSN WOPN ATD gt mem name 24 Text string too long CPBW CPIN CPIN2 CLCK CPWD 26 Dial string too long CPBW ATD CCFC 27 Invalid characters in dial string CPBW 30 No network service VTS COPS CLCK CCFC CCWA CUSD 32 Network not allowed COPS emergency calls only 40 Network personal PIN required All GSM 07 07 commands CME ERROR 40 Networ
8. IP abc com AT CGDCONT CGDCONT 1 4 IP 0 1 0 1 CGDCONT 1 4 PPP 0 0 OK AT CGDCONT CGDCONT 1 IP internet 0 0 CGDCONT 2 IP abc com 0 0 OK Defined values lt cid gt PDP Context Identifier a numeric parameter that specifies a particular PDP context definition The parameter is local to the TE MT interface and is used in other PDP context related commands Range of values is to 4 lt PDP_type gt Packet Data Protocol type a string parameter which specifies the type of packet data protocol e IP Internet Protocol e PPP Point to Point Protocol lt APN gt Access Point Name a string parameter which is a logical name that is used to select the GGSN or the external packet data network 10 2 OnCell G21501 AT Command Set GPRS Commands lt PDP_address gt a string parameter that identifies the MT in the address space applicable to the PDP If the value is null or omitted then a value may be provided by the TE during the PDP startup procedure or a dynamic address will be requested The read form of the command will return the null string even if an address has been allocated during the PDP startup procedure The allocated address may be read using the CGPADDR command lt d_comp gt a numeric parameter that controls PDP data compression e 0 OFF default if value is omitted e 1 ON Other values are reserved lt h_comp
9. AO BAOC Barr All Outgoing Calls e OP BOIC Barr Outgoing International Calls e OX BOIC exHC Barr Outgoing International Calls except to Home Country e AT BAIC Barr All Incoming Calls e TR BIC Roam Barr Inc When Roaming outside Home Country e AB All Barring services e AG All outGoing barring services 6 5 OnCell G21501 AT Command Set Security Commands e AC All inComing barring services e PN Network lock with an 8 digit password NCK e PU Network Subset lock with an 8 digit password NSCK e PP Service Provider lock with an 8 digit password SPCK e PC Corporate lock with an 8 digit password CCK e FD SIM Fixed Dialing Numbers FDN memory feature PIN2 is required as lt password gt lt mode gt 0 unlock the facility 1 lock the facility 2 query status lt class gt 1 Voice telephony 2 Data apply to all bearer services 4 Fax facsimile services 8 Short Message service 7 Voice Data and Fax Default value Any attempt to combine different classes will result in activation deactivation interrogation of Voice Data and Fax If lt class gt is omitted the default value of 7 will be used Password maximum length is given with the AT tCPWD Command Note It is not possible to lock the FDN phonebook if this one is not loaded 6 6 OnCell G21501 AT Command Set Security Commands Change Passwor
10. CGEV NW DETACH The network has forced a GPRS detach This implies that all active contexts have been deactivated These are not reported separately CGEV ME DETACH The mobile equipment has forced a GPRS detach This implies that all active contexts have been deactivated These are not reported separately CGEV NW CLASS lt class gt The network has forced a change of MS class The highest available class is reported CGEV ME CLASS lt class gt The mobile equipment has forced a change of MS class The highest available class is reported GPRS Network Registration Status CGREG Description The set command controls the presentation of an unsolicited result code CGREG lt stat gt when lt n gt 1 and there is a change in the MT s GPRS network registration status or code CGREG lt stat gt lt lac gt lt ci gt when lt n gt 2 and there is a change of the network cell The read command returns the status of result code presentation and an integer lt stat gt that shows whether the network has currently indicated the registration of the MT Location information elements lt lac gt and lt ci gt are returned only when lt n gt 2 and MT is registered in the network Command syntax Command Possible responses AT CGREG lt n gt OK CGREG stat gt lt lac gt lt ci gt AT CGREG CGREG lt n gt lt stat gt lt lac gt lt ci gt OK CME ERROR lt err gt AT CGREG CGREG list of supported lt n
11. Defined values No parameters 10 18 OnCell G21501 AT Command Set GPRS Commands Description GPRS Parameter Customization WGPRS This command modifies some G2150I GPRS parameters the ATTACH STATUS the ME does or not perform automatically a GPRS attachment after initialization the PDP INIT STATUS activates automatically or not some defined PDP contexts after initialization and the user defined multislot class This parameter represents the GPRS class chosen by the user to perform power saving by reducing TX or uplink time slots In addition this command allows set automatically ACTIVABLE some defined PDP contexts after initialization set some parameters for PALM OS software PPP Silent Mode PPP waits for PPP Client to start the dialog and Slow CONNECT due to the delay of the processing of PALM OK the CONNECT is sent one second after the dialing command request IMPORTANT NOTE The G2150I must be rebooted to activate the new setup except for lt mode gt 3 5 6 and 7 please refer to Defined Values paragraph Command syntax AT WGPRS lt mode gt lt parameter gt lt cid gt lt class gt Command Possible responses AT WGPRS AT WGPRS WGPRS lt mode gt lt parameter1 gt lt cid gt lt CR gt lt LF gt WGPRS lt mode gt lt parameter gt lt cid gt OK WGPRS lt mode gt list of supported lt parameter gt list of
12. OK Note Read write SMS from to SIM 3 SMS are stored in SIM 10 is the total memory available in SIM 1 SMS in Flash CPMS 1 99 1 99 1 99 Note Read the first SMS from the Flash OK Note Select ME for reading ME for writing and ME for storing AT CMGR 1 CMGR REC READ 0146290800 98 10 01 18 22 11 00 lt CR gt lt LF gt My test message SMS in the SIM at location 1 OK AT CMGW 33146290800 lt CR gt Other test message SMS in the Flash at location 2 lt ctrl Z gt Note Write a message in text mode CMGW 2 OK Note Message stored in index 2 in the flash AT CPMS Note Read the SMS storage AT WMCP 1 2 Note Copy the SMS at location 2 in the flash to the SIM CPMS ME 2 99 ME 2 99 ME 2 99 OK Note Read write SMS from to the flash 2 SMS are stored in the flash OK AT CPMS SM ME SM CPMS 4 10 2 99 4 10 Note Read the first SMS from the SIM Note Select SM for reading ME for OK writing and SM for storing AT CMGR 4 CMGR REC UNREAD 33146290800 98 10 01 18 22 11 00 lt CR gt lt LF gt Other test message SMS in the Flash at location 2 OK Note Read the SMS storage AT CPMS ME CPMS 2 99 2 99 4 10 OK Note Select ME for reading AT CMGD 0 4 OK Note Erase all the SMS stored in the Flash AT CPMS CPMS ME 0 99 ME 0 99 SM 4 10 OK Note No SMS is store
13. Redial Last Telephone Number ATDL Automatic Dialing with DTR AT Dn Automatic Answer ATSO Incoming Call Bearer CICB Single Numbering Scheme CSNS Gain Control VGR VGT OOOOOODUOOOOD OnCell G21501 AT Command Set Call Control Commands Dial Command D Description The ATD command is used to set a voice data or fax call As per GSM 02 30 the dial command also controls supplementary services For a data or a fax call the application sends the following ASCII string to the product the bearer must be previously selected with the CBST command ATD lt nb gt Note If a GPRS PPP session is already running the setting of a CSD GSM data call is not supported For a voice call the application sends the following ASCII string to the product the bearer may be selected previously if not a default bearer is used ATD lt nb gt where lt nb gt is the destination phone number Emergency calls The following Emergency Numbers are available without a SIM card 000 08 110 112 118 119 911 and 999 The following Emergency Numbers are available with a SIM card when EF_ECC file is missing from SIM 112 and 911 when SIM includes an EF_ECC file 112 911 and any Emergency Numbers available in the EF_ECC file Please note that for an international number the local international prefix does not need to be set usually 00 but does need to be replaced by the character Example to set up a voice call to MOXA offices from
14. TELECOM BYTEL 20820 3 Orange P Orange 20801 OK Note Home PLMN is SFR BYTEL and Orange networks have been detected AT COPS 1 2 20810 Note Ask for registration on SFR network CME ERROR 32 Note Network not allowed emergency calls only AT COPS 1 2 23433 Note Ask for registration on UK Orange network CME ERROR 529 Note Selection failed emergency calls only AT COPS 0 Note Ask for registration in automatic mode OK Note Succeeded AT COPS 3 0 Note Set lt format gt to long alphanumeric OK AT COPS Note Ask for current PLMN COPS OO Orange F OK Note Home PLMN is France Telecom Orange 5 3 OnCell G21501 AT Command Set Network Service Commands AT COPS 2 OK Note Ask for deregistration from network Note Succeeded AT COPS COPS 2 Note Ask for current PLMN Note ME is unregistered until lt mode gt 0 or 1 is selected Defined values lt mode gt 0 automatic default value manual deregistration ME will be unregistered until lt mode gt 0 or 1 is selected 1 2 3 set only lt format gt for read command AT COPS 4 manual automatic lt oper gt shall be present if manual selection fails automatic mode is entered lt format gt format of lt oper gt field 0 long alphanumeric format lt oper gt 1 short alphanumeric format lt oper gt 2 nume
15. for SMS CMGS CMSS CMS ERROR 531 532 the embedded application is activated so the objects flash are not erased WOPEN 533 Missing or Unknown APN ATD 99 GACT CGDATA Failure Cause from GSM 04 08 Recommendation CEER Cause Value Diagnostic 1 Unassigned unallocated number 3 No route to destination 6 Channel unacceptable 8 Operator determined barring 16 Normal call clearing 17 User busy 18 No user responding 19 User alerting no answer 21 Call rejected 22 Number changed 26 Non selected user clearing 27 Destination out of order 28 Invalid number format incomplete number A 4 OnCell G21501 AT Command Set Result Codes Failure Causes and Other Tables 29 Facility rejected 30 Response to STATUS ENQUIRY 31 Normal unspecified 34 No circuit channel available 38 Network out of order 41 Temporary failure 42 Switching equipment congestion 43 Access information discarded 44 Requested circuit channel not available 47 Resources unavailable unspecified 49 Quality of service unavailable 50 Requested facility not subscribed 55 Incoming calls barred with in the CUG 57 Bearer capability not authorized 58 Bearer capability not presently available 63 Service or option not availab
16. supported lt cid gt lt CR gt lt LF gt WGPR S lt mode gt list of supported lt parameter gt list of supported lt cid gt OK AT WGPRS 2 1 3 Note set ACTIVABLE to ON on PDP context 3 OK AT WGPRS 7 1 Note set automatic re attachment to the network and reactivation of PDP context in case of change of operator for MCC MNC OK AT WGPRS 4 8 Note choose GPRS multislot class 8 OK AT WGPRS Note Request ranges of values WGPRS 0 7 0 1 0 4 2 8 10 12 OK 10 19 OnCell G21501 AT Command Set GPRS Commands Command Possible responses AT WGPRS Note Automatic re attachment at init not activated WGPRS 0 0 Automatic reactivation of PDP WGPRS 1 0 context at init not activated WGPRS 2 1 1 3 PDP contexts and automatic WGPRS 2 0 2 reactivation WGPRS 2 0 3 only for Cid 1 WGPRS 2 0 4 PPP silent mode activated WGPRS 3 1 GPRS class is 8 WGPRS 4 8 GPRS slow connect activated WGPRS 5 1 PPP filtering activated WGPRS 6 1 Automatic re attachment and PDP WGPRS 7 1 reactivation at operator border areas OK Defined values lt mode gt a numeric parameter that specifies a G2150I GPRS parameter 0 ATTACH STATUS the ME don t make automatically a GPRS attachment after init 1 PDP INIT STATUS declare some PDP contexts liable to be activated automatically after initialization by lt mode gt 2 2
17. NITZ PLMN names stored in Flash memory with AT WOPN 3 0 When the G2150I receives an NITZ Network Information and Time Zone message with Long Name or Short Name information an entry with registered PLMN and names in message is created in flash memory These names will then be used with COPS COPN WOPN CPOL commands with the priority order defined in 3GPP TS 22 101 The G2150I supports only network names with GSM default alphabet coding scheme The user can choose which of the following methods will be used for getting PLMN names with command AT WOPN 4 lt PlmnOns gt The priority order is 1 E ONS First entry if on Home PLMN or matching entry if existing in OPL PNN SIM files 2 CPHS if on Home PLMN use SIM file CPHS ONS 0x6F14 for Long Name if present and SIM file CPHS SONS 0x6F18 for short name if present if not reuse SIM file CPHS ONS 3 SPN If on Home PLMN use SIM file SPN 0x6F46 if present 4 NITZ if there is a matching entry in the list of names received so far use it Note that in France for example all the operators use NITZ message for Date and Time feature but not for PLMN names so the list is always empty In France an NITZ message is sent on a GPRS attachment FLASH If there is a matching entry in the flash PLMN list created by WOLM use it 5 ROM PLMN names in ROM defined according to MoU SE 13 and NAPRD Operator Names documents Once a long name is found following this priority order it
18. Note Default receive gain AT VGR VGR 0 255 Note Test command OK Note Possible values AT VGT VGT 32 Note Interrogate value OK Note Default transmit gain AT VGT VGT 0 255 Note Test command OK Note Possible values Note For the AT VGT command with controller 1 set the value is the lower value of range where as with controller 2 value correspond to the entered value with AT VGT xx 4 8 OnCell G21501 AT Command Set Call Control Commands Defined values lt Rgain gt reception gain lt Tgain gt transmission gain AT VGR lt val gt for AT VGT lt val gt for AT VGT lt val gt for receive Controller 1 transmit Controller 2 transmit gain gain gain Controller Controller 1 2 0 to 15 6 db 0 to 31 30 db 0 0 db 16 to 31 4 db 32 to 63 33 db 1 0 5 db 32 to 47 2 db 64 to 95 36 db 2 1 db 48 to 63 0 db 96 to 127 39 db 3 1 5 db 64 to 79 2 db 128 to 159 42 db d S 80 to 95 4 db 160 to 191 45 db 19 9 5 db 96 to 111 6 db 192 to 223 48 db 20 10 db 112 to 127 8 db 224 to 255 51 db 21 10 5 db 128 to 143 10 db 22 11 db 144 to 159 12 db 23 11 5 db 160 to 175 14 db sat 176 to 191 16 db 58 29 db 192 to 207 18 db 59 29 5 db 208 to 223 20 db 60 30 db 224 to 255 22 db 61 30 5 db 62 31 db 101 50 5 db 102 51 db 103 to 127 reserved 128 to 242 reserved 243 6 5 db 244
19. Note Read the PLMN at location 11 Note Invalid index AT WOLM 1 1 20812 WM1 WM1 PLMN OK Note Modify an existing PLMN Note Done AT WOLM OK Note Test command AT WOLM WOLM 1 20812 WM1 WM1 PLMN OK Note List of the created PLMN in flash Note Interrogate current list AT WOLM 1 20813 PLMN2 PLMN2 OK LONG or CME ERROR 20 Note Error returns if no more PLMN can be Note Add a new PLMN at available location created AT WOLM 0 1 OK Note Delete an entry at location 1 5 5 OnCell G2150I1 AT Command Set Network Service Commands AT WOLM 0 11 CME ERROR 21 Note Delete an entry at location 11 Note Invalid index Defined values lt mode gt 0 delete 1 write 2 read lt loc gt location If this parameter is not filled with lt mode gt 1 the location will be the first empty one lt NumOper gt Operator in numeric format MCC and MNC lt short name gt The short name of the PLMN lt long name gt The long name of the PLMN Read Operator Name WOPN Description This specific command returns the operator name in alphanumeric format the numeric format being given With E ONS Enhanced Operator Name Service feature lt lac gt is an optional parameter to read names from OPL PNN SIM files If it is not entered name will be given with current lt lac gt Note that in limited service current lt lac gt is set to 0 You can also erase
20. Repeat Last Command Al aeoe aree iE SEA AE EEEN SE e ege eng 3 5 OAD S E n EE E E A EO E E E E eeeedereeg 3 5 Set Phone Functionality CFUN AE 3 5 Phone Activity Statuss CPA S ege eese eae EE aAa e N a A EAE K EOE SENS Paa REPETAS ee 3 6 Report Mobile Equipment Errors ZCMER AAA 3 7 Keypad Controls HOCK PDs cicien ione oesi tysshssrsuscdssssuusnnssousodsesdyecuscspyeonbedeveseseponsosedsteees 3 7 Clock Management SCCTK asked uae KEE EERSTEN AER KEEN 3 7 Alarm Management FCALA 1 5 5sesescdesesessassesusessestssstscepves tea sssnssaesedsdsteschpasposedasvsessaassavscaseeys 3 8 Genee SIM Accesss EES IM e eege Ee ENEE ee Reeg KE 3 8 Restricted SIM Access ZCRSNM e e E EE EAE OPERE E EA 3 10 Mobile Equipment Control Mode CMEC sssssssssseeeseseseseereeressrsesrsrerrsrssssrsrerreretersesrerreree 3 11 Indicator Control ACIND a a e E O E aoe rE E ene eiia 3 11 Multiplexing Mode CMUX AA 3 12 Call Control COMMANAS cccsteesssteeeseeeeeesceesseeeeeseeeesseeeeeseeeeaseneensnnenneeees 4 1 Dial Command ER egieteegk deed EENS EKE ER E EEEE E TE ee 4 2 Hang Up Command Fei seth teen teeters edel Aves RIO eaten nes Seen 4 3 Answera Call Ax enee dee Seege EES gege Suave 4 4 Remote Disconnection EE seceas cates een e ee EE EE aces 4 4 Extended Error Reports CEER crores nonten reias Vee E EE EAEE EE SEEEN EEE 4 4 DIME Signals VTD VIS oine oee orent ae atid denen EEEE EE AE EENES EEE ates 4 5 Redial Last Telephone Number ATDL 4 5 Auto
21. The Multiplexing mode is available to only one UART If this mode is available on UART and the AT WMUX 1 command is sent through UART2 the multiplexing mode will be available on UART2 and disabled on UARTI1 9 10 10 GPRS Commands This chapter includes information about the GPRS Commands of the OnCell G2150I The following topics are covered in this chapter OOOOOODODODODOOOOOOOODOOCOOD Define PDP Context CGDCONT Quality of Service Profile Requested CGQREQ Quality of Service Profile Minimum acceptable CGQMIN GPRS Attach or Detach CGATT PDP Context Activate or Deactivate CGACT Enter Data State CGDATA GPRS Mobile Station Class CGCLASS Select Service for MO SMS Messages CGSMS GPRS Event Reporting CGEREP GPRS Network Registration Status CGREG Request GPRS IP Service D Network Requested PDP Context Activation Automatic Response to a Network Request for PDP Context Activation CGAUTO Manual Response to a Network Request for PDP Context Activation CGANS Show PDP Address CGPADDR Cellular Result Codes CRC Service Reporting Control CR Extended Error Report CEER GPRS Parameter Customization WGPRS Full AT GPRS Command Examples OnCell G21501 AT Command Set GPRS Commands Define PDP Context CGDCONT Description This Command specifies PDP context parameter values for a PDP context identified by the local context identification parameter lt cid gt Four PDP cont
22. allows PIN2 or PUK2 codes to be validated but only when the last command executed resulted in PIN2 authentication failure PIN2 length is between 4 and 8 digits PUK2 length is 8 digits only Command syntax AT CPIN2 lt pin2 gt Command Possible responses AT CPIN2 1234 OK Note Enter PIN2 Note PIN2 code is correct 6 3 OnCell G2150I1 AT Command Set Security Commands AT CPIN2 5678 Note Enter PIN2 CME ERROR 3 Note Operation not allowed PIN2 previously entered 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 PUK1 validation succeeds The application therefore uses this command AT CPIN2 lt puk2 gt lt NewPin2 gt 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 PUK2 and new PIN2 and attempt OK Note PUK2 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 lt err gt No PIN2 is needed PIN2 is required PURK2 is required Absent 10 etc Defined values lt pin2 gt Personal Identification Number 2 lt puk2 gt Person
23. in the case of EF_PLMNwact EF_HPLMNwact or EF_OPLMNwact is present Note per default if Acces technology parameters are not given the GSM access technology will be chosen The supported format are those of the COPS command The length of this list is limited to 85 entries for EF_PLMNsel and 51 for EF_PLMNwAct EF_OPLMNwaAct EF_HPLMNwAct Command Possible responses AT CPOL Note Ask for preferred list of networks with only EF_PLMNsel present CPOL 1 2 26201 CPOL 6 2 208 10 OK Note Preferred list of networks in numeric format read in EF_PLMNsel AT CPOL Note Ask for preferred list of networks with EF_PLMNwAct selected and present CPOL 1 2 26201 1 0 0 CPOL 6 2 20810 1 0 0 OK Note Preferred list of networks in numeric format read in EF_PLMNwAct GSM access technology selected GSM compact access technology not selected Utran access technology not selected 5 9 OnCell G21501 AT Command Set Network Service Commands AT CPOL 0 Note Select long alphanumeric format OK AT CPOL Note Ask for preferred list of networks with only EF_PLMNsel present CPOL 1 0 D1 TELEKOM CPOL 6 0 F SFR OK Note Preferred list of networks in long alphanumeric format AT CPOL 7 2 20801 Note Add a network to the list OK AT CPOL Note Ask for preferred list of networks with only EF_PLMNsel present CPOL 1 0 D1 TELEKOM CPOL 6
24. 0 F SFR CPOL 7 0 Orange F OK Note Preferred list of networks in long alphanumeric format AT CPOL 7 Note Delete 7th location OK Command Possible responses AT CPOL Note Ask for preferred list of networks with only EF_PLMNsel present CPOL 1 0 D1 TELEKOM CPOL 6 0 F SFR OK Note Preferred list of networks in long alphanumeric format Note Add a new network to the list with EF_PLMNwact present AT CPOL 8 2 77777 OK Note Add a new network to the list ith only EF_PLMNsel present AT CPOL 8 2 77777 0 0 1 OK Note Acces technology UTRAN is selected AT CPOL 8 2 77777 Note Add a new network to the list with EF_PLMWNwact present OK Note Per default Acces technology GSM is selected AT CPOL Note Ask for preferred list of networks with only EF_PLMNsel present CPOL 1 0 D1 TELEKOM CPOL 6 0 F SFR CPOL 8 2 77777 OK Note Preferred list of networks in long alphanumeric format but 8th entry is unknown so the product edits it in the numeric format AT CPOL 9 0 Orange F Note Add a new network to the list text format AT CPOL Note Ask for preferred list of networks with only EF_PLMNsel present CPOL 1 0 D1 TELEKOM CPOL 6 0 F SFR CPOL 8 2 77777 CPOL 9 0 Orange F OK Note Preferred list of networks in long alphanumeric format Defined values lt index gt
25. 1 unavailable does not allow commands 2 unknown 3 ringing ringer is active 4 call in progress 5 asleep low functionality 3 6 OnCell G21501 AT Command Set General Commands Report Mobile Equipment Errors CMEE Description This command disables or enables the use of the CME ERROR lt xxx gt or CMS ERROR lt xxx gt result code instead of simply ERROR Command syntax Command syntax AT CMEE lt error reporting flag gt Command Possible responses AT CMEE CMEE 0 1 OK AT CMEE 0 OK Note Disable ME error reports use only ERROR AT CMEE 1 OK Note Enable CME ERROR lt xxx gt or CMS ERROR lt xxx gt AT CMEE CMEE 1 OK Defined values lt error reporting flag gt 0 Disable ME error reports use only ERROR 1 Enable CME ERROR lt xxx gt or CMS ERROR lt xxx gt Keypad Control CKPD Description This command emulates the ME keypad by sending each keystroke as a character in a lt keys gt string The supported GSM sequences are listed in the appendix If emulation fails a CME ERROR lt err gt is returned If emulation succeeds the result depends on the GSM sequence activated Note In the case where the FDN phonebook is activated the sequences concerning call forwarding are allowed only if the entire sequence is written in the FDN Command syntax AT CKPD lt keys gt Command Possible responses
26. 5678 AT CPIN Read PIN state CPIN READY The product is ready If the user tries to do something that requires PIN2 CHV2 the product will refuse the action with a CME ERROR 17 SIM PIN2 required The product then waits for SIM PIN2 to be given Of course if SIM PIN2 is blocked SIM PUK2 is required instead of SIM PIN2 For example the product needs PIN2 to write in the fixed dialing phonebook FDN so if SIM PIN2 authentication has not been performed during the current session SIM PIN2 is required Command Possible responses AT CPBS FD OK Note Choose FDN AT CPBW 5 01290917 129 Jacky CME ERROR 17 Note Write in FDN at location 5 Note SIM PIN2 is required AT CPIN CPIN SIM PIN2 Note SIM PIN2 is required AT CPIN 5678 OK Note Enter SIM PIN2 AT CPBW 2 01290917 129 Jacky OK Note Write in FDN at location 5 Note Now writing in FDN is allowed Please note that the product only requests PIN2 or PUK2 once Therefore if they are not entered properly the next CPIN command will return CPIN READY Defined values lt pin gt Personal Identification Number 4 digit number lt puk gt Personal Unblocking Key needed to change the PIN 8 digit number Enter PIN2 CPIN2 Description This specific command is used to validate the PIN2 code CHV2 or to validate the PUK2 code UNBLOCK CHV2 and to define a new PIN Code Of course the CPIN command
27. 6 db 245 5 5 db 246 5 db 255 0 5 db 5 Network Service Commands This chapter includes information about the Network Service Commands of the OnCell G2150I The following topics are covered in this chapter Signal Quality CSQ Operator Selection COPS Network Registration CREG Operator List Management WOLM Read Operator Name WOPN Selection of Preferred PLMN List CPLS Preferred Operator List CPOL Read Operator Name COPN OOOUOUOOOD OnCell G21501 AT Command Set Network Service Commands Signal Quality CSQ Description This command is used to ascertain the received signal strength indication lt rssi gt and the channel bit error rate lt ber gt with or without a SIM card inserted Command syntax AT CSQ Command Possible responses AT CSQ CSQ lt rssi gt lt ber gt OK Note lt rssi gt and lt ber gt as defined below Defined values lt rssi gt 0 13 dBm or less 1 11 dBm 2 to 30 109 to 53 dBm 31 51dBm or greater 99 not known or not detectable lt ber gt 0 7 as RXQUAL values in the table GSM 05 08 99 not known or not detectable Operator Selection COPS Description There are three possible ways of selecting an operator PLMN e The product is in manual mode It then tries to find the operator specified by the application and if found tries to register e The product is in automatic mode It then t
28. 7 7 Short Message Commands This chapter includes information about the Short Message Commands of the OnCell G2150I The following topics are covered in this chapter Parameter Definitions Select Message Service CSMS New Message Acknowledgement CNMA Preferred Message Storage CPMS Preferred Message Format CMGF Save Settings CSAS Restore Settings CRES Show Text Mode Parameters CSDH New Message Indication CNMI Read Message CMGR List Message CMGL Send Message CMGS Write Message to Memory CMGW Send Message From Storage CMSS Set Text Mode Parameters CSMP Delete Message CMGD Service Center Address CSCA Select Cell Broadcast Message Types CSCB Cell Broadcast Message Identifiers WCBM Message Status Modification WMSC Message Overwriting WMGO Un change SMS Status WUSS Copy Messages WMCP More Messages to Send CMMS OOOOOUOUDODOOOOOCOOOOOOOKCOOD OnCell G21501 AT Command Set Short Message Commands Parameter Definitions lt da gt lt dcs gt lt dt gt lt fo gt lt index gt lt length gt lt mem1 gt lt mem2 gt lt mem3 gt lt mid gt lt mr gt lt oa gt lt pid gt lt pdu gt lt ra gt lt sca gt lt scts gt lt sn gt lt st gt lt stat gt lt tooa gt lt tora gt lt tosca gt lt totall gt lt total2 gt lt total3 gt lt used1 gt lt used2 gt lt used3 gt lt vp gt Destination Address coded like GSM
29. 999 CMS ERROR 321 Note if the storage area is changed with the AT CPMS command the value of WMGO will be reset to 0 Defined values lt loc gt location number of the SMS to write or overwrite Number depends on the SIM or Flash memory capacity Un change SMS Status WUSS The WUSS command allows keeping the SMS Status to UNREAD after CMGR Description or CMGL Command syntax AT WUSS lt mode gt Command Possible responses AT WUSS OK WUSS 0 1 AT WUSS 1 OK CMTI SM 10 Note SMS has been received in index 10 AT CMGR 10 OK CMGR REC UNREAD 33660669023 03 02 13 18 36 35 00 lt CR gt lt LF gt Do you want to change state OnCell G2150I1 AT Command Set Short Message Commands AT CMGR 10 CMGR REC UNREAD 33660669023 03 02 13 18 36 35 00 lt CR gt lt LF gt Do you want to change state OK Note The state hasn t be updated AT WUSS 0 OK CMTI SM 11 Note SMS has been received in index 11 AT CMGR 11 CMGR REC UNREAD 33660669023 03 02 13 18 56 55 00 lt CR gt lt LF gt It is me again OK AT CMGR 11 CMGR REC UNREAD 33660669023 03 02 13 18 56 55 00 lt CR gt lt LF gt It is me again OK Note The state has been updated AT WUSS WUSS 0 OK AT CMGR 10 CMGR REC READ 33660669023
30. A whose ASCII code is 0x41 or 65 In Text mode all commands and responses are in ASCII characters The selected format is stored in EEPROM by the CSAS command Command syntax AT CMGF lt mode gt Command Possible responses AT CMGF CMGF 1 OK Note Current message format Note Text mode AT CMGF CMGF 0 1 OK Note Text or PDU modes are available Note Possible message format Example sending an SMS Message in PDU mode Command Possible responses AT CMGF 0 OK Note Set PDU mode Note PDU mode valid AT CMGS 14 lt CR gt CMGS 4 000103069 1214365000004C9E9340B OK Note Send complete MSG in PDU mode no Note MSG correctly sent lt mr gt is returned SC address 7 6 OnCell G21501 AT Command Set Short Message Commands Defined values lt mode gt PDU or text mode 0 PDU mode Text mode The lt pdu gt message is composed of the SC address 00 means no SC address given use default SC address read with CSCA command and the TPDU message In this example the length in bytes of the TPDU buffer is 14 coded as GSM 03 40 In this case the TPDU is 0x01 0x03 0x06 0x91 0x21 0x43 0x65 0x00 0x00 0x04 0xC9 OxE9 0x34 OxOB which means regarding GSM 03 40 lt fo gt 0x01 SMS SUBMIT no validity period lt mr gt TP MR 0x03 Message Reference lt da gt TP DA 0x06 0x91 0x21 0x43 0x65 destination address 123456 lt pid gt TP PID 0x00 Protocol Identi
31. AT CKPD 2 1 CCFC 0 7 Note Check every call forwarding status AT CKPD 1234 CME ERROR 3 Note Sequence not allowed Defined values lt keys gt Keyboard sequence string of the following characters 0 9 Clock Management CCLK Description This command is used to set or get the current date and time of the ME real time clock Command syntax AT CCLK lt date and time string gt Command Possible responses AT CCLK 00 06 09 17 33 00 OK Note set date to June 9 2000 and time to Note Date Time stored 5 33 pm AT CCLK 00 13 13 12 00 00 CME ERROR 3 Note Incorrect month entered 3 7 OnCell G2150I1 AT Command Set General Commands AT CCLK CCLK 00 06 09 17 34 23 Note Get current date and time OK Note current date is June oh 2000 current time is 5 34 23 pm Defined values lt date and time string gt String format for date time is yy MM dd hh mm ss Valid years are 00 for 2000 to 99 for 2099 The seconds field is not mandatory Default date time is 00 01 01 00 00 00 January 1st 2000 midnight Alarm Management CALA Description This command is used to set alarms date time in the ME The maximum number of alarms is 16 Note The date time should be already set with AT CCLK command before using AT CALA Command syntax AT CALA lt date and time string gt set alarm AT CALA lt index gt delet
32. BUSY 7 Busy signal detected ERROR 4 Command not accepted NO ANSWER 8 Connection completion timeout NO CARRIER 3 Connection terminated OK 0 Acknowledges correct execution of a command line RING 2 Incoming call signal from network A 9 OnCell G2150 1 AT Command Set Result Codes Failure Causes and Other Tables Intermediate Result Codes Verbose Result Code Numeric VO set Description Verbose Result Code Numeric V0 set Description COLP lt number gt lt type gt as verbose Outgoing Call Presentation CR lt type gt as verbose Outgoing Call report control ILRR lt rate gt as verbose Local TA TE data rate CONNECT 300 10 Data connection at 300 bauds CONNECT 1200 11 Data connection at 1200 bauds CONNECT 1200 75 12 Data connection at 1200 75 bauds CONNECT 2400 13 Data connection at 2400 bauds CONNECT 4800 14 Data connection at 4800 bauds CONNECT 9600 15 Data connection at 9600 bauds CONNECT 14400 16 Data connection at 14400 bauds CSSI lt code1 gt lt index gt As verbose Supplementary service notification during a call setup
33. CMT or CDS indication is shown see CNMI command If no acknowledgement is given within the network timeout an RP ERROR is sent to the network the lt mt gt and lt ds gt parameters of the CNMI command are then reset to zero do not show new message indication Command syntax in text mode Command syntax in PDU mode AT CNMA AT CNMA lt n gt lt length gt lt CR gt PDU is entered lt ctrl Z ESC gt Note PDU is entered using lt ackpdu gt format instead of lt pdu gt format e g SMSC address field is not present Example of acknowledgement of a new message in TEXT mode Command Possible responses AT CSMS 1 OK Note SMS AT commands compatible with GSM 07 05 Phase 2 version AT CMGF 1 OK Note Set TEXT mode Note TEXT mode valid 7 3 OnCell G21501 AT Command Set Short Message Commands AT CNMI 2 2 0 0 0 Note lt mt gt 2 OK CMT 123456 98 10 01 12 30 00 00 129 4 32 240 15379 129 5 lt CR gt lt LF gt Received message Note message received Example of acknowledgement of a new message in PDU mode Command Possible responses AT CSMS 1 OK Note SMS AT commands compatible with GSM 07 05 Phase 2 version AT CMGF 0 OK Note Set PDU mode Note PDU mode valid AT CNMI 2 2 0 0 0 OK Note lt mt gt 2 CMT 29 07913366003000F1240B9 13366920547 F30000003003419404800B506215D42E CFE7E17319 Note mess
34. CR gt lt LF gt CMGL lt index gt Response syntax for PDU mode e CMGL lt index gt lt stat gt lt alpha gt lt length gt lt CR gt lt LF gt lt pdu gt for SMS DELIVER SMS SUBMIT and SMS STATUS REPORT may be followed by other lt CR gt lt LF gt CMGL lt index gt 7 10 OnCell G2150I1 AT Command Set Short Message Commands Command Possible responses AT CMGL REC UNREAD Note List unread messages in text mode CMGL 1 REC UNREAD 0146290800 lt CR gt lt LF gt I will be late CMGL 3 REC UNREAD 46290800 lt CR gt lt LF gt See you tonight OK Note 2 messages are unread these messages will then have their status changed to REC READ AT CMGL REC READ CMGL 2 REC READ 0146290800 Note List stored and sent messages in Note List read messages in text mode lt CR gt lt LF gt Keep cool OK AT CMGL STO SENT OK Note No message found text mode AT CMGL 1 CMGL 1 1 26 Note List read messages in PDU mode lt CR gt lt LF gt 07913366003000F3040B9 13366920547F40013 001190412530400741AA8E5A9C5201 OK Defined values lt stat gt possible values status of messages in memory Text mode possible values PDU mode possible Status of messages in memory values REC UNREAD 0 received unread messages REC READ 1 received read messages STO UNSENT 2 sto
35. ERROR response Otherwise the MT issues the intermediate result code CONNECT and enters V 25ter online data state GPRS attachment and PDP context activation procedures may take place prior to or during the PDP startup if they have not already been performed using the CGATT and CGACT commands If no lt cid gt is given the MT attempts to activate the context with available information The other context parameters are set to their default values No APN default QOS parameters dynamic IP address requested If the activation is successful data transfer may proceed After data transfer and layer 2 protocol termination procedure completion the V 25ter command state is re entered and the MT returns the final result code OK In case of abnormal termination or start up the V 25ter command state is re entered and the MT returns the final result code NO CARRIER or if enabled CME ERROR Attach activate and other errors may be reported This command may be used in both normal and modem compatibility modes Notes e This command has the same effects than ATD 99 e Ifa GPRS PPP session is already running the setting of a CSD GSM data call is not supported Command syntax Command Possible responses AT CGDATA lt cid gt CONNECT ERROR AT CGDATA CGDATA OK AT CGDATA CGDATA OK AT CGDATA 1 CONNECT Defined values lt cid gt a numeric parameter that specifies a particular PDP context definition GPRS M
36. Message types They depend also on the coding scheme text or PDU and the setting of Select CBM Types see CSCB command Default is 0 0 No CBM indications are routed to the TE The CBMs are stored 1 The CBM is stored and an indication of the memory location is routed to the customer application using unsolicited result code CBMI BM lt index gt 2 New CBMs are routed directly to the TE using unsolicited result code If PDU mode If text mode CBM lt sn gt lt mid gt lt dcs gt lt page gt lt pages gt lt CR gt lt LF gt lt data gt 3 Class 3 CBMs as lt bm gt 2 Other classes CBMs as lt bm gt 1 lt ds gt for SMS STATUS REPORTs Default is 0 0 No SMS STATUS REPORTs are routed 1 SMS STATUS REPORTSs are routed using unsolicited code f PDU mode CDS lt length gt lt CR gt lt LF gt lt pdu gt PDU mode or If text mode CDS lt fo gt lt mr gt lt ra gt lt tora gt lt scts gt lt dt gt lt st gt Text mode 2 SMS STATUS REPORTSs are stored and routed using the unsolicited result code CDSI SR lt index gt lt bfr gt Default is 0 0 TA buffer of unsolicited result codes defined within this command is flushed to the TE when lt mode gt to 3 is entered OK response shall be given before flushing the codes 1 TA buffer of unsolicited result codes defined within this command is cleared when lt mode gt 1 3 is entered Read Message CMGR Description This command allo
37. Originated Call outgoing call Mobile Station Mobile Terminated Call incoming call Network Information and Time Zone Operator PLMN List Personal Computer Personal Identification Number Public Land Mobile Networks PLMN Network Name Point to Point Protocol Public Switched Telephone Network PIN Unlock Key Radio Interface Layer Received Signal Strength Indication Ready To Send signal Subscriber Information Module Short Message Service Service Provider Name Terminal Equipment Characters table 2 bytes coding Unnumbered Information with Header check 1 3 OnCell G21501 AT Command Set Introduction Definitions The words Mobile Station MS or Mobile Equipment ME are used for mobile terminals that support GSM services Terminal Equipment TE is the Human Machine Interface HMI of a GSM device modem or handset TE can be a handset HMI or the AT command line interface OnCell G2150 User GSM network F ME GE A call from a GSM mobile station to the PSTN is called a mobile originated call MOC or outgoing call and a call from a fixed network to a GSM mobile station is called a mobile terminated call MTC or incoming call Presentation Rules In the remainder of this document AT commands are presented in three parts A Description paragraph provides general information about the AT command or response behavior A Syntax paragraph describes how to use th
38. PDP startup if they have not already been performed using the CGATT and CGACT commands If lt cid gt is supported its usage is the same as in the CGDATA command The CGDCONT CGQREQ etc commands may then be used in the modem initialization AT command string to set values for PDP type APN QoS etc If lt cid gt is not supported or is supported but omitted the MT attempt to activate the context using the Empty PDP type GSM 04 08 No PDP address or APN is sent in this case and only one PDP context subscription record is present in the HLR for this subscriber Note If a GPRS PPP session is already running the setting of a CSD GSM data call is not supported Command syntax Command Possible responses D lt GPRS_SC_IP gt lt cid gt CONNECT ERROR Defined values lt GPRS_SC_IP gt GPRS Service Code for IP a digit string value 99 which identifies a request to use the GPRS with IP PDP types IP and PPP lt cid gt a digit string that specifies a particular PDP context definition Example ATD 99 1 CONNECT ATD 99 2 ERROR 10 13 OnCell G21501 AT Command Set GPRS Commands Network Requested PDP Context Activation In this mode of operation the MT behaves like an answering modem and accepts the normal V 25ter commands associated with answering a call If GPRS specific configuration commands are required they may be sent to the MT as part of the modem initialization comma
39. This command is used to determine the local serial port start stop asynchronous character framing used by the DCE Command syntax AT ICF lt format gt lt parity gt Command Possible responses AT ICF ICF 3 4 OK Note Current values AT ICF ICF 1 6 0 4 OK Note Possible values AT ICF 2 0 OK Note New values Defined values lt format gt 0 Auto detect not supported 1 8 Data 2 Stop supported lt parity gt parameter is ignored 2 8 Data 1 Parity 1 Stop supported if no lt parity gt provided 3 is used by default as lt parity gt value 3 8 Data 1 Stop supported lt parity gt parameter is ignored 4 7 Data 2 Stop supported lt parity gt parameter is ignored 5 7 Data 1 Parity 1 Stop supported if no lt parity gt provided 3 is used by default as lt parity gt value 6 7 Data 1 Stop supported lt parity gt parameter is ignored lt parity gt 0 Odd supported 1 Even supported 2 Mark supported 3 Space supported 4 None supported Notes e Setting a character framing different from 8N1 will disable autobauding if it was activated Setting it back to 8N1 will not re enable auto baud e Setting the framing to 8N1 will let autobauding be enabled if it was already enabled implying framing was already 8N1 DTE DCE Local Flow Control IFCR Description This command is used to control the operation of local flow control between the DTE and DCE C
40. Upgrading the firmware will clear all the settings and reset the OnCell G2150I to its factory defaults OnCell G21501 AT Command Set MOXA Proprietary Commands Automatic PIN Entry USEPIN Description This command enables disables the automatic PIN code entry function when G21501 is booting up Command syntax AT USEPIN lt n gt lt PIN Code gt Command Possible responses AT USEPIN 1 1234 OK Note 1234 is an example of PIN code Note Done AT USERPIN 0 OK Note Automatic PIN entry is disabled Note Done AT USEPIN USEPIN 0 1 Defined values lt n gt 0 Automatic PIN Entry is disabled 1 Automatic PIN Entry is enabled Notes The PIN code will be used in the booting process If PIN is not entered correctly system will automatic disable the auto entry function to avoid the SIM to be locked Example AT USEPIN 1 000 USEPIN 0 OK AT USEPIN 1 000 OK AT OK AT USEPIN 0 OK OnCell G21501 AT Command Set MOXA Proprietary Commands Initial Strings BOOTSTR This command enables disables the initial strings AT BOOTSTR lt m gt AT BOOTSTR lt n gt lt initial strings gt Description Command syntax Command Possible responses AT BOOTSTR 1 OK Note Done AT BOOTSTR 0 OK Note Done At BOOTSTR BOOTSTR 0 1 Note list the usage OK Note max 39 charters for each lt initial string gt AT BOOTSTR BOOTSTR 1 BOOTSTRI E0 BOOTS
41. activation H The V 25ter H or HO On hook command may be used to reject a network request for PDP context activation announced by the unsolicited result code RING The MT responds with OK It is an error to issue the H command when there is no outstanding network request Note This is an extension to the usage of the H command that is described in ITU T V 2Ster Automatic Response to a Network Request for PDP Context Activation CGAUTO Description The set command disables or enables an automatic positive response auto answer to the receipt of a Request PDP Context Activation message from the network It also provides control over the use of the V 25ter basic commands SO A and H for handling network requests for PDP context activation The setting does not affect the issuing of the unsolicited result code RING or CRING The test command returns values of lt n gt supported by the MT as a compound value When the CGAUTO 0 command is received the MT will not perform a GPRS detach if it is attached Subsequently when the MT announces a network request for PDP context activation by issuing the unsolicited result code RING or CRING the TE may manually accept or reject the request by issuing the CGANS command or may simply ignore the network request When the CGAUTO 1 command is received the MT will attempt to perform a GPRS attach if it is not already attached Failure will result in ERROR or i
42. amp S1 OK Note DSR off in command mode DSR on in data mode Note Command valid Defined values lt n gt 0 DSR always on 1 DSR off in command mode DSR on in data mode Back to Online Mode O Description If a connection has been established and the ME is in command mode this command allows you to return to online data mode Command syntax ATO Command Possible responses ATO Note Return from offline mode to online mode OK Defined values No parameter Result Code Suppression Q Description This command determines whether the mobile equipment sends result codes or not Command syntax ATQ lt n gt Command Possible responses ATQO OK Note DCE transmits result codes Note Command valid ATQ1 Note No response Note Result codes are suppressed and not transmitted 9 5 OnCell G21501 AT Command Set V24 V25 Commands Defined values lt n gt 0 DCE transmission result code 1 Result codes are suppressed and not transmitted DCE Response Format V Description This command determines whether or not the DCE response format uses the header characters lt CR gt lt LF gt and the result codes are provided as numeric or verbose Command syntax ATV lt n gt Command Possible responses ATVO 0 Note DCE transmits limited headers and Note Command is valid 0 means OK trailers and numeric result codes ATV1 OK Note DCE transm
43. another country the AT command is ATD 886289191230 Note that some countries may have specific numbering rules for their GSM handset numbering The response to the ATD command is one of the following Verbose result code Numeric code Description with ATVO set OK 0 If the call succeeds for voice call only CONNECT lt speed gt 10 11 12 13 14 15 If the call succeeds for data calls only lt speed gt takes the value negotiated by the product BUSY 7 If the called party is already in communication NO ANSWER CO If no hang up is detected after a fixed network time out NO ANSWER 3 Call setup failed or remote user release Use the AT CEER command to know the failure cause Direct dialing from a phonebook stored in the SIM card can be performed with the following command ATD gt lt index gt to call lt index gt from the selected phonebook by the CPBS command ATD gt BILL to call BILL from the selected phonebook ATD gt mem lt index gt mem is SM LD MC ON ME RC MT or SN See CPBS command allows direct dialing from a phonebook number Command syntax ATD lt nb gt lt I gt ATD gt lt mem gt lt index gt lt I gt ATD gt lt mem gt lt name gt lt I gt 4 2 OnCell G21501 AT Command Set Call Control Commands Command Possible responses AT CPBS Note Which phonebook is sel
44. class 0 Subscribed 1 Up to 1 000 8 kbits s 2 Up to 2 000 16 kbits s Reliability GTP Mode LLC Frame LLC Data RLC Block Traffic Type Class Mode Protection Mode 0 Subscribed Subscribed by the Nwk default if value is omitted 1 Acknowledged Acknowledged Protected Acknowledged Non real time traffic error sensitive application that cannot cope with data loss 2 Unacknowledged Acknowledged Protected Acknowledged Non real time traffic error sensitive application that can cope with infrequent data loss 3 Unacknowledged Unacknowledged Protected Acknowledged Non real time traffic error sensitive application that can cope with data loss GMM SM and SMS 4 Unacknowledged Unacknowledged Protected Unacknowledged Real time traffic error sensitive application that can cope with data loss 5 Unacknowledged Unacknowledged Unprotected Unacknowledged Real time traffic error 10 5 OnCell G2150I1 AT Command Set GPRS Commands non sensitive application that can cope with data loss NOTE For real time traffic the QoS profile also requires appropriate settings for delay and throughput Up to 4 000 32 kbits s Up to 8 000 64 kbits s Up to 16 000 128 kbits s Up to 32 000 256 kbits s Up to 64 000 512 kbits s Up to 128 000 1 024 kbits s Up to 256 000 2 048 kbits s lt mean gt numeric par
45. gt a numeric parameter that controls PDP header compression e 0 OFF default if value is omitted e 1 ON Other values are reserved The data compression algorithm provided in SNDCP is V 42bis 4CIDs are available to specify 4 PDP context but only 11 NSAPI are available for PDP activation 4 PDP contexts can be specified with only one activated at the same time Quality of Service Profile Requested CGQREQ Description This command allows the TE to specify a Quality of Service Profile that is used when the MT sends an Activate PDP Context Request message to the network The set command specifies a profile for the context identified by the local context identification parameter lt cid gt Since this is the same parameter that is used in the CGDCONT command the CGQREQ command is effectively an extension to the CGDCONT command The QoS profile consists of a number of parameters each of which may be set to a separate value A special form of the set command CGQREQ lt cid gt causes the requested profile for context number lt cid gt to become undefined The read command returns the current settings for each defined context The test command returns values supported as a compound value If the MT supports several PDP types the parameter value ranges for each PDP type are returned on a separate line Command syntax Command Possible responses AT CGQREQ lt cid gt lt precedence gt OK lt delay gt l
46. is given as a response to the AT command Refer to 3GPP TS 24 008 3GPP TS 23 040 3GPP TS 22 042 and COMMON PCN HANDSET SPECIFICATION CPHS Phase 2 v4 2 for more information Command syntax AT WOPN lt mode gt lt NumOper gt lt lac gt Response syntax WOPN lt mode gt lt AlphaOper gt Command Possible responses AT WOPN OK Note Test command AT WOPN 0 20801 WOPN 0 Orange F Note Give an operator in numeric format OK Note Alphanumeric answer 5 6 OnCell G2150I1 AT Command Set Network Service Commands AT WOPN 0 99999 CME ERROR 22 Note Give a wrong operator Note Not found AT WOPN 0 20801 36 WOPN 0 Orange F Note Give an operator in numeric format for lac OK 36 Note Alphanumeric answer AT WOPN 3 0 OK Note Erase NITZ PLMN names stored in flash memory AT WOPN 4 WOPN 31 Note Read from EEPROM which method will be OK used for PLMN names AT WOPN 4 lt PlmnOns gt OK Note Write to EEPROM which method will be used for PLMN names Defined values lt mode gt 0 Use long alphanumeric format 1 Use short alphanumeric format 2 Reserved for later use 3 Erase NITZ PLMN list if lt NumOper gt 0 4 Access to EEPROM to read or write the method used for getting PLMN names Read access if lt NumOper gt omitted write access if lt NumOper gt lt PlmnOns gt provided lt NumOper gt is the operator in numeric format lt AlphaOper gt is t
47. list of supported lt state gt s OK 10 7 OnCell G21501 AT Command Set GPRS Commands AT CGATT 1 OK Defined values lt state gt indicates the state of GPRS attachment e 0 detached e 1 attached e 2 combined detach GPRS and GSM detach in the same network request e Other values are reserved and will result in an ERROR response to the execution command PDP Context Activate or Deactivate CGACT Description The execution command is used to activate or deactivate the specified PDP context s After the command has completed the MT remains in V 25ter command state If any PDP context is already in the requested state the state for that context remains unchanged If the requested state for any specified context cannot be achieved an ERROR or CME ERROR response is returned Extended error responses are enabled by the CMEE command If the MT is not GPRS attached when the activation form of the command is executed the MT first performs a GPRS attach and then attempts to activate the specified contexts If the attach fails then the MT responds with ERROR or if extended error responses are enabled with the appropriate failure to attach error message If no lt cid gt s are specified the activation form of the command activates the first possible within the defined contexts If no lt cid gt s is specified the deactivation form of the command deactivates all active contexts One PDP contexts can be activated through
48. more substantial than 1 and so on Note If the indicator is a simple ON OFF style element it has values 0 and 1 lt descr gt battchg battery charge level 0 5 signal signal quality 0 5 service service availability 0 1 message message received 0 1 call call in progress 0 1 roam roaming indicator 0 1 smsfull SMS memory storage status in the MT 0 2 0 memory locations are available 1 memory full 2 one SMS has been received in Service Center SC but the sms storage where this SMS tried to be stored is full Multiplexing Mode CMUX Description This command is used to manage enable or disable the 3GPP TS 27 010 multiplexing protocol control channel This command allows the multiplexing of 4 logical channels on a single UART Two UARTSs are available on the G2150I but multiplexing can only apply to one The client application may handle by this means up to 5 channels 4 logical multiplexed channels on a UART and 1 physical channel on the other UART Notes on speed and autobauding e The speed of the response is the same that the one of the received AT CMUX command prior to entering lt mode gt e It is recommended that whenever the multiplexer control channel is released the modem should assume an interface rate for autobauding purposes irrespective of any previous higher speed selected eIf a CMUX command is issued while in any multiplexer mode then t
49. recommendations Postal address F 06921 Sophia Antipolis CEDEX France Office address 650 Route des Lucioles Sophia Antipolis Valbonne France Web address http www etsi org Tel 33 4 92 94 42 00 Fax 33 4 93 65 47 16 1 2 OnCell G21501 AT Command Set Introduction Abbreviations ADN AMR AMR FR AMR HR AOC ASCII AT BCCH BER CLI CSD CTS CUG DTMF DTR EEPROM EFR E ONS FDN FR GPRS GSM HR IMEI IMSI MCC ME MNC MOC MS MTC NITZ OPL PC PIN PLMN PNN PPP PSTN PUK RIL RSSI RTS SIM SMS SPN TE UCS2 UIH Abbreviated Dialing Number Phonebook Adaptive Multi Rate AMR Full Rate full rate speech Version3 AMR Half Rate half rate speech version 3 Advice Of Charge Standard characters table 1 byte coding Modem Hayes commands prefix for ATtention Broadcast Channel Bit Error Rate Client Line Identification GSM data call Clear To Send signal Closed User Group Dual Tone Multi Frequency Data Terminal Ready Electrically Erasable Programming Only Memory Enhanced Full Rate full rate speech version 2 Enhanced Operator Name Service Fixed Dialing Number Phonebook Full Rate full rate speech version 1 General Packet Radio Service Global System for Mobile communication Half Rate half rate speech version 1 International Mobile Equipment Identity International Mobile Subscriber Identity Mobile Country Code Mobile Equipment Mobile Network Code Mobile
50. supported by the product Beware that the product only allows the MNP2 protocol Command syntax AT DS lt dir gt lt neg gt lt P1 gt lt P2 gt II Command Possible responses AT DS DS 0 3 0 1 5 12 2048 6 250 OK Note Test command AT DS 3 0 2048 250 OK Note Set new parameters Note Command valid AT DS DS 3 0 2048 250 Note Current values OK Note Command valid Defined values lt dir gt specifies the desired direction s of operation of the data compression function from the DTE point of view 0 Negotiated no compression 1 Transmit only 2 Receive only 3 Both directions accept any direction default value lt neg gt specifies whether or not the DCE should continue to operate if the desired result is not obtained 0 Do not disconnect if V 42 bis is not negotiated by the remote DCE as specified in lt dir gt default value 1 Disconnect if V 42 bis is not negotiated by the remote DCE as specified in lt dir gt lt P1 gt specifies the maximum number of dictionary entries that should be negotiated default is 2048 Range 512 to 2048 lt P2 gt specifies the maximum string length to be negotiated default is 20 Range 6 to 250 8 6 OnCell G21501 AT Command Set Data Commands V42 bis Data Compression Report DR Description This command determines whether or not the use of V42bis is allowed for an incoming or outgoing data call if the featur
51. used again to perform another overwrite Important notes e If the external application specifies a free location and an incoming message is received before the AT CMGW command occurs the product may store the incoming message at the specified available location If the user then issues an AT CMGW command without changing the location with another AT WMGO the received message will be overwritten e The location number is not kept over a software reset Command syntax AT WMGO lt loc gt 7 17 OnCell G21501 AT Command Set Short Message Commands Command Possible responses AT CPMS Note Check the storage area CPMS SM 3 10 SM 3 10 SM 3 10 OK AT CMGW 33146290800 lt CR gt Hello how are you lt ctrl Z gt Note Write a message in text mode CMGW 4 OK Note Message stored in index 4 in the SIM AT WMGO WMGO 1 10 OK Note Possible values for the SIM AT WMGO 4 OK AT CMGW2 33146290000 lt CR gt CMGW 4 You are overwritten lt ctrl Z gt OK Note New Message stored in index 4 AT WMGO WMGO 4 OK Note The value was used so re initialization AT WMGO 4 OK AT CPMS SM ME SM CPMS 3 10 0 99 3 10 OK Note Change the storage area from SIM to Flash AT WMGO AT WMGO WMGO 1 99 OK Note Possible values for the Flash WMGO 0 OK Note We changed the storage area so the value was reinitialized AT WMGO
52. used to indicate to which service center the message must be sent The product has no default value for this address If the application tries to send a message without having indicated the service center address an error will be generated Therefore the application must indicate the SC address when initializing the SMS This address is then permanently valid The application may change it if necessary Command syntax AT CSCA lt sca gt Command Possible responses AT CMGS 33146290800 lt CR gt Hello how are you lt ctrl Z gt Note Send a message CMS ERROR 330 Note service center unknown AT CSCA 0696741234 OK Note Service center initialization AT CMGS 33 146290800 lt CR gt CMGS 1 Happy Birthday lt ctrl Z gt OK Note Successful transmission 7 15 OnCell G21501 AT Command Set Short Message Commands Select Cell Broadcast Message Types CSCB Description This command selects which types of CBMs are to be received by the ME It is allowed in both PDU and text modes Command syntax AT CSCB lt mode gt lt mids gt lt dcss gt Important note Test read command AT CSCB is not supported Command Possible responses AT CSCB 0 15 17 50 86 OK Note Accept SMS CB types 15 16 17 50 and 86 Note CBMs can be received in any language CBM 10 lt CR gt lt LF gt 00112233445566778899 Note CBM length of a received Cell Broa
53. 0 OK Note current values Note No validity period lt dcs gt PCCP437 alphabet 8 bits gt 7 bits AT CSMP 17 23 64 244 OK Note lt vp gt 23 2 hours relative Note Command correct format lt dcs gt GSM 8 bits alphabet Remind to enter lt fo gt value in decimal notation Defined values The lt fo gt byte comprises 6 different fields b7 b6 B5 b4 b3 b2 bl bO RP UDHI SRR VPF RD MTI Note lt fo gt must be entered in DECIMAL format Hexadecimal format would lead to irrelevant result RP Reply Path not used in text mode UDHI User Data Header Information b6 1 if the beginning of the User Data field contains a Header in addition to the short message This option is not supported in CSMP command 7 13 OnCell G21501 AT Command Set Short Message Commands but can be used in PDU mode CMGS SRR Status Report Request b5 1 if a status report is requested This mode is supported VPF Validity Period Format b4 0 amp b3 0 gt lt vp gt field is not present b4 1 amp b3 0 gt lt vp gt field is present in relative format Other formats absolute amp enhanced are not supported RD Reject Duplicates b2 1 to instruct the SC to reject an SMS SUBMIT for an SM still held in the SC which has the same lt mr gt and the same lt da gt as the previously submitted SM from the same lt oa gt MTI Message Type Indicator b1 0 amp b0 0 gt SMS DELIVER in the direct
54. 03 40 TP DA Data Coding Scheme coded like in document 5 Discharge Time in string format yy MM dd hh mm ss zz Year 00 99 Month 01 12 Day 01 31 Hour Minute Second and Time Zone quarters of an hour Years range is 2000 2099 First Byte coded like SMS SUBMIT first byte in document 4 default value is 17 for SMS SUBMIT Place of storage in memory Text mode CMGF 1 number of characters PDU mode CMGF 0 length of the TP data unit in bytes Memory used to list read and delete messages CMGL CMGR and CMGD Memory used to write and send messages CMGW CMSS Preferred memory to which received SMS are to be stored CBM Message Identifier Message Reference Originator Address Protocol Identifier For SMS GSM 04 11 SC address followed by GSM 03 40 TPDU in hexadecimal format coded as specified in doc 4 For CBS GSM 03 41 TPDU in hexadecimal format Recipient Address Service Center Address Service Center Time Stamp in string format yy MM dd hh mm ss_ zz Year Month Day Hour Min Seconds TimeZone CBM Serial Number Status of a SMS STATUS REPORT Status of message in memory Type of Address of lt oa gt Type of Address of lt ra gt Type of Address of lt sca gt Number of message locations in lt mem1 gt Number of messages locations in lt mem2 Number of messages locations in lt mem3 gt Total number of messages locations in lt mem1 gt Total number of messages locations
55. 1 2 Fax class 2 Service Reporting Control CR Description This command enables a detailed type of service reporting in the case of incoming or outgoing data calls Before sending the CONNECT response to the application the product will specify the type of data connection that has been set up These report types are 8 3 OnCell G21501 AT Command Set Data Commands CR ASYNC For asynchronous transparent CR REL ASYNC For asynchronous non transparent Command syntax AT CR lt mode gt Command Possible responses AT CR 0 OK Note Extended reports disabled Note Command valid AT CR 1 OK Note Extended reports enabled Note Command valid AT CR CR 1 OK AT CR CR 0 1 OK Defined values lt mode gt 0 disable extended reports 1 enable extended reports Cellular Result Codes CRC Description This command allows more detailed ring information for an incoming call voice or data Instead of the string RING an extended string is used to indicate which type of call is ringing e g CRING VOICE These extended indications are CRING ASYNC for asynchronous transparent CRING REL ASYNC for asynchronous non transparent CRING VOICE for normal speech CRING FAX for fax calls Command syntax AT CRC lt mode gt Command Possible responses AT CRC 0 OK Note Extended reports disabled Note
56. 1501 AT Command Set Call Control Commands Command Possible responses ATH OK Note Ask for disconnection Note Every call if any are released ATH1 OK Note Ask for outgoing call disconnection Note Outgoing call if any is released Defined values lt n gt 0 Ask for disconnection default value 1 Ask for outgoing call disconnection Answer a Call A Description When the product receives a call it sets the RingInd signal and sends the ASCII RING or CRING lt type gt string to the application CRING if the cellular result code CRC is enabled Then it waits for the application to accept the call with the ATA command Command syntax ATA Command Possible responses RING Note Incoming call ATA OK Note Answer to this incoming call Note Call accepted ATH OK Note Disconnect call Note Call disconnected Defined values No parameter Remote Disconnection This message is used by the product to inform the application that an active call has been released by the remote user The product sends NO CARRIER to the application and sets the DCD signal In addition for AOC the product can release the call if credit has expired release cause 68 with CEER command Extended Error Report CEER Description This command gives the cause of call release when the last call set up originating or answering failed Command syntax AT CEER Command Possi
57. 7 PDP unsuccessful activation cause NO NSAPI available 238 PDP unsuccessful activation cause SM refuse All other values in the range 0 to 31 shall be treated as cause 3 All other values in the range 32 to 47 shall be treated as cause 47 All other values in the range 48 to 63 shall be treated as cause 63 All other values in the range 64 to 79 shall be treated as cause 79 All other values in the range 80 to 95 shall be treated as cause 95 All other values in the range 96 to 111 shall be treated as cause 111 All other values in the range 112 to 127 shall be treated as cause 127 Specific Failure Cause for CEER Cause Value Diagnostic 240 FDN is active and number is not in FDN 241 Call operation not allowed 252 Call barring on outgoing calls 253 Call barring on incoming calls 254 Call impossible 255 Lower layer failure GSM 04 11 Annex E 2 Mobile Originating SM Transfer These error causes could appear for SMS commands CMGS CMSS CMGD Cause No 1 Unassigned unallocated number This cause indicates that the destination requested by the Mobile Station cannot be reached because although the number is in a valid format it is not currently assigned allocated Cause No 8 Operator determined barring This cause indicates that the MS has tried to send a mobile originating short message when the MS s network operator or service provider has forbidden such transactions
58. Command valid AT CRC 1 OK Note Extended reports enabled Note Command valid AT CRC CRC 1 OK AT CRC CRC 0 1 OK Defined values lt mode gt 0 disable extended reports 1 enable extended reports DTE DCE Local Rate Reporting ILRR Description This parameter controls whether the extended format ILRR lt rate gt information text is transmitted from the DCE to the DTE or not The lt rate gt value reported represents the current negotiated or renegotiated DTE DCE speed rate If enabled the intermediate result code is transmitted in an incoming or outgoing data call after any data compression report and before any final result code CONNECT 8 4 OnCell G21501 AT Command Set Data Commands Command syntax AT ILRR lt value gt Command Possible responses AT ILRR 0 OK Note Local port rate report disabled Note Command valid AT ILRR 1 OK Note Local port rate report enabled Note Command valid AT ILRR ILRR 1 OK AT ILRR ILRR 0 1 OK Defined values lt value gt 0 disable local port rate report 1 enable local port rate report lt rate gt can take the following values 300 600 1200 2400 4800 9600 19200 38400 57600 115200 kbps Radio Link Protocol Parameters CRLP Description This command modifies the radio link protocol parameters used for non transparent data transmission Command syntax AT CRLP lt iws gt lt mws gt l
59. Define PDP Context t CGDCONT eege nena uma aise es einer 10 2 Quality of Service Profile Requested ZCOGOREO 10 3 Quality of Service Profile Minimum acceptable ZCOGOMIN 10 6 GPRS Attach or Detach CGATT oo ner SeN E O Arr A ERE AEE Ee EEE SEE oa EE ES AES 10 7 PDP Context Activate or Deactivate CGACT oo cee eccesesccssecreeeecneeeecaeeeesaecaeesecnereeenaeeees 10 8 Enter Data State CGDATA ee 10 9 GPRS Mobile Station Class CGCLASS 00 cceecssscsessecssesecssecseesecneeecsaeneeecsaeeeesaecaeeseenees 10 9 Select Service for MO SMS Messages ACOG8MS 10 10 GPRS Event Reporting CGEREP AAA 10 11 GPRS Network Registration Status SCOREO AA 10 12 Request GPRS IP Service DY uereg ENEE le n RE A E ETE Ea 10 13 Network Requested PDP Context Acttvatton cecesccsseeccesecseesecneseeceseeeessecseeseeneseeesaees 10 14 Automatic Response to a Network Request for PDP Context Activation CGAUTO 10 14 Manual Response to a Network Request for PDP Context Activation CGANS 10 15 Show PDP Address CGPADDR AAA 10 17 Cellular Result Codes FCRC enaint reo e eene ENEE SEENEN 10 17 Service Reporting Control ACHEN 10 18 Extended Error Report CEER aeoe eeen pn aa Eponos Ee NENE EE EEEE E EEEE EEEE 10 18 GPRS Parameter Customization WGPRS AAA 10 19 Full AT GPRS Command Examples s ssseeeseseseseeessseeerrsererestsresresteetrsrereresresrerrnserreneesreeees 10 21 MOXA Proprietary COMMANGG ccccceeeeeeeeeeeeeeeeeee
60. GANS CGANS list of supported lt response gt s list of supported lt L2P gt s OK Defined values lt response gt is a numeric parameter that specifies how the request should be responded to 0 reject the request 1 accept and request that the PDP context be activated If lt response gt is omitted it is assumed to be 0 Other values are reserved and will result in the ERROR response lt cid gt a numeric parameter that specifies a particular PDP context definition Example CRING GPRS IP 122 41 74 238 AT CTANS 1 CONNECT AT CGANS CGANS 0 1 OK OnCell G21501 AT Command Set GPRS Commands Show PDP Address CGPADDR Description The exclusion command returns a lot of PDP addresses for the specified context identifiers The test command returns a list of defined lt cid gt s Command syntax Command Possible responses CGPADDR lt cid gt lt cid gt CGPADDR lt cid gt lt PDP_addr gt lt CR gt lt LF gt CGPADDR lt cid gt lt PDP_addr gt OK CGPADDR CGPADDR list of defined lt cid gt s OK Defined values lt cid gt a numeric parameter that specifies a particular PDP context definition If no lt cid gt is specified the addresses for all defined contexts are returned lt PDP_address gt a string that identifies the MT in the address space applicable to the PDP The address may be static or dynamic For a s
61. K lt status gt lt class1 gt lt CR gt lt LF gt CLCK lt status gt lt class2 gt Command Possible responses AT CLCK SC 1 1234 Note Enable PIN OK Note PIN was correct AT CLCK Note Read PIN status CLCK PS 0 SC 0 FD 0 C PN 0 PU ULC PP 0 PC 0 OK Note PIN is enabled no SIM lock no network lock no information on Call barring no longer supported in GSM 07 07 AT CLCK SC 0 5555 Note Disable PIN CME ERROR 16 Note PIN was wrong Note Request supported facilities AT CPIN 1234 OK Note Enter PIN Note PIN was good AT CLCK CLCK PS SC AO OI OX APIR AB A C FD PN PU PP PC Note Activate all outgoing calls barring data calls OK Note Supported facilities AT CLCK PN 1 12345678 OK Note Activate network lock Network lock activated AR CLCK A0O 1 1234 2 OK Note Call barring is activated AT CLCK AO 2 Note Query BAOC status CLCK 1 2 OK Note BAOC activate for data calls only AT CLCK SC 0 0000 Note Disable PIN CME ERROR 521 Note PIN deactivation is forbidden with this SIM card Defined values lt fac gt supported facilities e PS SIM lock facility with an 8 digit password e SC PIN enabled lt mode gt 1 disabled lt mode gt 0 e
62. MI WCBM 10 100 1000 100000 OK Note 4 CBMIs are stored in EF CBMI Message Status Modification WMSC Description These commands allow the manipulation of message status The accepted status changes are from READ to NOT READ and vice versa and from SENT to NOT SENT and vice versa Command syntax AT WMSC lt loc gt lt status gt Command Possible responses AT CMGR 2 CMGR REC READ 336290918 99 05 01 14 19 44 04 lt CR gt lt LF gt Hello All of you OK AT WMSC 2 REC UNREAD AT CMGR 2 CMGR REC UNREAD 336290918 99 05 01 14 19 44 04 lt CR gt lt LF gt Hello All of you OK Possible responses OK if the location is valid CMS ERROR 321 if lt loc gt is invalid or free CMS ERROR 302 if the new lt status gt and the previous one are incompatible 1 Note If all the parameters are correct the product overwrites the whole SMS in SIM Only the first byte Status byte is changed Defined values lt loc gt location number of the stored message integer lt status gt new status to be stored as for CMGL command PDU Mode Text Mode 0 REC UNREAD 1 REC READ 2 STO UNSENT Message Overwriting WMGO Description The WMGO command is used to specify a location in the SIM or Flash memory for the next SMS storing with CMGW command The defined location is used only once WMGO has to be
63. MIN 1 1 4 5 2 14 OK Defined values lt cid gt a numeric parameter that specifies a particular PDP context lt precedence gt a numeric parameter that specifies the precedence class lt delay gt a numeric parameter that specifies the delay class lt reliability gt a numeric parameter that specifies the reliability class lt peak gt a numeric parameter that specifies the peak throughput class lt mean gt a numeric parameter that specifies the mean throughput class If a value is omitted for a particular class then this class is not checked GPRS Attach or Detach CGATT Description The execution command is used to attach the MT to or detach the MT from the GPRS service After the command has completed the MT remains in V 25ter command state If the MT is already in the requested state the command is ignored and the OK is returned If the requested state cannot be achieved because the GPRS is not supported by the MT an ERROR or CME ERROR response is returned Extended error responses are enabled by the CMEE command Any active PDP contexts will be automatically deactivated when the attachment state changes to detached The read command returns the current GPRS service state The test command is used for requesting information on the supported GPRS service states Command syntax Command Possible responses AT CGATT lt state gt OK ERROR AT CGATT CGATT lt state gt OK AT CGATT CGATT
64. MOXA software at the same time The read command returns the current activation states for all the defined PDP contexts The test command is used for requesting information on the supported PDP context activation states Command syntax Command Possible responses AT CGACT lt state gt lt cid gt lt cid gt OK ERROR AT CGACT CGACT lt cid gt lt state gt lt CR gt lt LF gt CGACT lt cid gt lt state gt ball OK AT CGACT CGACT list of supported lt state gt s OK AT CGACT I1 1 OK AT CGACT CGACT 1 1 OK AT CGACT CGACT 0 1 OK Defined values lt state gt indicates the state of PDP context activation e 0 deactivated e 1 activated Other values are reserved and will result in an ERROR response to the execution command lt cid gt a numeric parameter that specifies a particular PDP context Before the activation of the context the MT has to attach itself to the GPRS network if necessary Note if a GPRS PPP session is already running the setting of a CSD GSM data call is not supported 10 8 OnCell G21501 AT Command Set GPRS Commands Enter Data State CGDATA Description This command causes the MT to perform the necessary actions to set up communication between the TE and the network This may include performing a GPRS attach and one PDP context activation If the lt cid gt value is not defined to the MT it will return an ERROR or CME
65. ONnCeIL G21501 AT Command Set Second Edition June 2007 www moxa com product Moxa Technologies Co Ltd Tel 886 2 8919 1230 Fax 886 2 8919 1231 Web www moxa com MOXA Technical Support Worldwide support moxa com The Americas support usa moxa com OnCell G2150I AT Command Set The software described in this manual is furnished under a license agreement and may be used only in accordance with the terms of that agreement Copyright Notice Copyright 2007 Moxa Technologies Co Ltd All rights reserved Reproduction without permission is prohibited Trademarks MOXA is a registered trademark of The Moxa Group All other trademarks or registered marks in this manual belong to their respective manufacturers Disclaimer Information in this document is subject to change without notice and does not represent a commitment on the part of MOXA MOXA provides this document as is without warranty of any kind either expressed or implied including but not limited to its particular purpose MOXA reserves the right to make improvements and or changes to this manual or to the products and or the programs described in this manual at any time Information provided in this manual is intended to be accurate and reliable However Moxa Technologies assumes no responsibility for its use or for any infringements on the rights of third parties that may result from its use This product might include unintentional tec
66. P AA 7 6 Save Settings CSAS eege eene EES EE EES EE GEA EE EE 7 7 Restore Settings FERES osain heuriou a nibs Eeer Ei teres bates 7 7 Show Text Mode Parameters CSDH 00 eee eee eceeceeeceeceseeeeeeesecnseceaeceaecsaecsaecaeesaeseaeeeeeees 7 7 New Message Indication CNMI A 7 8 Read Message HOMGR eege EES EE EES Seege eet 7 9 List Message EM eiert EENEG ates b tie eaves ated 7 10 send Message CM EE 7 11 Write Message to Memory ACMOW cc cccssscsssecseesecssceecsseeeeesecaeeeeesecsessecnaeeeceaecateaeeneeaes 7 12 Send Message From Storage ZCMSab eeeeceeeceeecesecesecesecaecsaecseecaeesneseeeeseseneseeeeseees 7 13 Set Text Mode Parameters SCSME eege NEE deed dAn 7 13 Delete Message CM SES 7 14 Service Center Address TESCA srren nanni a a a ee it 7 15 Select Cell Broadcast Message Types CSCB sssssesseseessereeesessreresreeresrerrsseerenrrsrenresrenrssenees 7 16 Cell Broadcast Message Identifiers ZWCHRM 7 16 Message Status Modification WM 7 17 Message Oyerwriting tWMGO nenioo iaoiai e EEEE a ENEE ENEE 7 17 Un change SMS Status WUSS vss assesses neer oaeee re r aap EE EE e EE ie EE 7 18 Copy Messages WMCP niminen oense ee ee E O EE ESE TE ESEE E ESS 7 19 More Messages to Send CMMSS trenson e a a i e 7 21 Data C mmahdS iacecaiccsessesaravcsscsiereraceeseaduadssuaeeseaseatadstaneystucueicenes estes ATAT EHE 8 1 Using AT Commands During a Data Connection esessseseseiesesesrsisrerreressrsrsreererersrrrereerse
67. Read stored in SIM 10 is the total memory available in SIM AT CPMS SM ME SM Note Select SM for reading ME for writing and SM for storing CPMS 3 10 3 99 3 10 OK AT CPMS Note Read CPMS SM 3 10 ME 3 99 SM 3 10 OK Note Read store SMS from to flash write SMS to flash 3 SMS are stored in flash 99 is the total memory available in flash CMTI SM 4 Note Receive a SMS stored in SIM at location 4 AT CPMS ME ME ME Note Select ME for reading ME for writing and ME for storing CPMS 3 99 3 99 3 99 OK AT CPMS Note Read CPMS ME 3 99 ME 3 99 ME 3 99 OK Note Read write store SMS from to flash 3 SMS are stored in flash 99 is the total memory available in flash CMTI MEA Note Receive an SMS stored in flash at location 4 AT CPMS AM Note Select wrong message storage CMS ERROR 302 AT CPMS SM Note Select SM for reading writing and storing memory are not changed CPMS 4 10 4 99 4 99 OK 7 5 OnCell G21501 AT Command Set Short Message Commands AT CPMS CPMS SM 4 10 ME 4 99 ME 4 99 OK Note Read Note Read SMS from SIM write store SMS from to flash Defined values lt mem1 gt Memory used to list read and delete messages It can be e SM SMS message storage in SIM default e ME SMS message storag
68. Set ACTIVABLE automatically after init a define PDP context 3 PPP silent mode 4 Definition of the GPRS multislot class 5 Slow CONNECT for PALM OS 6 PPP Filtering 7 Automatic GPRS roaming inter operator if activated ME automatically re attaches itself to the network and reactivates its PDP context by changing operator when reaching border areas Notes If lt mode gt 0 1 3 4 5 6or 7 lt cid gt and lt class gt values will be ignored If lt mode gt 0 1 2 3 5 or 6 lt class gt value will be ignored If lt mode gt 4 lt parameter gt and lt cid gt values will be ignored G2150I must be restarted to take the modification into account PPP Filtering is a test purpose functionality It avoids sending on the radio link 10 20 OnCell G2150I1 AT Command Set GPRS Commands some OS specific frames for accurate transfer rate measurements lt parameter gt anumeric parameter that controls the operation defined by lt mode gt if it is equal to 0 1 2 or 3 0 operation OFF disabled 1 operation ON enabled lt cid gt PDP Context Identifier a numeric parameter that specifies a particular PDP context definition The parameter is local to the TE MT interface and is used in other PDP context related commands Range of values is 0 to 4 lt class gt GPRS multislot class number It may be lower than the maximum possible class Possible value are 2 8 10 12 Refer to doc ref 6 for more information about GPRS mult
69. TR switches from OFF to ON Dials the phone number in the first location of the ADN phonebook or FDN phonebook if it is activated using CLCK command Data or Fax call without semi colon AT D2_ Activates automatic DTR short message transmission if DTR switches from OFF to ON Sends the short message in the first location of the SIM If the first location is empty e AT D1 and AT D2 commands will receive an OK response e The DTR ON event will trigger a CME ERROR 21 or a CMS ERROR 321 Automatic Answer ATSO Description This SO parameter determines and controls the product automatic answering mode Command syntax ATSO lt value gt Command Possible responses ATSO 2 OK Note Automatic answer after 2 rings ATSO 002 OK Note Current value Note always 3 characters padded with zeros ATSO 0 OK Note No automatic answer Note Command valid All others S parameters S6 S7 S8 are not implemented Defined values lt value gt number of rings before automatic answer 3 characters padded with zeros Range of values is 0 to 255 Incoming Call Bearer CICB Description This specific command is used to set the type of incoming calls when no incoming bearer is given see CSNS Note setting the CICB command affects the current value of CSNS Command syntax AT CICB lt mode gt Command Possible responses AT CICB 1 OK Note If no incoming bearer force a fax call Note Command accept
70. TR2 S0 1 Note List all status OK AT BOOTSTR1 E0 amp W OK Note Done Defined values lt m gt states of boot initial string function 0 Disable boot initial strings entry 1 Enable boot initial strings entry lt n gt number of boot initial string 1 1 boot string 2 2 boot string 3 3 boot string 4 4 boot string 5 5 boot string 6 6 boot string Example AT OK AT BOOTSTR 1 OK AT BOOTSTR1 E0 amp SO 1 OK AT BOOTSTR BOOTSTR 1 BOOTSTR1 EO amp SO 1 OK OnCell G21501 AT Command Set MOXA Proprietary Commands Serial Port Configuration SERIAL Description This command configures the serial port settings Command syntax AT SERIAL lt n gt lt baudrate gt lt data bits gt lt parity gt lt stop bits gt lt flow control gt Command Possible responses AT SERIAL SERIAL 0 1 AT SERIAL SERIAL 0 1 baudrate data bits parity start bits flow cntrl AT SERIAL 1 9600 7 E 1 OK N Note Done Defined values lt n gt 0 Disable automatic serial settings 1 Enable automatic serial settings lt baudrate gt lt 300 600 1200 2400 4800 9600 19200 38400 57600 115200 gt lt data bits gt lt 7 8 gt lt parity gt lt n e 0 s m gt n None parity e Even parity o Odd parity s Space parity m mark parity lt stop bits gt lt 1 2 gt lt flow control gt None None for flow co
71. a bits with even parity Switch from offline to online mode See the ATO command description Bearer Type Selection CBST Description This command applies to both outgoing and incoming data calls but in a different way For an outgoing call the two parameters e g lt speed gt and lt ce gt are meaningful whereas for an incoming call only the lt ce gt parameter is used Note 1 For incoming calls if lt ce gt is set to T only and the network offers only NT or vice versa then the call is released Note 2 Values 2 and 3 for lt ce gt parameter are equivalent to former values 100 and 101 Those values are managed for compatibility purposes but they shouldn t be used in new code 2 as former 100 and 3 as former 101 Command syntax AT CBST lt speed gt lt name gt lt ce gt Command Possible responses AT CBST Note Test command CBST 0 8 65 66 68 70 71 0 0 3 OK Note Data 14 4 kbps not supported AT CBST Note Test command CBST 0 8 12 14 65 66 68 70 71 75 0 0 3 OK Note Data 14 4 kbps supported Note Current values AT CBST 7 0 1 OK Note Ask for a bearer Note Bearer supported AT CBST CBST 7 0 1 OK Note Command valid AT CBST 81 0 0 Note Ask for a bearer CME ERROR 4 Note Bearer not supported Defined values lt speed gt 0 default Autobauding modem type none 1 300 bps modem type V 21 2 1200 bps modem t
72. age received AT CNMA 2 2 lt CR gt gt 00D3 lt Ctrl Z gt Note Negative ACK to the SMS Reason is memory capacity exceeded OK AT CNMA 2 2 lt CR gt gt 00D0 lt Ctrl Z gt Note Negative ACK to the SMS Reason is SIM memory storage is full OK AT CNMA 2 2 lt CR gt gt 00D2 lt Ctrl Z gt Note Negative ACK to the SMS Reason is Error in MS OK AT CNMA 2 2 lt CR gt gt 00FF lt Ctrl Z gt Note Negative ACK to the SMS Unspecified error OK Defined values lt n gt Type of acknowledgement in PDU mode 0 send RP ACK without PDU same as TEXT mode 1 send RP ACK with optional PDU message 2 send RP ERROR with optional PDU message lt length gt Length of the PDU message Please refer to GSM 03 40 Recommendation for other PDU negative acknowledgement codes 7 4 OnCell G21501 AT Command Set Short Message Commands Preferred Message Storage CPMS Description This command allows the message storage area to be selected for reading writing etc Command syntax AT CPMS lt mem1 gt lt mem2 gt lt mem3 gt Command Possible responses AT CPMS CPMS SM ME BM SR SM ME SM ME OK Note Possible message storages Note Read list delete SMS or SMS Status Report Write send SMS AT CPMS CPMS SM 3 10 SM 3 10 SM 3 10 OK Note Read write SMS from to SIM 3 SMS are Note
73. al Unblocking Key 2 needed to change the PIN2 lt Newpin2 gt Note PIN2 length is between 4 and 8 digits PUK2 length is 8 digits only PIN Remaining Attempt Number CPINC Description This specific command is used to get the number of valid attempts for PIN1 CHV1 PIN2 CHV2 PUK1 UNBLOCK CHV1 and PUK2 UNBLOCK CHV2 identifiers Command syntax AT CPINC Response syntax CPINC lt n1 gt lt n2 gt lt k1 gt lt k2 gt Command Possible responses AT CPINC Note Get the number of attempts left CPINC 2 3 10 10 OK Note First CHV1 attempt was a failure Note Get possible values AT CPINC CPINC 2 3 10 10 Note Get current values OK Note First attempt was a failure AT CPINC OK Defined values lt n1 gt lt n2 gt are the attempts left for PIN1 PIN2 0 blocked 3 max lt k1 gt lt k2 gt are the attempts left for PUK1 PUK2 0 blocked 10 max If the card is not present at the time of initialization CME ERROR 10 will be sent 6 4 OnCell G21501 AT Command Set Security Commands Facility Lock CLCK Description This command is used by the application to lock unlock or interrogate an ME or network facility lt fac gt Note Test SIM cards with MCC 001 E MNC 01 do not check PS PN PU PP and PC locks Command syntax AT CLCK lt fac gt lt mode gt lt passwd gt lt class gt Response syntax CLC
74. ameter which specifies the mean throughput class Subscribed by the Nwk default if value is omitted 100 0 22 bit s 200 0 44 bit s 500 1 11 bit s 1 000 2 2 bit s 2 000 4 4 bit s 5 000 11 1 bit s 10 000 22 bit s 20 000 44 bit s 50 000 111 bit s 10 100 000 0 22 kbits s 11 200 000 0 44 kbits s 12 500 000 1 11 kbits s 13 1 000 000 2 2 kbits s 14 2 000 000 4 4 kbits s 15 5 000 000 11 1 kbits s 16 10 000 000 22 kbits s 17 20 000 000 44 kbits s 18 50 000 000 111 kbits s 31 Best effort If a value is omitted for a particular class then it is considered to be unspecified Quality of Service Profile Minimum acceptable CGQMIN Description This command allows the TE to specify a minimum acceptable profile that is checked by the MT against the negotiated profile returned in the Activate PDP Context Accept message The set command specifies a profile for the context identified by the local context identification parameter lt cid gt Since this is the same parameter that is used in the CGDCONT command the CGQMIN command is an extension to the CGDCONT command The QoS profile consists of a number of parameters each of which may be set to a separate value A special form of the set command CGQMIN lt cid gt causes the minimum acceptable profile for context number lt cid gt to become undefined In this case no check is made against the nego
75. ands there is no locking of the interface between the SIM and the GSM application Since in this situation some command types and parameters can modify the wrong SIM files some operations described below are not allowed for CSIM command However it is possible to process them with the CRSM command Command syntax AT CSIM lt length gt lt command gt 3 8 OnCell G21501 AT Command Set General Commands Command Possible responses AT CSIME lt length gt lt command gt CSIM lt length gt lt response gt CME ERROR lt err gt AT CSIM OK AT CSIM OK Defined values lt length gt integer type Length of the characters that are sent to TE in lt command gt or lt response gt two times the actual length of the command or response For command sent to TE This value must be in the range 10 522 or a CME_ERROR 3 is returned lt command gt hexadecimal type Command passed on by the MT to the SIM in the format as described in GSM 11 11 or 3GPP TS 51 011 hexadecimal character format refer CSCS Second Byte Value not supported Due to the absence of locking a CME_ERROR 3 is returned for the following instructions See CRSM commands e D6 UPDATE BINARY s DC UPDATE RECORD e 32 INCREASE e 44 REHABILITATE e 04 INVALIDATE e 88 RUN GSM ALGORITHM e 20 VERIFY CHV e 24 CHANGE CHV e 26 DISABLE CHV e 28 ENABLE CHV e 2C UNBLOCK CHV e FA SLEEP e CO GET RESPONSE Second Byte Value wa
76. arameters are reset to their previous values if AT amp W was not used If you write entries in the phonebook CPBW and then reset the product directly AT CFUN 1 with no previous AT CFUN 0 command some entries may not be written the SIM task does not have enough time to write entries in the SIM card In addition the OK response will be sent at the last saved AT amp W baud rate defined by the IPR command With the autobauding mode the response can be at a different baud rate It is therefore preferable to save the defined baud rate with AT amp W before directly sending the AT CFUN 1 command Command syntax AT CFUN lt functionality level gt Command Possible responses AT CFUN CFUN 1 OK Note Ask for current functionality level Note Full functionality AT CFUN 0 OK Note Set minimum functionality IMSI detach Note Command valid procedure AT CFUN 1 OK Note Set the full functionality mode with a Note Command valid complete software reset Defined values lt functionality level gt 0 Set minimum functionality IMSI detach procedure 1 Set the full functionality mode with a complete software reset Phone Activity Status CPAS Description This command returns the activity status of the mobile equipment Command syntax AT CPAS Command Possible responses AT CPAS CPAS lt pas gt Note Current activity status OK Defined values lt pas gt 0 ready allow commands from TA TE
77. ators If operation mode is not allowed by the ME CME ERROR lt err gt is returned Command syntax AT CMEC lt keyp gt lt disp gt lt ind gt Response syntax CMEC lt keyp gt lt disp gt lt ind gt Command Possible responses AT CMEC lt keyp gt lt disp gt lt ind gt CME ERROR lt err gt AT CMEC lt keyp gt lt disp gt lt ind gt OK AT CMEC CMEC 2 0 0 OK AT CMEC CMEC 2 0 0 OK Note no change allowed Defined values lt keyp gt Defined values 0 ME can be operated only through its keypad execute command of CKPD cannot be used 1 ME can be operated only from TE with command CKPD 2 ME can be operated from both ME keypad and TE lt disp gt 0 only ME can write to its display command CDIS can only be used to read the display 1 only TE can write to ME display with command CDIS 2 ME display can be written by both ME and TE lt ind gt 0 only ME can set the status of its indicators command CIND can only be used to read the indicators 1 only TE can set the status of ME indicators with command CIND 2 ME indicators can be set by both ME and TE Indicator Control CIND Description This command is used to read or set the values of ME indicators If ME does not allow setting of indicators or ME is not currently reachable an error code is returned Command syntax Command Syntax AT CIND lt ind gt lt ind gt Response synt
78. ax CIND lt ind gt lt ind gt or CIND lt descr gt list of supported lt ind gt s lt descr gt list of supported lt ind gt s Command Possible responses AT CIND lt ind gt lt ind gt CME ERROR lt err gt Note ME not reachable OnCell G21501 AT Command Set General Commands AT CIND Note read ME indicators current values CIND lt ind gt lt ind gt OK AT CIND CIND 2 2 1 0 0 0 0 AT CIND Note read ME indicators possible values CIND lt descr gt list of supported lt ind gt s lt descr gt list of supprted lt ind gt s OK AT CIND CIND 1 2 1 1 0 0 0 Note battchg 1 max 5 signal 2 max 5 service 1 we are registered on the network message 1 a SMS has been received call 0 no call in progress roam 0 not roaming smsfull 0 SIM card is not full of SMS AT CIND Note read possible value for ME indicators CIND battchg 0 5 signal 0 5 service 0 1 message 0 1 call O 1 roam 0 1 smsfull 0 2 OK Defined values lt ind gt integer type value which shall be in range of corresponding lt descr gt 0 indicator is OFF or in state which can be identified as OFF state 1 indicator is ON or in a state that is more substantial than OFF state 2 this value is
79. ble responses ATD123456789 NO CARRIER Note Outgoing voice call Note Call setup failure AT CEER CEER Error lt xxx gt OK Note lt xxx gt is the cause information element values Note Ask for reason of release from GSM recommendation 04 08 or specific Call accepted NO CARRIER indicates that the AT CEER information is available for failure diagnosis Defined values No parameter 4 4 OnCell G21501 AT Command Set Call Control Commands DTMF Signals VTD VTS VTD description The product enables the user application to send DTMF tones over the GSM network This command is used to define tone duration the default value is 70 ms 5 ms according to 3GPP 23 014 Command syntax AT VTD lt n gt Command Possible responses AT VTD 6 OK Note To define 600 ms tone duration Note Command valid AT VTD 0 OK Note To set the default value 7045 ms AT VTD VTD lt n gt Note interrogate current tone duration OK AT VTD VTD 0 255 OK Defined values lt n gt tone duration This refers to an integer lt n gt that defines the length of tones emitted as a result of the VTS command This does not affect the D command A value different than zero causes a tone of duration lt n gt 100 milliseconds A value of zero default value causes a tone duration of 70 5 ms Note The value is used modulo 256 VTS description The product enables the user application to send DTMF tones over t
80. ch exactly The PDP addresses are considered to match if they are identical or if the address in the context definition is unspecified If any of this information is in conflict the command will fail The context is activated using the values for PDP type and PDP address provided by the network together with the other information found in the PDP context definition An APN may or may not be required depending on the application If no lt cid gt is given the MT will attempt to activate the context using the values for PDP type and PDP address provided by the network together with any other relevant information to the MT The other context parameters will be set to their default values If the activation is successful data transfer may proceed After data transfer is complete and the layer 2 protocol termination procedure has completed successfully the V 25ter command state is re entered and the MT returns the final result code OK In the event of an erroneous termination or a failure to startup the V 25ter command state is re entered and the MT returns the final result code NO CARRIER or if enabled CME ERROR Attach activate and other errors may be reported It is also an error to issue the CGANS command when there is no outstanding network request This command may be used in both normal and modem compatibility modes Command syntax Command Possible responses CGANS lt response gt lt cid gt OK ERROR C
81. controlled by the S0 command Manual control uses the A and H commands respectively to accept and reject GPRS requests CGANS may also be used Circuit switched calls are handled as described elsewhere in this specification Note In class CGPRS the modem can t receive simultaneously GPRS and GSM incoming calls Example AT CGAUTO CGAUTO 0 2 OK AT CGAUTO CGAUTO 0 2 OK AT CGAUTO 0 OK Manual Response to a Network Request for PDP Context Activation CGANS Description The execution command requests the MT to respond to a network request for GPRS PDP context activation that has been signaled to the TE by the RING or CRING unsolicited result code The lt response gt parameter allows the TE to accept or reject the request If lt response gt is 0 the request is rejected and the MT returns OK to the TE If lt response gt is 1 the following procedure is followed by the MT PDP context activation procedures take place prior to or during the PDP startup One lt cid gt may be specified in order to provide the values needed for the context activation request 10 15 OnCell G21501 AT Command Set GPRS Commands During the PDP startup procedure the MT has the PDP type and the PDP address provided by the network in the Request PDP Context Activation message If a lt cid gt is given its information must match the PDP type and PDP address in the network request as follows The PDP type must mat
82. cope of the Document This document describes the AT command based messages exchanged between an application and the OnCell G2150I for managing GSM related events or services External Application Send AT command Serial Link E Receive AT response Related Documents The interface specifications described here are based on the following recommendations 1 ETSI GSM 07 05 Digital cellular telecommunications system Phase 2 Use of DTE DCE interface for Short Message Service SMS and Cell Broadcast Service CBS 2 ETSI GSM 07 07 Digital cellular telecommunications system Phase 2 AT command set for GSM Mobile Equipment ME 3 ITU T Recommendation V 25ter Serial asynchronous automatic dialing and control 4 ETSI GSM 03 40 Digital cellular telecommunications system Phase 2 Technical implementation of the Short Message Service SMS Point to Point PP 5 ETSI GSM 03 38 Digital cellular telecommunications system Phase 2 Alphabets and language specific information 6 ETSI GSM 04 80 Digital cellular telecommunications system Phase 2 Mobile radio interface layer 3 Supplementary service specification Formats and coding 7 3GPP 05 02 3rd Generation Partnership Project Technical Specification Group GSM EDGE Radio Access Network Multiplexing and multiple access on the radio path 3GPP TS 05 02 V6 9 2 2001 04 ETSI Secretariat The following addresses may be of use in obtaining the latest GSM GPRS
83. cter of entered or displayed strings This is used to read or write phonebook entries parameters lt text gt lt address gt and lt mail gt You may also refer to the definition of CSCS above Command syntax AT WPCS lt Character Set gt Command Possible responses AT WPCS TRANSPARENT OK Note Transparent mode Note Command valid AT WPCS CUSTOM OK Note Custom character set Note Command valid AT WPCS WPCS TRANSPARENT HEX CUSTOM OK Note Get possible values Note Possible values Defined values lt Character Set gt TRANSPARENT Transparent mode The strings are displayed and entered as they are stored in SIM or in ME CUSTOM User defined character set cf WCCS command HEX Hexadecimal mode No character set used the user can read or write hexadecimal values Request IMSI CIMI Description This command is used to read and identify the IMSI International Mobile Subscriber Identity of the SIM card The PIN may need to be entered before reading the IMSI Command syntax AT CIMI Command Possible responses AT CIMI 208200120320598 Note Read the IMSI OK Note IMSI value 15 digits starting with MCC 3digits MNC 2digits 3 for PCS 1900 See appendix 19 Codes and values for MCC MNC description Defined values No parameters Card Identification CCID Description This command orders the product to read th
84. d CPWD Description This command is used by the application to change a password PIN call barring NCK etc The facility values lt fac gt are the same as for the CLCK command with a P2 facility to manage SIM PIN2 For the network lock PN unlocking is forbidden after 10 failed attempts to disable unlock the network lock with an incorrect password Command syntax AT CPWD lt fac gt lt oldpwd gt lt newpwd gt Command Possible responses AT CPWD Note Possible values CPWD PS 8 SC 8 CAOT AN OT 4 COSTA CAT A1 CIR AN CART A AG 4 CACT A P2 8 FD 8 CPN 8 PU 8 PP 8 PC 8 OK Note CHVI CHV2 must be on 8 digits maximum 4 mini For call barring on 4 digits maximum AT CPWD SC 1234 5555 Note Change PIN OK Note PIN was correct AT CPWD SC 1234 5555 Note Change PIN CME ERROR 16 Note PIN was wrong Note Change NCK AT CPIN 5555 OK Note Enter PIN Note PIN was correct AT CPWD PN 12345678 00000000 OK Note NCK changed for net lock Defined values lt fac gt facility e PS e SC e AO e OT es OX es AT e TR es AB e AG e AC e P2 e FD e SN e GU e lt p e i GE lt oldpwd gt lt newpwd gt On 4 or up to 8 or 16 digits according to the facility 6
85. d in the flash 7 20 OnCell G21501 AT Command Set Short Message Commands AT WMCP 0 OK Note Copy all the SMS from the SIM to the Flash AT CPMS CPMS ME 4 99 ME 4 99 SM 4 10 OK Note Read the SMS storage Note 4 SMS are stored in the flash Defined values lt mode gt Copy mode e 0 From the SIM to the Flash e 1 From the Flash to the SIM lt loc gt Location of the SMS to copy mandatory for lt mode gt 1 If this location is not defined all the SMS will be copied Note The SMS copied will have the first free location More Messages to Send CMMS Description This short message service oriented AT command allows to keep the link opened while sending several short messages within a short delay Command syntax AT CMMS lt mode gt Command Possible responses AT CMMS 0 OK Note Disable feature Note feature is disabled AT CMMS 1 OK Note Enable feature 1 time Note feature is enabled link is open AT CMMS 2 OK Note Enable feature Note feature is enabled link is open AT CMMS CMMS 2 OK AT CMMS CMMS 0 2 OK Defined values lt mode gt 0 Disable feature 1 Keep link opened while messages are sent If the delay between two messages exceeds 5 seconds the link is closed and the mode is reset to 0 the feature is disabled 2 Keep link opened while messages are sent If the delay between two messages exceeds 5 seconds the link
86. dcast message SMS CB CBM bytes in PDU mode AT CSCB 1 OK Note Deactivate the reception of CBMs Note CBM reception is completely stopped Defined values The lt bm gt parameter of CNMI command controls the message indication The activation of CBM reception lt mode gt 0 can select only specific Message Identifiers list in lt mids gt for specific Languages list in lt dcss gt but the deactivation stops any reception of CBMs only AT CSCB 1 is allowed Message Identifiers lt mids gt parameter indicates to which type of message identifiers the ME should listen lt dcss gt Supported languages German English Italian French Spanish Dutch Swedish Danish Portuguese Finnish 10 Norwegian 11 Greek 12 Turkish 13 Hungarian 14 Polish 32 Czech Cell Broadcast Message Identifiers WCBM Description This specific command is used to read the EF CBMI SIM file Remark The EF CBMI file is not used with the CSCB command The application should read this file using AT WCBM and combine the Message Identifiers with those required by the application Command syntax AT WCBM lt mids gt VD GJ Ch LN P AHA ra OO Command Possible responses 7 16 OnCell G21501 AT Command Set Short Message Commands AT WCBM 10 100 1000 10000 Note Write 4 message identifiers in EF CBMI OK Note CBMIs are stored in EF CBMI AT WCBM Note Read the CBMIs in EF CB
87. defGHI OK Note Message is read now AT CMGR 2 OK Note location empty AT CMGF gt 0 CMGR 1 CMGR 2 lt length gt lt CR gt lt LF gt lt pdu gt OK Note Message is stored but unsent no Note In PDU mode lt alpha gt field AT CMGF 1 CPMS SR CNMI 2 OK Note Reset to text mode set read memory to SR and allow storage of further SMS Status Report into SR memory AT CMSS 3 CMSS 160 Note Send an SMS previously stored OK CDSI SR 1 Note New SMS Status Report stored in SR memory at index I AT CMGR 1 Note Read the SMS Status Report CMGR REC UNREAD 6 160 433612345678 129 01 05 31 15 15 09 00 01 05 31 15 15 09 00 0 OK List Message CMGL Description This command allows the application to read stored messages by indicating the type of the message to read The messages are read from the memory selected by the CPMS command Command syntax AT CMGL lt stat gt Response syntax for text mode e CMGL lt index gt lt stat gt lt da oa gt lt alpha gt lt scts gt lt tooa toda gt lt length gt lt CR gt lt LF gt lt data gt for SMS DELIVER and SMS SUBMIT may be followed by other lt CR gt lt LF gt CMGL lt index gt CMGL lt index gt lt stat gt lt fo gt lt mr gt lt ra gt lt tora gt lt scts gt lt dt gt lt st gt for SMS STATUS REPORT only may be followed by other lt
88. e Enter PUK and new PIN Note Incorrect PUK AT CPIN 12345678 1234 OK Note Enter PUK and new PIN 2nd attempt Note PUK correct new PIN stored To ascertain which code must be entered or not the following query command can be used AT CPIN The possible responses are CPIN READY ME is not pending for any password CPIN SIM PIN CHV 1 is required CPIN SIM PUK PUK 1 is required CPIN SIM PIN2 CHV is required CPIN SIM PUK2 PUK2 is required CPIN PH SIM PIN SIM lock phone to SIM is required CPIN PH NET PIN Network personalization is required CME ERROR lt err gt SIM failure 13 absent 10 etc Please note that in this case the mobile equipment does not end its response with the OK string The response CME ERROR 13 SIM failure is returned after 10 unsuccessful PUK attempts The SIM card is then out of order and must be replaced by a new one Example 3 failed PIN validations 1 successful PUK validation 6 2 OnCell G21501 AT Command Set Security Commands AT CPIN Read the PIN status CPIN SIM PIN The product requires SIM PIN AT CPIN 1235 First attempt to enter a SIM PIN CME ERROR 16 Wrong PIN AT CPIN 1236 Second attempt CME ERROR 16 Wrong PIN AT CPIN 1237 Third attempt CME ERROR 16 Wrong PIN AT CPIN Read PIN state CPIN SIM PUK The product requires PUK AT CPIN 99999999 5678 The PUK is entered the new PIN shall be 5678 PUK OK validation is OK New Pin is
89. e EF CCID file on the SIM card Command syntax AT CCID Command Possible responses AT CCID CCID 123456789AB 111213141 Note Get card ID OK Note EF CCID is present hexadecimal format AT CCID CCID 123456789AB 111213141 Note Get current value OK Note Same result as CCID 3 4 OnCell G2150I1 AT Command Set General Commands AT CCID OK Note Get possible value Note No parameter but this command is valid Note if there is no EF CCID file present on the SIM the CCID answer will not be sent but the OK message will be returned Defined values No parameter Capabilities List GCAP Description This command gets the complete list of capabilities Command syntax AT GCAP Command Possible responses AT GCAP GCAP CGSM FCLASS OK Note Get capabilities list Note Supports GSM and FAX commands Defined values No parameter Repeat Last Command A Description This command repeats the previous command Only the A command itself cannot be repeated Command syntax A Command Possible responses A Note Repeat last command Defined values No parameter Power Off CPOF Description This specific command stops the GSM software stack as well as the hardware layer or the G2150I activity The AT CFUN 0 command is equivalent to CPOF Command syntax Command syntax AT CPOF 1 Command Possible response
90. e alarm Command Possible responses AT CALA 00 06 09 07 30 OK Note set an alarm for June gt 2000 at 7 30 am Note Alarm stored AT CALA 99 03 05 13 00 00 CME ERROR 3 Note set an alarm for March 5 1999 at 1 00 Note Invalid alarm date time expired pm AT CALA CALA 00 06 08 15 25 00 1 CALA 00 06 09 07 30 00 2 Note list all alarms CALA 00 06 10 23 59 00 3 Note three alarms are set index 1 2 3 CALA 00 06 08 15 25 00 1 Note an alarm occurs index 1 AT CALA 3 OK Note delete alarm index 3 Note Alarm index 3 deleted AT CALA CALA 00 06 09 07 30 00 2 Note list all alarms Note Only one alarm index 2 Defined values lt date and time string gt String format for alarms yy MM dd hh mm ss see CCLK Note Seconds are taken into account lt index gt offset in the alarm list range 1 to 16 Generic SIM Access CSIM Description This command allows direct control of the SIM by a distant application on the TE The lt command gt is sent without any modification to the SIM In the same manner the SIM lt response gt is sent back by the ME as it is The user shall then take care of processing SIM information within the frame specified by GSM as specified in GSM 11 11 or 3GPP TS 51 011 If operation mode is not allowed by the ME CME ERROR lt error gt is returned Between two successive CSIM comm
91. e command and gives possible responses in a readable format A Defined values paragraph provides parameter values and the AT command for the corresponding responses Schemas are provided where necessary 1 4 2 AT Command Features This chapter includes information about the AT Command Features of the OnCell G2150I The following topics are covered in this chapter LI Serial Line Settings LY Command Line LI Information Response and Result Codes OnCell G21501 AT Command Set AT Command Features Serial Line Settings A serial link handler is configured with the following default values factory settings e 115200 bps e 8 data bits 1 stop bit no parity e RTS CTS flow control Use the IPR IFC and ICF commands to change these settings Command Line Commands always start with AT which means ATtention and finish with a lt CR gt character Information Response and Result Codes Responses start and end with lt CR gt lt LF gt except for the ATVO DCE response format and the ATQI result code suppression commands e If the command syntax is incorrect the ERROR string is returned e If the command syntax is correct but the command is transmitted with the wrong parameters the CME ERROR lt Err gt or CMS ERROR lt SmsErr gt strings are returned with adequate error codes if CMEE was previously set to 1 By default CMEE is set to 0 and the error message is only ERROR e I
92. e gt numeric parameter that specifies the precedence class 0 Subscribed precedence subscribed by the Network by default if value is omitted 1 High priority service commitments shall be maintained ahead of precedence class 3 3 Low priority service commitments shall be maintained after precedence classes and 2 lt delay gt numeric parameter which specifies the delay class 0 Subscribed 1 Delay class 1 2 Delay class 2 3 Delay class 3 4 Delay class 4 Delay maximum values SDU size 128 bytes SDU size 1024 bytes Mean 95 percentile Mean 95 percentile Transfer Delay sec Transfer Delay sec Delay Class Delay sec Delay sec 0 Subscribed Subscribed by the Nwk default if value is omitted lt 0 5 lt 1 5 lt 2 lt 7 1 Predictive 2 Predictive lt 5 lt 25 lt 15 lt 75 3 Predictive lt 50 lt 250 lt 75 lt 375 4 Best Effort Unspecified 10 4 OnCell G21501 AT Command Set GPRS Commands lt reliability gt numeric parameter that specifies the reliability class 0 Subscribed 1 Up to 1 000 8 kbits s 2 Up to 2 000 16 kbits s 3 Up to 4 000 32 kbits s 4 Up to 8 000 64 kbits s 5 Up to 16 000 128 kbits s 6 Up to 32 000 256 kbits s 7 Up to 64 000 512 kbits s 8 Up to 128 000 1 024 kbits s 9 Up to 256 000 2 048 kbits s lt peak gt numeric parameter that specifies the peak throughput
93. e in Flash e SR Status Report message storage in SIM if the EF SMR file exists otherwise in the ME non volatile memory e BM CBM message storage in volatile memory Note SR ME non volatile memory is cleared when another SIM card is inserted It is kept even after a reset while the same SIM card is used lt mem2 gt Memory used to write and send messages e SM SMS message storage in SIM default e ME SMS message storage in Flash lt mem3 gt Memory to which received SMS are preferred to be stored e SM SMS message storage in SIM default e ME SMS message storage in Flash If the command is correct the following message indication is sent CPMS lt used1 gt lt totall gt lt used2 gt lt total2 gt lt used3 gt lt total3 gt When lt mem1 gt is selected all following CMGL CMGR and CMGD commands are related to the type of SMS stored in this memory The maximum number of SMS in flash is 99 When the G2150I is switched on lt mem1 gt lt mem2 gt and lt mem3 gt are initialized to SM Preferred Message Format CMGF Description The message formats supported are text mode and PDU mode In PDU mode a complete SMS Message including all header information is given as a binary string in hexadecimal format Therefore only the following set of characters is allowed 0 1 2 3 4 5 6 7 8 9 A B C D E F Each pair or character is converted to a byte e g 41 is converted to the ASCII character
94. e is provided by the product The intermediate result code represents current DCE DCE data compression type The format of this result code is as follows DR NONE Data compression is not in use DR V42B Rec V 42 bis is in use in both directions DR V42B RD Rec V 42 bis is in use in receive direction only DR V42B TD Rec V 42 bis is in use in transmit direction only The DR intermediate result code if enabled is issued before the final result code after the service report control CR and before the ILRR intermediate report Command syntax AT DR lt status gt Command Possible responses AT DR DR 0 1 OK Note Test command AT DR 1 OK Note Reporting enabled Note Command valid AT DR DR 1 Note Current value OK Note Command valid Defined values 0 disabled default value 1 enabled lt status gt state of the V42bis enabling Select Data Error Correcting Mode N Description This command controls the preferred error correcting mode for a data connection if the feature is provided by the product It can only be used for transparent data transmission If the MNP2 feature is provided the product authorizes MNP error correction mode Command syntax AT N lt n gt Command Possible responses AT NO OK Note no error correction AT N 0 Note Current value OK Note Command valid AT N4 CME ERROR 3 Defined values l
95. ecified This cause indicates that there has been interworking with a network which does not provide causes for actions it takes thus the precise cause for a message which is being sent cannot be determineed All values other than specified should be treated as error Cause No 41 Unsolicited Result Codes Verbose Result Code Numeric VO set Description CALA lt time string gt lt index gt As verbose Alarm notification CBM lt length gt lt pdu gt PDU As verbose Cell Broadcast Message directly or displayed CBM lt sn gt lt mid gt lt dcs gt lt page gt lt pages gt Text mode CBMI BM lt index gt As verbose Cell Broadcast Message stored in mem at location lt index gt CCCM lt ccm gt As verbose Current Call Meter value CCED lt values gt As verbose Cell Environment Description specific indication CCWA lt number gt lt type gt lt class gt As verbose Call Waiting number lt alpha gt CDS lt fo gt lt mr gt text mode As verbose SMS status report after sending a or CDS lt length gt _ PDU SMS CDSI lt mem gt lt index gt As verbose Incoming SMS Status Report after sending a SMS stored in lt mem gt SR at location lt index gt CKEV lt keynb gt As verbose Key press or release A 8 OnCell G2150 1 AT Command Set Result Codes Failure Causes and Other Tables
96. ected CPBS SM 8 10 Note ADN phonebook is selected 8 locations are used and 10 locations are available ATD gt SM6 Note Call index 6 from ADN phonebook OK Note Call succeeds When the FDN phonebook has been locked only numbers beginning with the digits of FDN phonebook entries can be called For example if 014629 is entered in the FDN phonebook all the phone numbers beginning with these 6 digits can be called The CLIR supplementary service subscription can be overridden for this call only T means invocation restrict CLI presentation 66599 i means suppression allow CLI presentation 6699 Control of CUG supplementary service information by G or g is allowed for this call only The index and info values set with the CCUG command are used An outgoing call attempt could be refused if the AOC service is active and credit has expired NO CARRIER When trying to set up an outgoing call while there is an active call the active call is first put on hold then the call set up is carried out As per GSM 02 30 GSM sequences may be controlled using dial commands These sequences can contain but is forbidden If the sequence is not supported or fails CME ERROR lt err gt is returned In the case where the FDN phonebook is activated the sequence concerning call forwarding are allowed only if there are written in the FDN See paragraph 19 Cod
97. ed AT CICB 2 OK Note If no incoming bearer force a voice call Note Command accepted AT CICB CICB 2 OK Note Interrogate value Note Default incoming bearer voice call AT CICB CICB 0 2 OK Note Speech data or fax default incoming Note Test command bearer Defined values lt mode gt 0 Data 1 Fax 2 Speech 4 7 OnCell G21501 AT Command Set Call Control Commands Single Numbering Scheme CSNS Description This command selects the bearer to be used when an MT single numbering scheme call is set up see CICB Note Setting the CSNS command affects the current value of CICB Command syntax AT CSNS Command Possible responses AT CSNS 2 OK Note force a fax call Note Command accepted AT CSNS 0 OK Note force a voice call Note Command accepted AT CSNS CSNS 0 Note Interrogate value OK Note Default incoming bearer voice call AT CSNS CSNS 0 2 4 Note Test command OK Note Voice data or fax default incoming bearer Defined values lt mode gt 0 Data 1 Fax 2 Speech Gain Control VGR VGT Description This command is used by the application to tune the receive gain of the speaker and the transmit gain of the microphone Command syntax AT VGR lt Rgain gt AT VGT lt Tgain gt Command Possible responses AT VGR 25 OK Note Command valid AT VGT 45 OK Note Command valid AT VGR VGR 128 Note Interrogate value OK
98. eeeeeeeseeeeeeeeeeneeneeeeeees 11 1 Firmware Upgrade URG nt in or ea EEE A RE aR E RE REE RER Eni 11 2 Restore Default Setting DEFAULT eneee anea eiaa Eea rE SR ANA EAE 11 3 Automate PIN Entry USEPIN eree aee ranae E SE E ap e E EAE Ean at 11 4 Initial Strings BOOTSTR eea aoa EE E E E KE AS 11 5 Serial Port Configuration SERIAL AAA 11 6 SMS Tunnel Mode SMS saprene eneee aap E ae EE i ee E EE EE 11 7 Result Codes Failure Causes and Other Tables 0sssssssseseeeeeseees A 1 ME Error Result Code CME ERROR lt error gt ooo ee cece cese cece cree ceeeeneeeeeeeeeeeeeeeeneenseenaes A 2 Message Service Failure Result Code CMS ERROR lt er gt oo cceeseecssesseeseceeeeeceseeesereeaees A 3 Specific Error Result Codes A A 3 Failure Cause from GSM 04 08 Recommendation SCEER A 4 Specific Failure Cause for CEER AAA A 6 GSM 04 11 Annex E 2 Mobile Originating SM Vransfer cee ceeseceeeeceeeeeceeeeeeeseeneeeeene A 6 Unsolicited Result Codes isi 2 ccs ctiid ast isel aise aaee a slang ates eid elects A 8 Final Result Codes is cc sissaccsstestccdavecs E E E E eE E Er E ads A 9 Intermediate Result Codes l a a a aree EEN A 10 1 Introduction This chapter is an introduction to the OnCell G2150I AT Command Set The following topics are covered Scope of the Document Related Documents ETSI Secretariat Abbreviations Definitions Presentation Rules OOoOooo OnCell G21501 AT Command Set Introduction S
99. eference to be used 0 GPRS e 1 Circuit switched 2 GPRS preferred use circuit switched if GPRS is not available e 3 Circuit switched preferred use GPRS if circuit switched not available Other values are reserved and will result in an ERROR response to the set command GPRS Event Reporting CGEREP Description Set command enables or disables sending of unsolicited result codes CGEV XXX from MT to TE in the case of certain events occurring in the GPRS MT or the network lt mode gt controls the processing of unsolicited result codes specified within this command Read command returns the current mode and buffer settings Test command returns the modes and buffer settings supported by the MT as compound values Command syntax Command Possible responses CGEREP lt mode gt OK ERROR CGEREP CGEREP lt mode gt lt bfr gt OK CGEREP CGEREP list of supported lt mode gt s list of supported lt bfr gt s OK Defined values lt mode gt e 0 buffer unsolicited result codes in the MT if MT result code buffer is full the oldest ones can be discarded No codes are forwarded to the TE 2 buffer unsolicited result codes in the MT when MT TE link is reserved e g in on line data mode and flush them to the TE when MT TE link becomes available otherwise forward them directly to the TE lt bfr gt e 0 MT buffer of unsolicited result codes defined within this command is cleared
100. efined in GSM 11 11 or 3GPP TS 51 011 Optional files may not be present at all This value must be in the range 0 65535 else a CME_ERROR 3 is returned lt P1 gt lt P2 gt lt P3 gt integer type Parameters passed on by the MT to the SIM These parameters are mandatory for every command except GET RESPONSE and STATUS The values are described in GSM 11 11 or 3GPP TS 51 011 lt data gt hex type Information that will be written to the SIM hexadecimal character format refer CSCS lt swl gt lt sw2 gt integer type Information from the SIM about the execution of the actual command These parameters are delivered to the TE in both cases on successful or failed execution of the command lt response gt hexadecimal type Response of a successful completion of the command previously issued hexadecimal character format refer to CSCS STATUS and GET RESPONSE return data which gives information about the current elementary data field This information includes the type of file and its size refer 3 10 OnCell G21501 AT Command Set General Commands Mobile to GSM 11 11 or 3GPP TS 51 011 After the READ BINARY or READ RECORD command the requested data will be returned lt error gt integer type 3 Wrong format or parameters of the command 13 SIM no response Equipment Control Mode CMEC Description This command selects the equipment that operates the ME keypad writes to MI display and sets ME indic
101. egistration and location information unsolicited result code CREG lt stat gt lt lac gt lt ci gt if there is a change of network cell lt stat gt 0 not registered ME is not currently searching for a new operator 1 registered home network 2 not registered ME currently searching for a new operator to register to 3 registration denied 4 unknown 5 registered roaming lt lac gt string type two byte location area code in hexadecimal format e g 00C3 equals 195 in decimal lt ci gt string type two byte cell ID in hexadecimal format Operator List Management WOLM Description This specific command allows a new or modified operator to be added to the PLMN list At most 10 PLMNs can be created and stored in the flash memory Please note that if two entries with the same network MCC MNC but have different names are entered the first one will be taken into account to have the name Command syntax AT WOLM lt mode gt lt loc gt lt NumOper gt lt short name gt lt long name gt Response syntax for AT WOLM OK Response syntax for AT WOLM lists all the PLMN in this list WOLM lt loc gt lt NumOper gt lt short name gt long name gt WOLM Command Possible responses AT WOLM 1 1 20812 WM WM PLMN OK Note Add anew PLMN at location 1 AT WOLM2 2 1 WOLM 1 20812 WM WM PLMN Note Read the PLMN at location 1 OK AT WOLM2 2 11 CME ERROR 21
102. egotiation the virtual channel will be set up according to the control channel lt subset gt setting 0 UIH frames used only lt port_speed gt transmission rate 1 9600 bit s 2 19200 bit s 3 38400 bit s 4 57600 bit s 5 115200 bit s Note e If port speed is not configured by the at CMUX command the current lt port_speed gt is the same as that displayed by at ipr command e If port speed is configured by the AT CMUX command the AT CMUX port speed setting is erasing the AT IPR port speed e At the end of the CMUX the lt port_speed gt displayed is the same as that displayed by the att ipr command lt N1 gt Maximum Frame Size 1 255 Default Value 31 lt T1 gt acknowledgement timer in units of 20 ms 1 128 1 unit lt gt 20 ms Default Value 5 100 ms lt N2 gt Maximum number of retransmission 0 255 Default Value 3 lt T2 gt response timer for the multiplexer control channel in units of 20 ms 1 128 1 unit lt gt 20 ms Default Value 15 300 ms NOTE lt T2 gt must be longer than lt T1 gt lt T3 gt wake up response timer in units of 2 seconds 1 128 1 unit lt gt 2 s Default Value 5 10 s 3 14 4 Call Control Commands This chapter includes information about the Call Control Commands of the OnCell G2150I The following topics are covered in this chapter Dial Command D Hang Up Command H Answer a Call A Remote Disconnection Extended Error Report CEER DTMF Signals VTD VTS
103. ent Identity a 15 digit number Command syntax AT CGSN Command Possible responses AT CGSN 012345678901234 OK Note Get the IMEI Note IMEI read from EEPROM AT CGSN CME ERROR 22 Note Get the IMEI Note IMEI not found in EERPROM Defined values No parameter Select TE Character Set CSCS Description This command informs the ME which character set is used by the TE The ME can convert each character of entered or displayed strings This is used to send read or write short messages See also WPCS for the phonebooks character sets Command syntax AT CSGS lt Character Set gt Command Possible responses AT CSCS GSM OK Note GSM default alphabet Note Command valid AT CSCS PCCP437 OK Note PC character set code page 437 Note Command valid AT CSCS CSCS GSM PCCP437 CUSTOM HEX OK Note Get possible values Note Possible values Defined values lt Character Set gt GSM GSM default alphabet PCCP437 PC character set code page 437 CUSTOM User defined character set cf WCCS command HEX Hexadecimal mode No character set used the user can read or write hexadecimal values 3 3 OnCell G21501 AT Command Set General Commands Phonebook Character Set WPCS Description This specific command informs the ME which character set is used by the TE for the phonebooks The ME can convert each chara
104. er Enter PIN CPIN Enter PIN2 CPIN2 PIN Remaining Attempt Number CPINC Facility Lock CLCK Change Password CPWD UUUUO OnCell G21501 AT Command Set Security Commands Enter PIN CPIN Description This command is used to enter the ME passwords CHV1 CHV2 PUK1 PUK2 etc that are required before any ME functionality can be used CHV 1 CHV2 is between 4 and 8 digits long PUK1 PUK2 is only 8 digits long If the user application tries to make an outgoing call before the SIM PIN code CHV1 has been confirmed then the product will refuse the ATD command with a CME ERROR 11 SIM PIN required The application is responsible for checking the PIN after each reset or power on if the PIN was enabled Command syntax AT CPIN lt pin gt Command Possible responses AT CPIN 1234 OK Note Enter PIN Note PIN code is correct AT CPIN 5678 CME ERROR 3 Note Enter PIN 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 lt Puk gt lt NewPin gt Command Possible responses AT CPIN 00000000 1234 CME ERROR 16 Not
105. es and values to have the list of supported sequences no reply timer fixed at 25 s Command Possible responses ATD 21 CCFC 0 7 Note Check any call forwarding status Note No call forwarding ATD 61 33146290800 25 OK Note Register call forwarding on no reply with Note done ATD 2 Note Bad sequence Defined values lt nb gt destination phone number CME ERROR 3 66599 lt I gt optional parameter I means invocation restrict CLI presentation i means suppression allow CLI presentation lt mem gt phonebook one of SM LD MC ON ME RC MT or SN A default value can be selected by CPBS command lt index gt call number at indicated offset from the phonebook selected by the CPBS command lt name gt call number corresponding to given name from the phonebook selected by the CPBS command Hang Up Command H Description The ATH or ATHO command is used by the application to disconnect the remote user In the case of multiple calls all calls are released active on hold and waiting calls The specific G2150I ATH1 command has been appended to disconnect the current outgoing call only in dialing or alerting state i e ATH1 can be used only after the ATD command and before its terminal response OK NO CARRIER It can be useful in the case of multiple calls Command syntax ATH lt n gt 4 3 OnCell G2
106. exts can be defined through MOXA software A special form of the set command CGDCONT lt cid gt causes the values for context number lt cid gt to become undefined The test command returns values supported as a compound value If the MT supports several PDP types lt PDP_type gt the parameter value ranges for each lt PDP_type gt are returned on a separate line The read command returns the current settings for each defined context The test command returns values supported as a compound value If the MT supports several PDP types lt PDP_type the parameter value ranges for each lt PDP_type gt are returned on a separate line Command syntax Command Possible responses AT CGDCONT lt cid gt OK lt PDP_type gt lt APN gt ERROR lt PDP_addr gt lt d_comp gt lt h_comp gt AT CGDCONT CGDCONT lt cid gt lt PDP_type gt lt APN gt lt PDP_addr gt lt data_comp gt lt head_comp gt lt CR gt lt LF gt CGDCONT lt cid gt lt PDP_type gt lt APN gt lt PDP_addr gt lt data_comp gt lt head_comp gt OK AT CGDCONT CGDCONT range of supported lt cid gt s lt PDP_type gt list of supported lt d_comp gt s list of supported lt h_comp gt s lt CR gt lt LF gt CGDCONT range of supported lt cid gt s lt PDP_type gt list of supported lt d_comp gt s list of supported lt h_comp gt s O AT CGDCONT 1 IP internet OK CGDCONT 2
107. f enabled CME ERROR being returned to the TE Subsequently when the MT announces a network request for PDP context activation by issuing the unsolicited result code RING or CRING to the TE this is followed by the intermediate result code CONNECT The MT then enters V 25ter online data state and follows the same procedure as it would after having received a CGANS 1 with lt cid gt values specified 10 14 OnCell G21501 AT Command Set GPRS Commands Command syntax Command Possible responses CGAUTO lt n gt OK ERROR CGAUTO CGAUTO lt n gt OK CGAUTO CGAUTO 0 3 OK Defined values lt n gt O turn off automatic response for GPRS only 1 turn on automatic response for GPRS only 2 modem compatibility mode GPRS only 3 modem compatibility mode GPRS and circuit switched calls default For lt n gt 0 GPRS network requests are manually accepted or rejected by the CGANS command For lt n gt 1 GPRS network requests are automatically accepted according to the description above For lt n gt 2 automatic acceptance of GPRS network requests is controlled by the S0 command Manual control uses the AT and H commands respectively to accept and reject GPRS requests CGANS may also be used Incoming circuit switched calls can be neither manually nor automatically answered For lt n gt 3 automatic acceptance of both GPRS network requests and incoming circuit switched calls is
108. f the command line has been executed successfully an OK string is returned In some cases such as AT CPIN or unsolicited incoming events the product does not return the OK string as a response In the following examples lt CR gt and lt CR gt lt LF gt are omitted intentionally 2 2 3 General Commands This chapter includes information about the General Commands of the OnCell G2150I The following topics are covered in this chapter OOOUOUOODOKDOOOOOOODOOOOOOD Manufacturer Identification CGMI Request Model Identification CGMM Request Revision Identification CGMR Product Serial Number CGSN Select TE Character Set CSCS Phonebook Character Set WPCS Request IMSI CIMI Card Identification CCID Capabilities List GCAP Repeat Last Command A Power Off CPOF Set Phone Functionality CFUN Phone Activity Status CPAS Report Mobile Equipment Errors CMEE Keypad Control CKPD Clock Management CCLK Alarm Management CALA Generic SIM Access CSIM Restricted SIM Access CRSM Mobile Equipment Control Mode CMEC Indicator Control CIND Multiplexing Mode CMUX OnCell G21501 AT Command Set General Commands Manufacturer Identification CGMI Description This command gives the manufacturer identification Command syntax AT CGMI Command Possible Responses AT CGMI WAVECOM MODEM OK Note Get manufacturer Note Command valid Wavecom modem identifica
109. features DATA RATES AUTOBAUD 300 1200 1200 75 2400 4800 9600 14400 DATA MODES T NT ASYNCHRONOUS FAX CLASS 1 2 OK Note Done ATI7 SPEECH CODINGS FR EFR HR AMR Note Modem voice features OK Note Done Defined values lt n gt 0 Display manufacturer followed by model identification equivalent to CGMI and CGMM refer to these commands for more precisions DNs GA classes Display revision identification equivalent to CGMR Display modem configuration in RAM equivalent to amp VO Display modem configuration in EEPROM equivalent to amp V1 Display modem data features Lists the supported data rates data modes and fax 7 Display modem voice features Other values OK string is sent back 9 9 OnCell G21501 AT Command Set V24 V25 Commands Data Commands Multiplexing WMUX Description This specific command allows managing the data AT commands multiplexing Command syntax AT WMUX lt mode gt Command Possible responses AT WMUX WMUX 0 1 OK AT WMUX WMUX 0 OK Note Data Commands multiplexing disabled AT WMUX 1 OK Note Enable Data Commands multiplexing Defined values lt mode gt 0 Multiplexing disabled When the product is online data communication in progress no AT command can be used default 1 Multiplexing enabled Data flows and AT commands are multiplexed while in online mode data communication in progress Note
110. fier lt dcs gt TP DCS 0x00 Data Coding Scheme 7 bits alphabet lt length gt TP UDL 0x04 User Data Length 4 characters of text TP UD OxC9 OxE9 0x34 0x0B User Data ISSY TPDU in hexadecimal format must be converted into two ASCII characters For example the byte 0x2A is presented to the ME as two characters 2 ASCII 50 and A ASCII 65 Save Settings CSAS Description All settings specified by the CSCA and CSMP commands are stored in EEPROM if the SIM card is a Phase card or in the SIM card if it is a Phase 2 SIM card Command syntax AT CSAS Command Possible responses AT CSAS OK Note Store CSCA and CSMP parameters Note Parameters saved Defined values No parameter Restore Settings CRES Description All settings specified in the CSCA and CSMP commands are restored from EEPROM if the SIM card is Phase 1 or from the SIM card if it is a Phase 2 one Command syntax AT CRES Command Possible responses AT CRES OK Note Restore CSCA and CSMP parameters Note Parameters restored Defined values No parameter Show Text Mode Parameters CSDH Description This command gives additional information on text mode result codes This information can be found in the description of the CMT CMGR CMGL commands and responses Command syntax AT CSDH lt n gt OnCell G21501 AT Command Set Short Message Commands Command Possible response
111. figuration amp V Description This command is used to display the modem configuration Command syntax AT amp V lt n gt The parameters displayed are the following Q vall V val2 SO val3 S2 val4 S3 val5 S4 val6 S5 val7 CR val8 CRC val9 CMEE vall0 CBST val11 SPEAKER val12 ECHO val13 amp C vall4 amp D val15 C vall6 IPR val17 ICF val18 IFC vall19 Command Possible responses AT amp V Q 0 V 1 S0 000 S2 043 3 013 S4 010 5 008 Note Display active parameters in RAM CR 0 CRC 0 CMEE 0 CBST 0 0 1 SPEAKER 0 ECHO 0 0 amp C 1 amp D 2 C 0 IPR 9600 ICF 3 4 IFC 2 2 OK Note Done For Echo the first value corresponds to Echo cancellation 1 Defined values lt n gt 0 Display the modem configuration in RAM default value if no parameter provided 1 Display the modem configuration in EEPROM 2 Display the modem factory configuration 9 8 OnCell G2150I1 AT Command Set V24 V25 Commands Request Identification Description This command causes the product to transmit one or more lines of specific information text Command syntax ATI lt n gt identifications Command Possible responses ATIO WAVECOM MODEM 900P Note Manufacturer and model OK Note GSM 900 MHz primary band ATI Note Revision identification 657_09g g Q2406B 2015268 100506 17 01 OK Note Software release 6 57 generated on the 5th of October 2006 ATI6 Note Modem data
112. gt s OK Defined values lt n gt 0 disable network registration unsolicited result code 1 enable network registration unsolicited result code CGREG lt stat gt 10 12 OnCell G21501 AT Command Set GPRS Commands 2 enable network registration and location information unsolicited result code CGREG lt stat gt lt lac gt lt ci gt lt stat gt not registered ME is not currently searching a new operator to register to registered home network not registered but ME is currently searching a new operator to register to registration denied unknown registered roaming lt lac gt string type two byte location area code in hexadecimal format lt ci gt string type two byte cell ID in hexadecimal format Ve ON EES Request GPRS IP Service D Description This command causes the MT to perform whatever actions are necessary to establish communication between the TE and the external PDN The V 25ter D Dial command causes the MT to enter the V 25ter online data state and with the TE to start the specified layer 2 protocol The MT return CONNECT to confirm acceptance of the command prior to entering the V 25ter online data state No further commands may follow on the AT command line The detailed behavior after the online data state has been entered is described briefly in clause 9 for IP of GSM 07 60 GPRS attachment and PDP context activation procedures may take place prior to or during the
113. h gt lt target phone 2 gt lt phone numbers in internal format starts with gt lt n gt 0 Disable SMS Tunnel mode 1 Enable SMS Tunnel mode lt x gt State of SMS IN 0 Disable SMS IN 1 Enable SMS IN lt y gt State of SMS OUT 0 Disable SMS OUT 1 Enable SMS OUT Example AT OK AT SMSOUT 0 8862891 91230 886289191231 11 7 OnCell G21501 AT Command Set MOXA Proprietary Commands SMSOUT Configured Encode 7 Bits GSM Text Receiver1 886289191230 Receiver2 886289191231 AT SMSIN 0 8862891 91230 886289191231 SMSIN Configured Encode 7 Bits GSM Text Sender1 886289191230 Sender2 886289191231 OK AT SMSTUN 1 OK AT SMSOUT Enter SMS Tunnel Mode Encode 7 Bits GSM Text Receiveri 886289191230 Receiver2 886289191231 SMSIn Encode 7 Bits GSM Text Sender1 886289191230 Sender2 886289191231 OK A Result Codes Failure Causes and Other Tables This chapter includes information about the Result Codes Failure Causes and Other Tables of the OnCell G2150I The following topics are covered in this chapter ME Error Result Code CME ERROR lt error gt Message Service Failure Result Code CMS ERROR lt er gt Specific Error Result Codes Failure Cause from GSM 04 08 Recommendation CEER Specific Failure Cause for CEER GSM 04 11 Annex E 2 Mobile Originating SM Transfer Unsolicited Result Codes Final Result Codes Intermediate Result Codes
114. hat CMUX 3 12 OnCell G21501 AT Command Set General Commands command is ignored and the modem will return a CME ERROR lt err gt response Restrictions e Only basic option and UIH framing is supported e Only convergence layers type and 3 are supported e Autobauding is not compliant with multiplexing mode It is neither possible to start multiplexing when autobauding is active AT IPR 0 nor to set autobauding during multiplexing mode since the multiplexer uses only a fixed baudrate In the same way the bit rate cannot be changed through the AT IPR command while multiplexing mode is active Therefore the AT IPR lt rate gt command should not be used and will have no effect e Before starting multiplexing mode port speed must be configured by the AT IPR lt rate gt command to be compliant with values defined in 4 24 3 Defined valuesfor lt port_speed gt parameter Specific behaviors e In multiplexing mode AT configuration commands AT CMEE for example will be applied to all logical channels e In multiplexing mode unsolicited result code will be sent to all logical channels e Since AT commands are grouped by classes launching an AT command from a port causes the lock of all commands belonging to the same class If an AT command of the locked class is launched from another port a CME ERROR 536 will occur as long as the class is not released at first command completion time e In internal mode if GPS is used on UART2 i
115. he GSM network This command enables tones to be transmitted only when there is an active call Command syntax AT VTS lt Tone gt Command Possible responses AT VTS A OK Note Command valid AT VTS 11 CME ERROR 3 Note If the lt Tone gt is wrong AT VTS 4 CME ERROR 3 Note If there is no communication AT VTS 1734 VTS 3 34 VTS OK Note send tone sequence 13 Defined values lt Tone gt DTMF tone to transmit lt Tone gt is in 0 9 A B C D Redial Last Telephone Number ATDL Description This command is used by the application to redial the last number used in the ATD command The last number dialed is displayed followed by for voice calls only Command syntax ATDL Command Possible responses ATDL 0146290800 Note Redial last number OK Note Last call was a voice call Command valid Defined values No parameter 4 5 OnCell G21501 AT Command Set Call Control Commands Automatic Dialing with DTR AT Dn Description This command enables and disables e automatic dialing of the phone number stored in the first location of the ADN phonebook or FDN phonebook if it is activated using CLCK command automatic sending of the short message SMS stored in the first location of the SIM The number is dialed when DTR OFF switches to ON The short message is sent when DTR OFF switches to ON Command syntax AT D lt n gt
116. he operator in long or short alphanumeric format see appendix 19 Codes and values for operator names description lt lac gt is the two bytes Location on Area Code to be used to get the PLMN name If it is not entered Current lac will be used 0 if limited service It is provided as an integer value lt PlmnOns gt is a bit field with following coding bit 0 E ONS bit 1 CPHS bit 2 SPN bit 3 NITZ bit4 FLASH Bit 4 FLASH Bit 3 NITZ Bit 2 SPN Bit 1 CPHS Bit 0 E ONS Bit value is 1 for Activate and 0 for Deactivate the method lt PlmnOns gt value should be provided as a decimal value 1 1 1 1 1 Note For example lt PlmnOns gt 31 means that the four methods will be used for PLMN names bit field value is 1111 or Ox1F 5 7 OnCell G21501 AT Command Set Network Service Commands PLMN OK Selection of Preferred PLMN List CPLS Description This command is used to select one PLMN selector with access technology list in the SIM card that is used by AT CPOL command Command syntax AT CPLS lt List gt Command Possible responses AT CPLS CPLS 1 OK Note Ask for selection of the SIM file Note EF_OPLMNWAct is selected AT CPLS 0 Note if EF_PLMNwWAct is not present Note selection of EF_PLMNwAct EF_PLMNsel will be selected AT CPLS 1 CME ERROR 3 Note selection of EF_OPLMNwAct Note EF_OPLMNWAct is not present 5 8 OnCell G2150I1 AT Command Set Network Service Commands
117. hnical or typographical errors Changes are periodically made to the information herein to correct such errors and these changes are incorporated into new editions of the publication Chapter 1 Chapter 2 Chapter 3 Chapter 4 Table of Contents ele LO eaa areenan ere aaa eeraa an nea aaae eaa aea SREE FEE EASE EES 1 1 Scope of the Documenta nare Rener a Pander e a A Sp ERr aR ANE rE 1 2 Related DoGutentgz ses ear i a ees E E E TAE EAEE RAE e 1 2 ERS Secretariat E a a a a E ae e A E 1 2 E e TE 1 3 Eu Te EE 1 4 Presentation Klees et keuaeg e E EEN EES hom aati SSES 1 4 AT Command Feattures ssccsesseesscerssecseesseeeseceneessenesenenersnecesensneesnenseense 2 1 Serial Line Setun gs is csvset ast ee Gia ah leiden ee hal i eee 2 2 Command Lite EE 2 2 Information Response and Result Codes 0 0 ceesseescsesesceseeecssecseesccneeseceaeeecsaecaeesecneeseenaseeeeas 2 2 General en EE 3 1 Manufacturer Identification COMTE 3 2 Request Model Identification COMM 3 2 Request Revision Identification SCOMR AA 3 3 Product Serial Number ZCO8N 3 3 Select TE Character Set CSCS u rei aE eE EEE E E E EE eE EE E EE E 3 3 Phonebook Character Set WPCS neer eee i EA E A iR 3 4 Request IMSE AOM e e eE cu EE Steg ENEE edd eng 3 4 Card Identification CCID s seseesseeessseseesseserstesetsesseetesstsetseserserseesesststessestesteserststrseserstesetet 3 4 Capabilities List FGCA Pargeta e orei eE a pies owiehe in e E RAPEN Era 3 5
118. in lt mem2 Total number of message locations in lt mem3 gt Validity Period of the short message default value is 167 7 2 OnCell G21501 AT Command Set Short Message Commands Select Message Service CSMS Description The supported services are originated SMS MO and terminated short message SMS MT Cell Broadcast Message SMS CB services Command syntax AT CSMS lt service gt Command Possible responses AT CSMS 0 CSMS 1 1 1 OK Note SMS AT command Phase 2 version Note SMS MO SMS MT and SMS CR supported 4 7 0 AT CSMS 1 CSMS 1 1 1 Note SMS AT command Phase 2 Note SMS MO SMS MT and SMS CB supported AT CSMS CSMS 0 1 1 1 Note Current values OK Note GSM 03 40 and 03 41 SMS AT command Phase 2 version 4 7 0 AT CSMS Note Possible services CSMS 0 1 OK Defined values lt service gt 0 SMS AT commands are compatible with GSM 07 05 Phase 2 version 4 7 0 1 SMS AT commands are compatible with GSM 07 05 Phase 2 version New Message Acknowledgement CNMA Description acknowledged This command allows reception of a new message routed directly to the TE to be e In TEXT mode only positive acknowledgement to the network RP ACK is possible e In PDU mode either positive RP ACK or negative RP ERROR acknowledgement to the network is possible Acknowledge with CNMA is possible only if the CSMS parameter is set to 1 CSMS 1 when a
119. ion SC to MS b1 0 amp b0 1 gt SMS SUBMIT in the direction MS to SC In text mode lt vp gt is only coded in relative format The default value is 167 24 hours This means that one byte can describe different values VP value Validity period value 0 to 143 VP 1 x 5 minutes up to 12 hours 144 to 167 12 hours VP 143 x 30 minutes 168 to 196 VP 166 x 1 day 197 to 255 VP 192 x 1 week lt pid gt is used to indicate the higher layer protocol being used or indicates inter working with a certain type of telematic device For example 0x22 is for group 3 fax 0x24 is for voice telephone 0x25 is for ERMES European Radio Messaging System lt dcs gt is used to determine the way the information is encoded Compressed text is not supported Only GSM default alphabet 8 bit data and UCS2 alphabet are supported Delete Message CMGD Description This command is used to delete one or several messages from preferred message storage BM SMS CB RAM storage SM SMSPP storage SIM storage or SR SMS Status Report storage Refer also to Preferred Message Storage CPMS command Command syntax AT CMGD lt Index gt lt DelFlag gt Command Possible responses CMTI SM 3 Note New message received AT CMGR 3 CMGR REC UNREAD 0146290800 Note Read it 98 10 01 18 19 20 00 lt CR gt lt LF gt Message received Note U
120. is closed Notes e The delay of 5 seconds complies with Rec 3GPP 27 005 3 5 6 e Before sending the last SMS in the link you must use AT tCMMS 0 command This command will indicate that the NEXT SMS will be the last one 7 21 8 Data Commands This chapter includes information about the Data Commands of the OnCell G2150I The following topics are covered in this chapter UOUUUOUUUUOOU Using AT Commands During a Data Connection Bearer Type Selection CBST Select Mode FCLASS Service Reporting Control CR Cellular Result Codes CRC DTE DCE Local Rate Reporting ILRR Radio Link Protocol Parameters CRLP Select Data Compression C V42 bis Data Compression DS V42 bis Data Compression Report ADR Select Data Error Correcting Mode N OnCell G21501 AT Command Set Data Commands Using AT Commands During a Data Connection To use AT Commands during a data connection e g while the product is in online mode it is necessary either to switch to offline mode or to use the specific WMUX command to enable Commands Data multiplexing Switch from online to offline mode To switch from online mode to offline mode the sequence must be sent Following this the product gets back to offline mode with an OK response and a AT command can be sent Note The sequence will only work with the ICF command using one of the following settings e 8 data bits with no parity e 7 dat
121. islot classes Multislot Maximum number of Minimum number of slots Type class slots of MS Rx Tx Sum Tta Ttb Tra Trb 2 2 1 3 3 2 3 1 1 8 4 1 5 3 1 2 1 1 10 4 2 5 3 1 2 1 1 12 4 4 5 2 1 2 1 1 NB Type 1 MS are not required to transmit and receive at the same time Remark When the G2150I is set in CG class the ME always make automatically a GPRS attachment after init so AT WGPRS always give WGPRS 0 0 for the parameter 0 Note Default value for mode 7 is 0 in this case no automatic GPRS reconnection to new operator is done when reaching border areas Full AT GPRS Command Examples Activation of an IP PDP context Example 1 AT CGPDCONT 1 IP internet CGDCONT 2 IP abc com OK ATD 99 1 CONNECT 10 21 OnCell G21501 AT Command Set GPRS Commands Example 2 AT CGCLASS CG OK CGREG 1 AT CGDCONT 1 IP internet OK AT CGQREQ 1 1 4 5 2 14 OK AT CGQMIN 1 1 4 5 2 14 OK AT CGATT 1 OK AT CGACT 1 1 OK Remark about CGDATA The goal of this command is the same as ATD 99 AT CGDATA 1 CONNECT CGEV NW DETACH Network request AT CGAUTO 0 OK CRING GPRS IP 211 45 89 152 AT CGANS 1 CONNECT Data transfer 10 22 11 MOXA Proprietary Commands This chapter includes information about the MOXA proprietary Commands of the OnCell G21501 The following topics are co
122. its full headers and trailers Note Command valid and verbose response text Defined values lt n gt 0 lt n gt 1 Information responses lt text gt lt CR gt lt LF gt lt CR gt lt LF gt lt text gt lt CR gt lt LF gt lt numeric code gt lt CR gt lt CR gt lt LF gt Result codes lt verbose code gt lt CR gt lt LF gt Default Configuration Z Description This command restores the configuration profile Any call is released Command syntax ATZ Command Possible responses ATZ Ok Note Command valid Defined values No parameter Save Configuration amp W Description This commands writes the active configuration to a non volatile memory EEPROM Command syntax AT amp W Command Possible responses AT amp W OK Note Writes current configuration to EEPROM Note Command valid Defined values No parameter 9 6 OnCell G21501 AT Command Set V24 V25 Commands Auto tests amp T Description Command syntax AT amp T lt n gt This command allows the triggering of various auto tests Command Possible responses AT amp TO Note Perform software auto tests OK Note No software problem detected all checksums are correct Note Stop the audio loop test open AT amp T1 OK Note Do the audio loop test close Note Command valid AT amp T2 OK Note Command valid Defined values lt n gt 0 Perfo
123. k lock 103 Illegal MS 3 CGATT 106 Ilegal ME 6 CGATT 107 GPRS services not allowed 7 CGATT 111 PLMN not allowed 11 CGATT 112 Location area not allowed 12 CGATT 113 Roaming not allowed in this area CGATT 13 132 service option not supported CGACT CGDATA ATD 99 32 133 requested service option not CGACT CGDATA ATD 99 subscribed 33 134 service option temporarily out of CGACT CGDATA ATD 99 order 34 OnCell G21501 AT Command Set Result Codes Failure Causes and Other Tables 148 unspecified GPRS error All GPRS commands 149 PDP authentication failure CGACT CGDATA ATD 99 150 invalid mobile class CGCLASS CGATT Message Service Failure Result Code CMS ERROR lt er gt lt er gt Meaning Resulting from the following commands 1 to 127 Error cause values from the GSM CMGS CMSS recommendation 04 11 Annex E 2 301 SMS service of ME reserved CSMS with CMS ERROR 301 302 Operation not allowed All SMS commands CMSS CMGL CPMS CSMP 303 Operation not supported All SMS commands 304 Invalid PDU mode parameter CMGS CMGW 305 Invalid text mode parameter CMGS CMGW CMSS 310 SIM not inserted All SMS commands 311 SIM PIN required All SMS commands 312 PH SIM PIN required All SMS commands 313 SIM failure All SMS commands 316 SIM PUK required All SMS commands 317 SIM PIN2
124. l Circuit Irned ON at the same time the CONNECT message is sent whereas the specification states the DCD should be turned ON after the CONNECT message was received Command syntax AT amp C lt n gt Command Possible responses AT amp CO OK Note DCD always on Note Command valid AT amp C1 OK Note DCD matches state of the remote Note Command valid modem s data carrier Defined values lt n gt 0 DCD always on 1 DCD matches state of the remote modem s data carrier Set DTR Signal amp D Description This command controls the Data Terminal Ready DTR signal Command syntax AT amp D lt n gt Command Possible responses AT amp DO OK Note The DTR signal is ignored Note Command valid 9 4 OnCell G21501 AT Command Set V24 V25 Commands AT amp D1 Note Modem switches from data to command mode when DTR switches from ON to OFF OK Note Command valid AT amp D2 Note When DTR switches from ON to OFF the call is released OK Note Command valid Defined values lt n gt 0 The DTR signal is ignored 1 Modem switches from data to command mode when DTR switches from ON to OFF 2 Upon DTR switch from ON to OFF the call is released Set DSR Signal amp S Description This command controls the Data Set Ready DSR signal Command syntax AT amp S lt n gt Command Possible responses AT amp SO OK Note DSR always on Note Command valid AT
125. le unspecified 65 Bearer service not implemented 68 ACM equal to or greater than ACMmax 69 Requested facility not implemented 70 Only restricted digital information bearer capability is available 79 Service or option not implemented unspecified 81 Invalid transaction identifier value 87 User not member of CUG 88 Incompatible destination 91 Invalid transit network selection 95 Semantically incorrect message 96 Invalid mandatory information 97 Message type non existent or not implemented 98 Message type not compatible with protocol state 99 Information element non existent or not implemented 100 Conditional IE error 101 Message not compatible with protocol state 102 Recovery on timer expiry 111 Protocol error unspecified 127 Interworking unspecified 224 MS requested detach 225 PDP unsuccessful activation cause MMI ignore 226 NWK requested Detach 227 Unsuccessful attach cause NO SERVICE 228 Unsuccessful attach cause NO ACCESS 229 Unsuccessful attach cause GPRS SERVICE REFUSED 230 PDP deactivation requested by Nwk A 5 OnCell G21501 AT Command Set Result Codes Failure Causes and Other Tables 231 PDP deactivation cause LLC link activation failed 232 PDP deactivation cause NWK reactivation with same TI 233 PDP deactivation cause GMM abort 234 PDP deactivation cause LLC or SNDCP failure 235 PDP unsuccessful activation cause GMM error 236 PDP unsuccessful activation cause NWK reject 23
126. matic Dialing with DTR ATotm 4 6 Automatic EM KREE 4 7 Incoming Call Bearer EIER eegene 4 7 Single Numbering Scheme ACHNR AA 4 8 Gain Control VGR NOT 4 8 Chapter 5 Chapter 6 Chapter 7 Chapter 8 Network Service COMMANAS 1 cccceececeeecceeescceeseeeeeeceeeseneeseneeeseeseseneesenees 5 1 Signal Quality SQ ees See Ei 5 2 Operator Selection COPS ere ee ee 5 2 Network Registration CREG mosneira ine aaa o e e E A Ea eap SR AE 5 4 Operator List Management WOLM ssessesesersreeesressrstsesesretsrstsrerreretsesesteretststerrerseeseseett 5 5 Read Operator Name W OPN eeose eee aie Ea e eir aE ESEE EEEN EEEREN EN oa 5 6 Selection of Preferred PLMN List ACHEN 5 8 Preferred Operator List ACPO defteg dacudese ee ege t veges Aea e EA n stint ege tege EN 5 9 Read Operator Names CCRN an e ege deed ege o ar n E EEE S EE A EREET 5 11 Security e ue E D 6 1 Enter PIN CPIN WEE 6 2 Enter PIN2 FCPIN2 ant en E a E A E E RET ES 6 3 PIN Remaining Attempt Number SCDIN AAA 6 4 Facility Lock FELEK inion ni Se anni ieee onion A RE 6 5 Change Passwords SCHWEESS ee aE Eer TEE ie Ea ES 6 7 Short Message Commands ssssnsssnnnnnnennnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn nnmnnn nnmn 7 1 Parameter Definitjons sessio tiei ari irane a iae E Ea a eae 7 2 Select Message Service CSMS rta re E E A E E E E S 7 3 New Message Acknowledgement ZCNMA 7 3 Preferred Message Storage ZCHMS 7 5 Preferred Message Format ACMO
127. meters As a response to the command MT sends the actual SIM information parameters and response data MT error result code CME ERROR may be returned when the command cannot be passed to the SIM but failure in the execution of the command in the SIM is reported in lt sw1 gt and lt sw2 gt parameters As for the CSIM command there is no locking between two successive commands The user should be aware of the precedence of the GSM application commands to the TE commands Command syntax AT CRSM lt command gt lt field gt lt P1 gt lt P2 gt lt P3 gt lt data gt Command Possible responses CRSM lt command gt lt field gt lt P1 gt lt CRSM lt sw1 gt lt sw2 gt lt response gt P2 gt lt P3 gt lt data gt CME ERROR lt err gt AT CRSM OK AT CRSM OK Defined values lt command gt integer type Command passed on by the MT to the SIM refer to GSM 11 11 or 3GPP51 011 176 READ BINARY 178 READ RECO 192 GET RESPONSE 242 STATUS all other values are reserved and the command will return CME ERROR 3 NOTE 1 The MT internally executes all commands necessary for selecting the desired file before performing the actual command lt field gt integer type This is the identifier of an elementary data file on the SIM It is mandatory for every command except STATUS lt field gt integer type NOTE 2 The range of valid file identifiers depends on the actual SIM and is d
128. nCell G2150I1 AT Command Set Network Service Commands CME ERROR 547 Emergency call is allowed without SIM Careful Error code CME ERROR 546 or CME ERROR 547 are only returned if SIM is not present The fact that network supports emergency calls CME ERROR 547 does not imply that emergency calls will work without a SIM The only way to know it is to try atd112 Response syntax for AT COPS COPS lt mode gt lt format gt lt oper gt Response syntax for AT COPS COPS list of supported lt stat gt long alphanumeric lt oper gt short alphanumeric lt oper gt s numeric lt oper gt s Notes If an incoming call occurs during a PLMN list request the operation is aborted CME ERROR 520 and the unsolicited RING appears If SPN Service Provider Name is present in the SIM it will be returned in both long and short alphanumeric lt oper gt fields The string in the short field will be the SPN truncated to the appropriate character number 10 The following operations are allowed without a SIM inserted or PIN activated AT COPS AT COPS AT COPS 1 2 lt plmn gt get current PLMN List allowed PLMN Set manually current PLMN Command Possible responses AT COPS Note Ask for current PLMN COPS 0 2 20801 OK Note Home PLMN is France Telecom Orange AT COPS Note Ask for PLMN list COPS 2 F SFR SFR 20810 OF BOUYGUES
129. nds The CGAUTO command is used to select modem compatibility mode Automatic response to a network request for PDP context activation S0 The V 25ter SO n Automatic answer command may be used to turn off n 0 and on n gt 0 the automatic response to a network request for a PDP context activation When the SO n n gt 0 command is received the MT attempt to perform a GPRS attach if it is not already attached Failure will result in ERROR being returned to the TE Subsequently the MT will announce a network request for PDP context activation by issuing the unsolicited result code RING to the TE followed by the intermediate result code CONNECT The MT then enters V 25ter online data state and follows the same procedure as it would after having received a CGANS 1 with no lt L2P gt or lt cid gt values specified Note The SO n n 0 command does not perform an automatic GPRS detach Manual acceptance of a network request for PDP context activation A The V 25ter A Answer command may be used to accept a network request for a PDP context activation announced by the unsolicited result code RING The MT responds with CONNECT enters V 25ter online data state and follows the same procedure as it would after having received a CGANS 1 with no lt cid gt value specified It is an error to issue the A command when there is no outstanding network request Manual rejection of a network request for PDP context
130. nnection e Multiplexing mode starts the connection 30 seconds After this timeout multiplexing mode is stopped and a previous physical port is reopened e DLC inactivity timeout 5 minutes This timeout is armed only if no DLC is opened to avoid to be blocked into only DLCO opening channel state After this timeout multiplexing mode stopped and previous physical port is reopened Command syntax AT CMUX lt mode gt lt subset gt lt port_speed gt lt N1 gt lt T1 gt lt N2 gt lt T2 gt lt T3 gt Response syntax CMUX lt mode gt lt subset gt lt port_speed gt lt N1 gt lt T1 gt lt N2 gt lt T2 gt lt T3 gt 3 13 OnCell G21501 AT Command Set General Commands Command Possible responses AT CMUX MUX 0 0 1 5 1 255 1 128 0 255 1 128 1 128 Note Get possible values OK AT CMUX CMUX lt mode gt lt subset gt lt port_speed gt lt N 1 gt lt T1 gt lt N2 Note Get current values gt lt T2 gt lt T3 gt OK or CME ERROR lt err gt AT CMUX lt mode gt lt subset gt lt OK port_speed gt lt N1 gt lt T1 gt lt N2 gt or lt T2 gt lt T3 gt CME ERROR lt err gt Note enter multiplex mode Defined values lt mode gt multiplexer Transparency Mechanism 0 Basic option lt subset gt This parameter defines the multiplexer control channel setup A virtual channel may subsequently be set up differently but if there is no settings n
131. nread message received from 0146290800 on the 01 10 1998 at 18H19m 20s AT CMGD 3 OK Note Delete it Note Message deleted 7 14 OnCell G21501 AT Command Set Short Message Commands AT CMGD 1 0 OK Note The message from the preferred message storage at the location 1 is deleted are deleted AT CMGD 1 1 OK Note All READ messages from the preferred message storage are deleted AT CMGD 1 2 OK Note All READ messages and SENT mobile originated messages AT CMGD 1 3 OK Note All READ SENT and UNSENT messages are deleted AT CMGD 1 4 OK Note All messages are deleted Defined values lt index gt If lt DelFlag gt 0 e 1 20 if the preferred message storage is BM e SIM dependant integer values in the range of SIM location number if the preferred message storage is SM or SR If lt DelFlag gt is gt 0 lt index gt is ignored lt DelFlag gt 0 Delete message at location lt index gt default value 1 Delete All READ messages 2 Delete All READ and SENT messages 3 Delete All READ SENT and UNSENT messages 4 Delete All messages If lt DelFlag gt is omitted default value is used Note When the preferred message storage is SR as SMS status reports are assumed to have a READ status if lt DelFlag gt is greater than 0 all SMS status reports will be deleted Service Center Address CSCA Description This command is
132. ntrol HW RTS CTS flow control Note If serial port manager function is enabled all serial port related AT commands will be monitored any changes will recorded automatically These commands includes AT IPR AT ICF AT IFC ATEO ATE1 Example AT OK AT SERIAL 1 115200 8 N 1 N OK OnCell G21501 AT Command Set MOXA Proprietary Commands SMS Tunnel Mode SMS Description This command configures the SMS Tunnel mode settings Command syntax AT SMSIN lt encoding gt lt receive phone 1 gt lt receive phone 2 gt AT SMSOUT lt encoding gt lt target phone 1 gt lt target phone 2 gt AT SMSTUN lt n gt AT SMSIO lt x gt lt y gt Command Possible responses AT SMSOUT SMSOUT 0 886289191230 8886289191231 AT SMSOUT 0 88689191230 OK 88689191231 Note Done AT SMSIN SMSIN 0 886289191230 8886289191231 AT SMSIN 0 88689191230 OK 88689191231 Note Done AT SMSTUN SMSTUN 0 1 AT SMSTUN 1 OK Note Done AT SMSIO SMSIO 0 1 0 1 AT SMSIO 0 1 OK Note Done Defined values lt encoding gt format of the send receive short message format 0 7 bits text format 1 8 bits binary 2 16 bits Unicode UCS2 format lt receive phone 1 gt lt phone numbers in internal format starts with gt lt receive phone 2 gt lt phone numbers in internal format starts with gt lt target phone 1 gt lt phone numbers in internal format starts wit
133. obile Station Class CGCLASS Description The set command is used to set the MT to operate according to the specified GPRS mobile class If the requested class is not supported an ERROR or CME ERROR response is returned The read command returns the current GPRS mobile class The test command is used for requesting information on the supported GPRS mobile classes Command syntax Command Possible responses AT CGCLASS lt class gt OK ERROR AT CGCLASS CGCLASS lt class gt OK AT CGCLASS CGCLASS list of supported lt class gt s OK AT CGCLASS CG Note Enter GPRS class C mode OK AT CGCLASS CC Note Enter GSM mode OK AT CGCLASS A Note Chosen class not supported CME ERROR 150 10 9 OnCell G2150I1 AT Command Set GPRS Commands AT CGCLASS CGCLASS CG CC OK AT CGCLASS CGCLASS CC OK Defined values lt class gt a string parameter that indicates the GPRS mobile class in descending order of functionality e A class A highest e B class B e CG class C in GPRS only mode e CC class C in circuit switched only mode lowest Other values are reserved and will result in an ERROR response to the set command If the MT is GPRS attached when the set command is issued with a lt class gt CC specified a GPRS detach request is sent to the network If the MT is GSM attached when the set command is i
134. ommand syntax AT IFC lt DCE_by_DTE gt lt DTE_by_DCE gt Command Possible responses AT IFC IFC 2 2 OK Note Current values AT IFC IFC 0 2 0 2 OK Note Possible values 9 3 OnCell G21501 AT Command Set V24 V25 Commands AT IFC 0 0 OK Note New values Defined values lt DCE_by_DTE gt 0 none supported 1 XOn Xoff local circuit 103 not supported 2 RTS supported 3 Xon Xoff global on circuit 103 not supported Important note When this parameter is set to 2 DTE invokes flow control through RTS DCE behavior is as follows If the DCE has never detected RTS in the high or ON condition since startup then it ignores RTS assuming this signal is not connected As soon as the DCE detects RTS high the signal acts on it Therefore subsequent RTS transition to OFF will prevent the DCE from sending any further data in both online and offline modes This behavior allows the user to use the default settings hardware flow control and leave RTS disconnected In the case where RTS is connected and is high at least once it acts on the DCE lt DTE_by_DCE gt 0 none supported 1 Xon Xoff circuit 104 not supported 2 CTS supported When this parameter is set to 0 none then CTS is kept high all the time Set DCD Signal amp C Description This command controls the Data Carrier Detect DCD signal G21500 products differ slightly from V25ter Recommendation DCD signa
135. on Address Value in string format lt tooa toda gt Type of Originating Destination Address lt stat gt Integer type in PDU mode default 2 for CMGW or string type in text 7 12 OnCell G21501 AT Command Set Short Message Commands mode default STO UNSENT for CMGW Indicates the status of message in memory If lt stat gt is omitted the stored message is considered as a message to send 0 REC UNREAD 1 REC READ 2 STO UNSENT 2 STO SENT lt length gt Length of the actual data unit in bytes Send Message From Storage CMSS Description This command sends a message stored at location value lt index gt Command syntax AT CMSS lt index gt lt da gt lt toda gt Response syntax CMSS lt mr gt or CMS ERROR lt err gt if sending fails If a new recipient address lt da gt is given it will be used instead of the one stored with the message Command Possible responses AT CMGW 0660123456 lt CR gt CMGW 5 Today is my birthday OK Note Message stored with index 5 AT CMSS 5 0680654321 CMSS lt mr gt OK Note Send the message 5 to a different Note Successful transmission destination number Set Text Mode Parameters CSMP Description This command is used to select a value for lt vp gt lt pid gt and lt dcs gt Command syntax AT CSMP lt fo gt lt vp gt lt pid gt lt dcs gt Command Possible responses AT CSMP CSMP 0 0 0
136. position of the operator record in the SIM preferred operator list Use AT CPOL 5 10 OnCell G21501 AT Command Set Network Service Commands to get the maximum index of the selected EF lt format gt 0 long alphanumeric format for lt oper gt 1 short alphanumeric format for lt oper gt 2 numeric format for lt oper gt lt oper gt character string or integer see lt format gt indicating operator identifier lt GSM_AcT gt GSM access technology lt GSMcomp_Act gt GSM compact access technology lt Utran_Act gt UTRA access technology 0 access technology not selected 1 access technology selected Read Operator Name COPN Description This command returns the list of all operator names in numeric and alphanumeric format stored in the G2150I Command syntax AT COPN Command response COPN lt NumOper gt lt AlphaOper gt Command Possible responses AT COPN COPN 23201 A1 COPN 23203 A max Note Ask for preferred list of networks COPN 23207 A tele ring COPN 23203 one OK CME ERROR lt err gt AT COPN OK Defined values lt NumOper gt is the operator in numeric format lt AlphaOper gt is the operator in long alphanumeric format see appendix 19 Codes and values for operator names description 6 Security Commands This chapter includes information about the Security Commands of the OnCell G2150I The following topics are covered in this chapt
137. red unsent messages STO SENT 3 stored sent messages ALL 4 all messages Note For SMS Status Reports only ALL 4 and READ 1 values of the lt stat gt parameter will list messages other values will only return OK Send Message CMGS Description The lt address gt field is the address of the terminal to which the message is sent To send the message simply type lt ctrl Z gt character ASCII 26 The text can contain all existing characters except lt ctrl Z gt and lt ESC gt ASCII 27 This command can be aborted using the lt ESC gt character when entering text In PDU mode only hexadecimal characters are used COO VAT Command syntax in text mode AT CMGS lt da gt lt toda gt lt CR gt text is entered lt ctrl Z ESC gt in PDU mode AT CMGS lt length gt lt CR gt PDU is entered lt ctrl Z ESC gt Command Possible responses AT CMGS 33146290800 lt CR gt Please call me soon Fred lt ctrl Z gt Note Send a message in text mode OnCell G21501 AT Command Set Short Message Commands CMGS lt mr gt OK Note Successful transmission AT CMGS lt length gt lt CR gt Note Send a message in PDU mode 1 3 lt pdu gt Note Enter message in PDU mode 2 3 lt ctrl Z gt CMGS lt mr gt Note End the message 3 3 OK Note Successful transmission The message reference lt mr g
138. required All SMS commands 318 SIM PUK2 required All SMS commands 321 Invalid memory index CMGR CMSS CMGD 322 SIM memory full CMGW 330 SC address unknown CSCA CMSS CMGS 340 no CNMA acknowledgement CNMA expected Specific Error Result Codes lt error gt Meaning Resulting from the following commands 500 unknown error All commands 512 MM establishment failure for CMGS CMSS CMS ERROR 512 SMS 513 Lower layer failure for SMS CMGS CMSS CMS ERROR 513 514 CP error for SMS CMGS CMSS CMS ERROR 514 515 Please wait init or command All commands CME ERROR 515 or CMS processing in ERROR 515 progress 517 SIM ToolKit facility not STGI supported OnCell G21501 AT Command Set Result Codes Failure Causes and Other Tables 518 SIM ToolKit indication not received STGI 519 Reset the product to activate or change a new echo cancellation algo ECHO VIP 520 Automatic abort about get plmn list for an incoming call COPS 526 PIN deactivation forbidden with this SIM card CLCK 527 Please wait RR or MM is busy Retry your selection later COPS 528 Location update failure Emergency calls only COPS 529 PLMN selection failure Emergency calls only COPS 531 SMS not sent the lt da gt is not in FDN phonebook and FDN lock is enabled
139. ric lt oper gt default value lt stat gt status of lt oper gt 0 unknown 1 available 2 current 3 forbidden lt oper gt operator identifier MCC MNC in numeric format only for operator selection The long alphanumeric format can be up to 16 characters long see appendix 19 Codes and values for operator names description field is Name The short alphanumeric format can be up to 10 characters long Network Registration CREG Description This command is used by the application to ascertain the registration status of the product Command syntax AT CREG lt mode gt CREG lt mode gt lt stat gt lt lac gt lt ci gt for AT CREG command only Note Disable network registration unsolicited result code Command Possible responses AT CREG CREG lt mode gt lt stat gt OK Note As defined here above AT CREG 0 OK Note Command valid AT CREG 1 Note Enable network registration unsolicited result code OK Note Command valid AT CREG 2 Note Enable network registration and location information unsolicited result code OK Note Command valid AT CREG CREG 0 2 Note 0 1 2 lt mode gt values are supported Defined values lt mode gt 5 4 OnCell G21501 AT Command Set Network Service Commands 0 Disable network registration unsolicited result code default 1 Enable network registration code result code CREG lt stat gt 2 Enable network r
140. ries to find the home operator and if found tries to register If not found the product automatically searches for another network e The product enters into manual automatic mode and then tries to find an operator as specified by the application as in manual mode If this attempt fails it enters automatic mode If this is successful the operator specified by the application is selected The mobile equipment then enters into automatic mode Note The read command returns the current mode and the currently selected operator In manual mode this PLMN may not be the one set by the application as it is in the search phase These commands are not allowed during communication Command syntax To force an attempt to select and register on a network the application must send the following command Command syntax AT COPS lt mode gt lt format gt lt oper gt Possible responses for AT COPS lt mode gt ERROR Responses Meaning OK Network is selected with full service CME ERROR 30 No network service CME ERROR 32 Network not allowed emergency calls only CME ERROR 3 Not allowed during Communication CME ERROR 4 Incorrect parameters CME ERROR 527 Please wait and retry your selection later CME ERROR 528 Location update failure emergency calls only CME ERROR 529 Selection failure emergency calls only CME ERROR 546 Emergency call is not allowed without SIM 5 2 O
141. rm software auto tests The response will be OK if no software problem is detected EEPROM RAM and ROM checksums otherwise a simple ERROR response is sent 1 Do the audio loop test close This is used to validate the audio loop microphone to speaker 2 Stop the audio loop test open This is used to validate the audio loop microphone to speaker Echo E Description This command is used to determine whether or not the modem echoes characters received by an external application DTE Command syntax ATE lt n gt Command Possible responses ATEO OK Note Characters are not echoed Note Done ATE1 OK Note Characters are echoed Note Done Defined values lt n gt 0 Characters are not echoed 1 Characters are echoed 9 7 OnCell G21501 AT Command Set V24 V25 Commands Restore Factory Settings amp F Description This command is used to restore the factory settings from EEPROM It only restores the parameters that can be found in paragraph 19 Codes and values Parameters Storage paragraph with AT amp F column checked Those parameters are restored in RAM and in E2P overwriting the profile set with AT amp W Command syntax AT amp F lt n gt Command Possible responses AT amp F OK Note Ask to restore the factory settings Note Done AT amp FO OK Note idem Note Done Defined values lt n gt 0 restore factory setting No other value supported Display Con
142. rning Due to the absence of locking the right response may not be returned for the following instructions See CRSM commands e C2 ENVELOPE e A2 SEEK e A4 SELECT Fifth Byte Value Restriction For the following instructions Second Byte e A4 SELECT e 10 TERMINAL PROFILE e C2 ENVELOPE e 14 TERMINAL RESPONSE e A2 SEEK the user must make sure that the value of the fifth Byte of the instruction corresponds to the length of bytes data starting from 6th byte which follow it The value of the Fifth Byte must be equal of the value lt length gt 2 5 or the command is not sent to the SIM and CME_ERROR 3 is returned lt error gt integer type 3 Wrong format or parameters of the command 13 SIM no response lt response gt hexadecimal type Response to the command passed on by the SIM to the MT in the format as described in GSM 11 11 or 3GPP TS 51 011 hexadecimal character format refer CSCS Notes The READ RECORD and SEEK actions on a transparent file return the status word 3 9 OnCell G21501 AT Command Set General Commands 9408 By using the AT CSIM command the READ RECORD and SEEK actions return 4 9408 instead of CME ERROR 13 Restricted SIM Access CRSM Description By using this command instead of Generic SIM Access the CSIM TE application gives easier but more limited access to the SIM database This command transmits to the MT the SIM lt command gt and its required para
143. s AT CPOF OK Note Stop GSM stack Note Command valid AT CPOF 1 OK Note Stop the Wireless CPU Note Command valid Note After AT CPOF 1 the G2150I will not respond to AT commands To reset it use the hard reset Note In autobaud mode after an AT CPOF unsolicited information waking up the G2150I is sent at 9600 bps until an AT command is sent When an AT command is sent the G2150I will synchronize with the sender s speed see CAUTION in 14 1 1 Defined values No parameter Set Phone Functionality CFUN Description This command selects the mobile station s level of functionality When the application wants to stop the product with a power off or if the application wants to force the product to execute an IMSI DETACH procedure then it must send AT CFUN 0 equivalent to 3 5 OnCell G21501 AT Command Set General Commands AT CPOF This command executes an IMSI DETACH and makes a backup copy of some internal parameters in SIM and in EEPROM The SIM card cannot then be accessed If the mobile equipment is not powered off by the application after this command has been sent a re start command AT CFUN 1 will have to issued to restart the whole GSM registration process If the mobile equipment is turned off after this command then a power on will automatically restart the whole GSM process The AT CFUN 1 command restarts the entire GSM stack and GSM functionality a complete software reset is performed All p
144. s AT CSDH 0 OK Note Set value to do not show AT CSDH CSDH 0 Note Current value OK Note Do not show header values Defined values lt n gt show indicator 0 do not show header values e 1 show the values in result codes New Message Indication CNMI Description This command selects the procedure for message reception from the network Command syntax AT CNMI lt mode gt lt mt gt lt bm gt lt ds gt lt bfr gt Command Possible responses AT CNMI 2 1 0 0 0 Note lt mt gt I1 OK AT CMTI SM 1 Note message received AT CNMI 2 2 0 0 0 Note lt mt gt 2 OK CMT 123456 98 10 01 12 30 00 00 129 4 32 240 15379 129 5 lt CR gt lt LF gt Note message received Note Send a message in text mode AT CNMI 2 0 0 1 0 OK Note lt ds gt 1 AT CMGS 33 146290800 lt CR gt CMGS 7 Happy Birthday lt ctrl Z gt OK Note Successful transmission CDS 2 116 33146290800 145 98 10 01 12 30 07 04 98 10 01 12 30 08 04 0 Note message was correctly delivered Defined values lt mode gt controls the processing of unsolicited result codes 0 Buffer unsolicited result codes in the TA If TA result code buffer is full indications can be buffered in some other place or the oldest indications may be discarded and replaced with the new received indications 1 Discard indication and reject new recei
145. s received a message where a A 7 OnCell G2150 1 AT Command Set Result Codes Failure Causes and Other Tables mandatory information element is missing and or has a content error the two cases are undistinguishable Cause No 97 Message type non existent or not implemented This cause indicates that the equipment sending this cause has received a message with a message type it does not recognize either because this is a message not defined or defined but not implemented by the equipment sending this cause Cause No 98 Message not compatible with short message protocol state This cause indicates that the equipment sending this cause has received a message such that the procedures do not indicate that this is a permissible message to receive while in the short message transfer state Cause No 99 Information element non existent or not implemented This cause indicates that the equipment sending this cause has received a message which includes unrecognized information elements because the information element identifier is not defined or it is defined but not implemented by the equipment sending the cause However the information element is not required to be present in the message so that the equipment sends the cause to process the message Cause No 111 Protocol error unspecified This cause is used to report a protocol error event only when no other cause applies Cause No 127 Interworking unsp
146. sreee 8 2 Bearer Type Selection CBS egene ee es aah a E E E E R R 8 2 Select Mode ECLASS sti sen Sets r ri SS E E E oS e te rs 8 3 Service Reporting Control ACHEN 8 3 Cellular Result Codes CRC ee tig iain eh ad Rd Mt al ae E a el Reet 8 4 DTE DCE Local Rate Reporting IL RR EA 8 4 Radio Link Protocol Parameters SCRLP A 8 5 Select Data Compression C see nics tata detested AER EES ees 8 6 V42 bis Data Compression ADR 8 6 V42 bis Data Compression Report ADR 8 7 Chapter 9 Chapter 10 Chapter 11 Appendix A Select Data Error Correcting Mode N eeeeeeescseeeeceseeeceseceeesecaeesecneeecsaeeeessecaeeseenecaeeasenees 8 7 V24 V25 el in e E 9 1 Fixed DTE R te IPR eege 9 2 DTE DCE Character Framing AIR 9 3 DTE DCE Local Flow Control 0FCR A 9 3 Set DCD EE EI 9 4 E RE UR EE 9 4 Set DSR Signal E 9 5 Back t Online Mode Dass shat nd ea a ieee E EREN EEES 9 5 Result Code Suppression E ees EENEG 9 5 DCE Response Formats Nees Een 9 6 Default Configurations Zst peepee rr osese ea Eder Ee Eder eg Ae 9 6 Save ConfiSuratrons EE 9 6 Autotests NEE EE 9 7 ECO EE 9 7 Restore Factory Settings Egeter eege tege ed dE e eE PEE S EPEE ones ia 9 8 Display Configurator KNV earar e a n re e a EE E E a E NER E 9 8 Request Identification T ereinen neen aere n aN e a e aean OESE Ed uer 9 9 Data Commands Multiplexing ZWMUN ccc ecesescsssecseesecseeeeceecneesecsaeeeesaecaeesecneseenaeenes 9 10 GPRS e En D 10 1
147. ssued with a lt class gt CG specified a GSM detach request is sent to the network Class A is not supported by G2150I GPRS software Remark During switch On in CG class the MS always performs an automatic GPRS attach the ATTACH STATUS parameter of WGPRS is ignored But if the MS is not already GPRS attached when switching from B CC class to CG class then no automatic GPRS attach is performed Example about automatic attachment see remark above AT CGCLASS CGCLASS B OK AT CGATT CGATT 0 OK AT CGCLASS CG OK AT CGATT CGATT 0 OK AT CGATT 1 OK AT CPOF OK AT CFUN 1 OK AT CGCLASS CGCLASS CG OK AT CGATT CGATT 1 OK Select Service for MO SMS Messages CGSMS Description The set command is used to specify the service or service preference that the MT will use to send MO SMS messages The read command returns the currently selected service or service preference The test command is used for requesting information on the currently available services and service preferences Command syntax 10 10 OnCell G21501 AT Command Set GPRS Commands Command Possible responses CGSMS lt service gt OK ERROR CGSMS CGSMS lt service gt OK CGSMS CGSMS list of currently available lt service gt s OK AT CGSMS 0 OK AT CGSMS CGSMS 0 3 OK Defined values lt service gt a numeric parameter which indicates the service or service pr
148. t which is returned to the application is allocated by the product This number begins with 0 and is incremented by one for each outgoing message successful and failure cases it is cyclic on one byte 0 follows 255 Note This number is not a storage number outgoing messages are not stored Write Message to Memory CMGW Description This command stores a message in memory either SMS SUBMIT or SMS DELIVERS The memory location lt index gt is returned no choice possible as with phonebooks CPBW Text or PDU is entered as described for the Send Message CMGS command Command syntax in text mode e lt index gt is returned in both cases AT CMGW lt oa da gt lt tooa toda gt lt stat gt lt CR gt enter text lt ctrl Z ESC gt in PDU mode e AT CMGW lt length gt lt stat gt lt CR gt give PDU lt ctrl Z ESC gt Response syntax CMGW lt index gt or CMS ERROR lt err gt if writing fails Command Possible responses AT CMGW 33146290800 lt CR gt Hello how are you lt ctrl Z gt Note Write a message in text mode CMGW 4 OK Note Message stored in index 4 AT CMGW lt length gt lt CR gt Note Write a message in PDU mode 1 3 lt pdu gt Note Enter message in PDU mode 2 3 lt ctrl Z gt CMGW lt index gt Note End the message 3 3 OK Note Message stored in lt index gt Defined values lt oa da gt Originating or Destinati
149. t 2400 or 4800 bauds once or twice or just AT at 9600 bauds to resynchronize the modem e The DTE waits for 1 ms after receiving the last character of the AT response which is always wm or Ox0A to send a new AT command at either the same rate or a new rate Should this delay be ignored the DCE can become desynchronized Once again sending ATW once or twice or just AT causes the DCE to recover Caution when starting up if autobauding is enabled and no AT command has yet been received the product sends all unsolicited responses like RING at 9600 baud Command syntax AT IPR lt rate gt Command Possible responses AT IPR IPR 9600 OK Note Current rate is 9600 bps AT IPR IPR 0 2400 4800 9600 19200 38400 57600 300 600 1200 115200 OK Note Possible values according to V25ter Recommendation the first set of values indicates the range of auto detectable baud rates including 0 The second set of values indicates the baud rates supported by the DCE but not auto detectable AT IPR 38400 OK Note Disable autobauding and set rate to 38400 bps AT IPR 0 OK Note Enable autobauding Defined values lt rate gt baud rates that can be used by the DCE e 0 enables autobauding e 300 e 600 e 1200 e 2400 e 4800 e 9600 e 19200 e 38400 e 57600 e 115200 9 2 OnCell G21501 AT Command Set V24 V25 Commands DTE DCE Character Framing ICF Description
150. t T1 gt lt N2 gt lt ver gt Command Possible responses AT CRLP CRLP 0 61 0 61 40 255 1 255 0 Note Test command OK Note V42bis not supported AT CRLP CRLP 0 61 0 61 40 255 1 255 0 1 Note Test command OK Note V42bis supported AT CRLP 61 61 48 6 0 OK Note Set new parameters Note Command valid AT CRLP CRLP 61 61 48 6 0 Note Current values Note Command valid Defined values lt IWS gt Down window size default is 61 Range 0 to 61 lt mws gt Up window size default is 61 Range 0 to 61 lt T1 gt Acknowledgement timer in units of 10 ms default is 48 Range 40 to 255 lt N2 gt Retransmission attempts default is 6 Range to 255 lt ver gt Version number 0 V42bis is not supported 1 V42bis is supported OnCell G21501 AT Command Set Data Commands Select Data Compression C Description This command enables or disables data compression negotiation if this feature is supported by the product Command syntax AT C lt n gt Command Possible responses AT CO OK Note Command Note Feature supported AT C2 OK Note Command Note V42bis supported AT C 2 Note Current value OK Note Command valid Defined values lt n gt 0 no compression default value 2 V42bis compression if supported V42 bis Data Compression DS Description This command enables or disables V 42bis data compression if this feature is
151. t is not possible to start multiplexing mode on UART2 In the same way if multiplexing mode is started on UART2 it is not possible to use GPS in internal mode e If Bluetooth is started it is not possible to start multiplexing mode on UART2 In the same way if multiplexing mode is started on UART2 it is not possible to start Bluetooth e If TMT Terminal Emulator is launched on a specific UART it is not possible to start multiplexing mode on this UART TMT must be closed before starting multiplexing mode On the other hand as soon as multiplexing mode is started HAPC can be started on a DLC e After an AT CFUN 1 command during a multiplexing mode session multiplexing mode is automatically restarted by the modem with previous parameters and all previous opened DLCs are reopened with the speed of AT IPR Command e DCD RI and DTR signals are managed virtually when V24 sets DCD RI or DTR signals an MSC frame is sent to the remote part to indicate a virtual state change All is logical no physical signal is involved e Escape Sequence is always available to get offline e Flow control can be managed either physically or virtually by MSC By default the G2150I manages hardware flow control on a UART which becomes virtual on logical channels when some DLCs are opened e At multiplexing mode session stop it is not necessary to reset the G2150I it automatically goes back into AT mode e 2 timeouts are implemented for multiplexing mode co
152. t n gt 0 Disables error correction mode default value 5 Selects MNP error correction mode Note E prefixed commands of V 25 ter are not used 8 7 9 V24 V25 Commands This chapter includes information about the V24 V25 Commands of the OnCell G2150I The following topics are covered in this chapter Fixed DTE Rate IPR DTE DCE Character Framing ICF DTE DCE Local Flow Control IFCR Set DCD Signal amp C Set DTR Signal amp D Set DSR Signal amp S Back to Online Mode O Result Code Suppression Q DCE Response Format V Default Configuration Z Save Configuration amp W Auto tests ST Echo E Restore Factory Settings amp F Display Configuration amp V Request Identification I Data Commands Multiplexing WMUX OOOOUODODOOOODOOOOCD OnCell G21501 AT Command Set V24 V25 Commands Fixed DTE Rate IPR Description This command specifies the data rate at which the DCE will accept commands Notes e The serial autobauding feature is supported and covers the following serial speeds only 2400 4800 9600 19200 38400 57600 bps Beyond those serial speeds proper operation of the G2150I is not guaranteed e Any AT command issued by the DTE must start with both capital A and T or or both lower case a and t or otherwise the DCE may return some garbage characters and become desynchronized Should this happen the DTE simply issues AT r a
153. t reliability gt lt peak gt ERROR lt mean gt AT CGQREQ CGQREQ lt cid gt lt precedence gt lt delay gt lt reliability gt lt peak gt lt mean gt lt CR gt lt LF gt CGQREQ lt cid gt lt precedence gt lt delay gt lt reliability gt lt peak gt lt mean gt OK 10 3 OnCell G2150I1 AT Command Set GPRS Commands AT CGQREQ CGQREQ lt PDP_type gt list of supported lt precedence gt s list of supported lt delay gt s list of supported lt reliability gt s list of supported lt peak gt s list of supported lt mean gt s lt CR gt lt LF gt CGQREQ lt PDP_type gt list of supported lt precedence gt s list of supported lt delay gt s list of supported lt reliability gt s list of supported lt peak gt s list of supported lt mean gt s lt mean gt OK AT CGQREQ 1 1 4 5 2 14 OK AT CGQREQ lt cid gt lt precedence gt OK lt delay gt lt reliability gt lt peak gt ERROR AT CGQREQ CGQREQ lt cid gt lt precedence gt lt delay gt lt reliability gt lt peak gt lt mean gt lt CR gt lt LF gt CGQREQ lt cid gt lt precedence gt lt delay gt lt reliability gt lt peak gt lt mean gt bach OK Defined values lt cid gt numeric parameter that specifies a particular PDP context definition Range of values is 1 to 3 lt precedenc
154. tatic address it will be the one set by the CGDCONT command when the context was defined For a dynamic address it will be the one assigned during the last PDP context activation that used the context definition referred to by lt cid gt lt PDP_address gt is omitted if none is available Example In this example 3 CIDs are defined AT CGPADDR 1 CGPADDR 1 107 210 5 4 OK AT CGPADDR CGAPDDR 1 2 4 OK AT CGPADDR CGPADDR 1 CGPADDR 2 10 3 73 151 CGPADDR 4 Cellular Result Codes CRC Description This command enables a more detailed ring indication in case of an incoming call voice or data Instead of the string RING an extended string is used to indicate which type of call is ringing e g t CRING VOICE These extended indications are CRING ASYNC for asynchronous transparent CRING REL ASYNC for asynchronous non transparent CRING VOICE for normal speech CRING FAX for fax calls 10 17 OnCell G21501 AT Command Set GPRS Commands CRING GPRS GPRS network request for PDP context activation If the MT is unable to announce to the TE the network s request for example it is in V 25ter on line data state the MT rejects the request No corresponding unsolicited result code is issued when the MT returns to a command state Command syntax See Chapter 7 Cellular result codes CRC Defined values No parameter Ser
155. tiated profile The read command returns the current settings for each defined context The test command returns values supported as a compound value If the MT supports several PDP types the parameter value ranges for each PDP type are returned on a separate line Vi Di JA Ch LN E WW Vi DJ CL P L H ra GC Command syntax 10 6 OnCell G21501 AT Command Set GPRS Commands Command Possible responses AT CGQMIN lt cid gt OK gt lt delay gt ERROR lt precedence lt peak gt lt reliability gt lt mean gt AT CGQMIN CGQMIN lt cid gt lt precedence gt lt delay gt lt reliability gt lt peak gt lt mean gt lt CR gt lt LF gt CGQMIN lt cid gt lt precedence gt lt delay gt lt reliability gt lt peak gt lt mean gt OK AT CGQMIN CGQMIN lt PDP_type gt list of supported lt precedence gt s list of supported lt delay gt s list of supported lt reliability gt s list of supported lt peak gt s list of supported lt mean gt s lt CR gt lt LF gt CGQMIN lt PDP_type gt list of supported lt precedence gt s list of supported lt delay gt s list of supported lt reliability gt s list of supported lt peak gt s list of supported lt mean gt s OK AT CGQMIN 1 1 4 5 2 31 OK AT CGQMIN CGQMIN IP 1 3 1 4 1 5 1 9 1 31 CGQMIN PPP 1 3 1 4 1 5 1 9 1 31 OK AT CGQMIN CGQ
156. tion Defined values No parameters Request Model Identification CGMM Description This command is used to get the supported frequency bands With multi band products the response may be a combination of different bands Command syntax AT CGMM Command Possible Responses AT CGMM Note Get hardware version MULTIBAND 900E 1800 OK Note Multi band GSM 900 MHz extended band and DCS 1800 default configuration Note Get hardware version AT CGMM 900E OK Note Get hardware version Note 900 extended AT CGMM 1800 OK Note Get hardware version Note DCS AT CGMM 1900 OK Note Get hardware version Note PCS AT CGMM G850 OK Note GSM 850 AT CGMM Note Get hardware version MULTIBAND G850 1900 OK Note Multi band GSM 850 and PCS Defined values No parameters OnCell G21501 AT Command Set General Commands Request Revision Identification CGMR Description This command is used to get the revised software version This function only applies to default IP addresses Command syntax AT CGMR Command Possible responses AT CGMR 657_09 g 02406B 2015268 100506 17 01 OK Note Get software version Note Software release 6 57 generated on the 5 of October 2006 Defined values No parameters Product Serial Number CGSN Description This command allows the user application to get the product s IMEI International Mobile Equipm
157. ved message unsolicited result codes when TA TE link is reserved Otherwise forward them directly to the TE 2 Buffer unsolicited result codes in the TA when TA TE link is reserved and flush them to the TE after reservation Otherwise forward them directly to the TE 3 Forward unsolicited result codes directly to the TE TA TE link specific in band used to embed result codes and data when TA is in on line data mode Important note only lt mode gt 2 is supported Any other value for lt mode gt 0 1 or 3 is accepted return code will be OK but the processing of unsolicited result codes will be the same as with lt mode gt 2 lt mt gt sets the result code indication routing for SMS DELIVER indications Default is 1 0 No SMS DELIVER indications are routed OnCell G21501 AT Command Set Short Message Commands 1 SMS DELIVERs are routed using unsolicited code CMTI SM lt index gt 2 SMS DELIVERs except class 2 messages are routed using unsolicited code if PDU mode CMT lt alpha gt lt length gt lt CR gt lt LF gt lt pdu gt if text mode CMT lt oa gt lt alpha gt lt scts gt lt tooa gt lt fo gt lt pid gt lt dcs gt lt sca gt lt tosca gt lt length gt lt CR gt lt LF gt lt data gt 3 Class 3 SMS DELIVERS are routed directly using code in lt mt gt 2 Other classes messages result in indication lt mt gt 1 lt bm gt defines the rules for storing the received CBMs Cell Broadcast
158. vered in this chapter Firmware Upgrade UPG Restore Default Setting DEFAULT Automatic PIN Entry USEPIN Initial Strings BOOTSTR Serial Port Configuration SERIAL SMS Tunnel Mode SMS OOoOooo OnCell G21501 AT Command Set MOXA Proprietary Commands Firmware Upgrade UPG Description This command triggers a X modem checksum downloading session for G2150I firmware image Notes e There will always be risks when performing the firmware upgrade Ensure to have fixed physical connection on both the power and the signal lines and to have the correct image file e System responses with Clean up OK AU Done message on the terminal if the upgrade is successful e X modem receive timeout 10 sec Example AT UPG Moxa Firmware Upgrader v1 0 UPG 73851 bytes transferred in 45s Upgrading please keep power intact and wait for a moment CR WIND 13 Restoring modem defaults please wait OK Clean up OK All Done OK WIND 13 NOTE Upgrading the firmware will clear all the settings and reset the OnCell G2150I to its factory defaults OnCell G21501 AT Command Set MOXA Proprietary Commands Restore Default Setting DEFAULT Description This command resets the G2150I to its factory default Example AT DEFAULT DEFAULT reset modem configurations Restoring modem defaults please wit OK Clean up please wait Clean up OK All Done OK WIND 13 NOTE
159. vice Reporting Control CR Description This command enables a more detailed service reporting in case of an incoming or outgoing data call Before sending the CONNECT response to the application the G2150I will precise the type of data connection that have been established These reports types are CR ASYNC For asynchronous transparent CR REL ASYNC For asynchronous non transparent CR GPRS For GPRS Command syntax AT CR Command Possible responses AT CR 0 OK Note Extended reports disabled Note Command valid AT CR 1 OK Note Extended reports enabled Note Command valid Defined values No parameter Extended Error Report CEER Description This command gives the reason of the call release when the last call setup originating or answering failed New indication for GPRS is the reason of the last unsuccessful PDP context activation and the last GPRS detach or PDP context activation Command syntax AT CEER Command Possible responses ATD123456789 NO CARRIER Note Outgoing voice call Note Call setup failure AT CEER CEER Error lt xxx gt OK Note Ask for reason of release Note lt xxx gt is the cause information element values form GSM recommendation 04 08 or specific Call accepted Codes and values for specific GPRS failure causes values 224 to 238 The NO CARRIER indicates that the AT CEER information is available for a failure diagnostic
160. when lt mode gt 1 or 2 entered Only this case is supported by G21501 e 1 MT buffer of unsolicited result codes defined within this command is flushed to the TE when lt mode gt 2 is entered This case is not supported by G2150I With G2150I a combination of all modes is implemented When serial link is available indications are forwarded directly to the TE If serial link is reserved e g in on line data 10 11 OnCell G21501 AT Command Set GPRS Commands mode if MT result code buffer is full the oldest ones can be discarded Defined events The following unsolicited result codes and the corresponding events are defined GEV REJECT lt PDP_type gt lt PDP_addr gt A network request for PDP context activation occurred when the MT was unable to report it to the TE with a CRING unsolicited result code and was automatically rejected CGEV NW REACT lt PDP_type gt lt PDP_addr gt lt cid gt The network has requested a context reactivation The lt cid gt that was used to reactivate the context is provided if known to the MT CGEV NW DEACT lt PDP_type gt lt PDP_addr gt lt cid gt The network has forced a context deactivation The lt cid gt that was used to activate the context is provided if known to the MT CGEV ME DEACT lt PDP_type gt lt PDP_addr gt lt cid gt The mobile equipment has forced a context deactivation The lt cid gt that was used to activate the context is provided if known to the MT
161. ws the application to read stored messages The messages are read from the memory selected by CPMS command Command syntax AT CMGR lt index gt Response syntax for text mode e for SMS DELIVER only CMGR lt stat gt lt oa gt lt alpha gt lt scts gt lt tooa gt lt fo gt lt pid gt lt dcs gt lt sca gt lt tosca gt lt length gt lt CR gt lt LF gt lt data gt e for SMS SUBMIT only CMGR lt stat gt lt da gt lt alpha gt lt toda gt lt fo gt lt pid gt lt dcs gt lt vp gt lt sca gt lt tosca gt lt length gt lt CR gt lt LF gt lt data gt e for SMS STATUS REPORT only CMGR lt stat gt lt fo gt lt mr gt lt ra gt lt tora gt lt scts gt lt dt gt lt st gt Response syntax for PDU mode e CMGR lt stat gt lt alpha gt lt length gt lt CR gt lt LF gt lt pdu gt A message read with status REC UNREAD will be updated in memory with the status REC READ Note The lt stat gt parameter for SMS Status Reports is always READ 7 9 OnCell G21501 AT Command Set Short Message Commands Command Possible responses AT CMTI SM 1 Note New message received AT CMGR 1 CMGR REC UNREAD 0146290800 Note Read the message 98 10 01 18 22 11 00 lt CR gt lt LF gt ABCdefGHI OK AT CMGR 1 CMGR REC READ 0146290800 Note Read the message again 98 10 01 18 22 11 00 lt CR gt lt LF gt ABC
162. ype V 22 3 1200 75 bps modem type V 23 4 2400 bps modem type V 22bis 5 2400 bps modem type V 26ter 8 2 OnCell G21501 AT Command Set Data Commands 6 4800 bps modem type V 32 7 9600 bps modem type V 32 8 Specific 12 9600 bps modem type V 34 14 1400 bps modem type V 34 65 300 bps modem type V 110 66 1200 bps modem type V 110 68 2400 bps modem type V 110 70 4800 bps modem type V 110 71 9600 bps modem type V 110 75 14400 bps modem type V 110 This speed configures data and fax 14 4 kbps bearers lt name gt No data compression is provided and only asynchronous modem is supported lt name gt 0 lt ce gt Connection element 0 Transparent only 1 default Non transparent only 2 Transparent preferred 3 Non transparent preferred Select Mode FCLASS Description This command sets the product into a particular operating mode data or fax Command syntax AT FCLASS lt n gt Command Possible responses AT FCLASS Note Test command FCLASS 0 1 OK Note Fax class 2 not supported AT FCLASS FCLASS 0 1 2 Note Current value Note Test command OK Note Fax class 2 supported AT FCLASS 0 OK Note Data mode requested Note Command valid AT FCLASS 1 OK Note Fax class 1 mode requested Note Command valid AT FCLASS FCLASS 1 OK Note Command valid Defined values lt n gt 0 Data 1 Fax class
Download Pdf Manuals
Related Search
Related Contents
Samsung SGH-X210 Наръчник за потребителя Steel Mesh Swivel Rocker Assembly Instructions & User`s Manual Contents Finger Print Switch Sikapiso-40 Electrolux EL2/EL5 Vacuum Cleaner User Manual Operation and Service Manual Model Y140b – Rabbit 2 Thermo S300/S400/S400u/S405 User Guide V2.0 Documentation - Equipements Scientifiques Artwizz SeeJacket TPU Copyright © All rights reserved.
Failed to retrieve file