Table of Contents

Advertisement

Quick Links

ME3630
AT Command Reference Guide
Version: V2.7
Date: 2022-12-13
LTE Module Series
Website: www.gosuncnwelink.com
E-mail: welink@gosuncn.com

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ME3630 and is the answer not in the manual?

Questions and answers

Summary of Contents for GOSUNCN ME3630

  • Page 1 ME3630 AT Command Reference Guide Version: V2.7 Date: 2022-12-13 LTE Module Series Website: www.gosuncnwelink.com E-mail: welink@gosuncn.com...
  • Page 2: About This Document

    2. You can confirm the latest instruction set version by looking for the "GOSUNCN_xxxx_xxxx_Fimrware_Release_Notes" released together with the module software version. 3. Not all modules support the * standard instructions. For the actual supported version number, please refer to "GOSUNCN_xxxx_xxxx_Fimrware_Release_Notes" All Rights reserved, No Spreading without GOSUNCN Permission...
  • Page 3: Revision History

    Upgrade +CFUN parameter explain, Update response format of +ZECMCALL Delete default value of +CREG and +CEREG V2.3 2019-06-26 Add FTPs, MQTT, FILE,SSL related commands, +ZGXTRA,+HTTPSAVE,+ZIPUNACK,+ZIPALIVE, +ZPOWESAVE,+ZMQCFG,+ZCPWR,+ZHTTPCFG,+BANDEX,+ZGNMEAREQ,+ZSRVRSP Update commands +CSQ,+CMUX,MQTT, +ZMQCFG,+ZMQCON,+ZIPOPEN,+ZCDS Delete +ZGPSEVENT,+ZCOMDEL All Rights reserved, No Spreading without GOSUNCN Permission...
  • Page 4 Add command of ZIPSERPORT Update +zgpsr, +CNMI 2020-08-19 Add MQTT related error code, +ZSETDIV Update +ZHTTPPOST 2021-01-21 Update +ZWAKEUPSMS 2021-09-26 Update +ZRSPEXT V2.6 2022-02-08 Add commands of FTP FOTA Delete &C,&D,&S V2.7 2022-08-18 Update FOTA All Rights reserved, No Spreading without GOSUNCN Permission...
  • Page 5: Safety Information

    ME3630 module. Manufacturers of the cellular terminal should send the following safety information to users and operating personnel and to incorporate these guidelines into all manuals supplied with the product. If not so, GOSUNCN does not take on any liability for customer failure to comply with these precautions.
  • Page 6: Table Of Contents

    3.8. +GSN Request IMEI ....................... 20 3.9. +CGSN Request IMEI ......................21 3.10. +CIMI Request international mobile subscriber identity ............21 3.11. +ZGETICCID Get the ICCID of (U)SIM ..................21 3.12. +ZPCB Check PCB Version ....................22 All Rights reserved, No Spreading without GOSUNCN Permission...
  • Page 7 7.7. +CRES Restore Settings ......................46 7.8. +CNMI New Message Indications to TE ..................47 7.9. +CMGL List Messages ......................48 7.10. +CMGR Read Message ......................50 7.11. +CMGS Send Message ......................51 All Rights reserved, No Spreading without GOSUNCN Permission...
  • Page 8 9.4. +CGPADDR Show PDP address ....................92 9.5. +CGEREP Packet Domain event reporting ................. 93 9.6. +CGSMS Select service for MO SMS messages ................94 9.7. +ZSDHCPLEASE Set DHCP LEASE TIME* .................. 95 All Rights reserved, No Spreading without GOSUNCN Permission...
  • Page 9 11.15.4. GSA sentence ....................120 11.15.5. GSV sentence ....................121 11.15.6. RMC sentence ....................122 11.15.7. VTG sentence ....................122 11.16. +ZGNMEAREQ Query Specified NMEA message ..............123 11.17. GPS Example ........................124 All Rights reserved, No Spreading without GOSUNCN Permission VIII...
  • Page 10 14.6. $ZFTPSSIZE Get the Size of FTPs File ..................154 14.7. $ZFTPSGET Send GET request to FTPs server and Download File ..........155 14.8. $ZFTPSPUT Send PUT request to FTPs server and Upload File ..........155 All Rights reserved, No Spreading without GOSUNCN Permission...
  • Page 11 17.13. Related MQTT ERROR code ....................183 17.14. Examples: Creating an MQTT Connection ................184 18. File Operation Related AT Command ................ 186 18.1. +ZFILEPUT Upload File ......................186 18.2. +ZFILEDEL Delete Files ....................... 186 All Rights reserved, No Spreading without GOSUNCN Permission...
  • Page 12 20.5. +ZMODESET Connection Mode Setting .................. 195 20.6. +ZRTRFST Flow Statistics ....................195 20.7. +ZGSWCHECK Query status of Network card ................. 196 20.8. +ZDATAROAM Set the Roam status of module ............... 197 All Rights reserved, No Spreading without GOSUNCN Permission...
  • Page 13: Introduction

    • 3GPP TS 27.005 specification and rules http://www.3gpp.org/ftp/Specs/archive/27_series/27.005/ 1.2. Audience Readers of this document should be familiar with GOSUNCN modules and their ease of controlling by means of AT Commands. 1.3. Document Organization This document contains the following chapters: Chapter 1: “Introduction” provides a scope for this document, target audience, contact and support information, and text conventions.
  • Page 14: Introduction To At Commands

    - Action type commands. This type of command may be “executed” or “tested”. NOTE: The response to the Test Command (trailing =?) may be changed in the future by GOSUNCN to allow the description of new values/functionalities. If all the sub-parameters of a parameter type command +CMD are optional, issuing AT+CMD=<CR> causes the OK result code to be returned and the previous values of the omitted sub-parameters to be retained.
  • Page 15: Information Responses And Result Codes

    2.1.4. Command Response Time-Out Every command issued to the GOSUNCN modules returns a result response if response codes are enabled (default). The time needed to process the given command and return the response varies, depending on the command type. Commands that do not interact with the SIM or the network, and involve only internal set up settings or readings, have an immediate response, depending on SIM configuration(e.g., number of contacts stored in the phonebook, number of stored SMS), or on the network the command may interact...
  • Page 16: Command Issuing Timing

    ME3630 AT Command Reference Guide For DTMF sending and dialing commands timing is referred to module registered on network (“AT+CREG?” answer is “+CREG: 0, 1” or “+CREG: 0, 5”). Command Estimated maximum time to get response(Seconds) +COPS 180 (For test command)
  • Page 17: At Commands References

    ME3630 AT Command Reference Guide ATS5 AT+CFUN AT+CMEE AT+ZUFLOW AT+IPR AT+IFC AT+CLCK AT+CPWD AT+CPIN AT+CMGF AT+CSMP AT+CNMI AT+CPMS AT+ZSPWAKEUP AT+ZWAKEUPSMS AT+CREG AT+CEREG AT+COPS AT+CTZU AT+CTZR AT+ZSNT AT+ZSNTE AT+ZBAND AT+CGDCONT AT$QCPDPP AT+ZGMODE AT+ZGFIXRATE AT+ZGQOS AT+ZGURL AT+ZGPSAPN AT+ZGPSR AT+ZSWITCH AT+ZGPIO AT+ZADSET AT+ZSDT AT+ZIPCFG? 2.3.
  • Page 18 ME3630 AT Command Reference Guide Rights reserved, Spreading without GOSUNCN Permission...
  • Page 19: Identification Commands

    <manufacturer>:manufacturer <model>:Module name <revision>: Firmware information <SVN>: software version number(ME3630-E series module has no SVN response) <IMEI>:IMEI 3.2. +GMI Request manufacturer identification This command causes the DCE to transmit one or more lines of information text, determined by the manufacturer, which is intended to permit the user of the DCE to identify the manufacturer.
  • Page 20: Gmm Request Model Identification

    ME3630 AT Command Reference Guide +CGMI=? <CR><LF>OK<CR><LF> Parameter <manufacturer>: the total number of characters, including line terminators, in the information text shall not exceed 2048 characters. 3.4. +GMM Request model identification This command causes the DCE to transmit one or more lines of information text, determined by the manufacturer, which is intended to permit the user of the DCE to identify the specific model of device.
  • Page 21: Cgmr Request Revision Identification

    ME3630 AT Command Reference Guide Command Response +GMR <CR><LF><revision><CR><LF> <CR><LF>OK<CR><LF> <CR><LF>+CME ERROR: <err><CR><LF> Parameter <revision>: the total number of characters, including line terminators, in the information text shall not exceed 2048 characters. Example AT+GMR ME3630U1AV1.0B04 3.7. +CGMR Request revision identification Execution command returns device software revision number without command echo.
  • Page 22: Cgsn Request Imei

    ME3630 AT Command Reference Guide 356118040008583 3.9. +CGSN Request IMEI This command is used to request IMEI Command Response +CGSN <CR><LF><sn><CR><LF> <CR><LF>OK<CR><LF> <CR><LF>+CME ERROR: <err><CR><LF> +CGSN=? <CR><LF>OK<CR><LF> Parameter <sn>:IMEI (International Mobile Equipment Identity) Example AT+CGSN 356118040008583 // (or 0xA000001FA43F9C0) 3.10. +CIMI Request international mobile subscriber identity This command is used to request IMSI.
  • Page 23: Zpcb Check Pcb Version

    ME3630 AT Command Reference Guide Command Response +ZGETICCID <CR><LF>+ZGETICCID: <iccid><CR><LF> <CR><LF>OK<CR><LF> Parameter <iccid>: ICCID of (U)SIM Example AT+ZGETICCID +ZGETICCID: 86860460020123456381 3.12. +ZPCB Check PCB Version This command is used to check PCB Version. Command Response +ZPCB? <CR><LF>+ZPCB: <PCB version><CR><LF> <CR><LF>OK<CR><LF>...
  • Page 24: General Commands

    <CR><LF>OK<CR><LF> <CR><LF>+CME ERROR: <err><CR><LF> For LTE, the execution of AT&F commands will restored all AT commands, includes 3GPP AT commands and GOSUNCN defined AT commands, to the default value predefined in AT command table. AT Command Settings storable with AT&F:...
  • Page 25: V Display Current Configuration

    ME3630 AT Command Reference Guide 0: Set parameters to factory defaults. if parameter <n> is omitted, the command has the same behavior as AT&F0 Example AT&F 4.3. &V Display Current Configuration This command instructs the DCE to get all parameters values specified by the manufacturer, and it will returns the setting of several AT command parameters applicable to the current operating mode, including the single-letter AT command parameters which are not readable otherwise.
  • Page 26: O Return To Online Data State

    ME3630 AT Command Reference Guide except the following AT commands. The following AT commands will be got from the NV storage value set by AT&W. AT Command Settings storable with ATZ: AT Command Restored From AT&C AT&D AT&S +IFC NOTE: if parameter <val>is omitted, the command has the same behavior as ATZ0. The define value is 0, and the value can be available from the command AT&V or AT\S.
  • Page 27: E Command Echo

    ME3630 AT Command Reference Guide Example ATQ1 4.8. E Command Echo The setting of this parameter enables/disables the command echo. Command Response E[<val>] <CR><LF>OK<CR><LF> <CR><LF>+CME ERROR: <err><CR><LF> Parameter <val>: DCE disables command echo. (factory default) DCE enables command echo , hence command sent to the device are echoed back to the DTE.
  • Page 28: Cscs Select Te Character Set

    ME3630 AT Command Reference Guide NOTE: issuing AT+CFUN=4[,0] actually causes the module to perform either a network deregistration and a SIM deactivation. Test command returns values supported as a compound value. Command Response +CFUN=[<fun>[,<rst>]] <CR><LF>OK<CR><LF> <CR><LF>+CME ERROR: <err><CR><LF> +CFUN? <CR><LF>+CFUN: <fun><CR><LF>...
  • Page 29: Cmee Report Mobile Termination Error

    ME3630 AT Command Reference Guide +CSCS? <CR><LF>+CSCS: <chset><CR><LF> <CR><LF>OK<CR><LF> +CSCS=? <CR><LF>+CSCS: (list of supported <chset>s)<CR><LF> <CR><LF>OK<CR><LF> Parameter <chset>: (conversion schemes not listed here can be defined by manufacturers): "GSM" GSM 7 bit default alphabet (3GPP TS 23.038); this setting causes easily software flow control (XON/XOFF) problems NOTE 2: If MT is using GSM 7 bit default alphabet, its characters shall be padded with 8th bit (zero) before converting them to hexadecimal numbers (i.e.
  • Page 30: Cme Error Me Error Result Code

    ME3630 AT Command Reference Guide AT+CGMI ERROR AT+CMEE=1 (use numeric <err>) AT+CGMI +CME ERROR: 1 AT+CMEE=2 (use verbose <err>) AT+CGMI +CME ERROR: no connection to phone 4.13. +CME ERROR ME Error Result Code This is NOT a command; it is the error response to +Cxxx 3gpp TS 27.007 commands.
  • Page 31 ME3630 AT Command Reference Guide Not found Memory failure Text string too long Invalid characters in text string Dial string too long Invalid characters in dial string No network service Network timer-out Network not allowed -emergency calls only Network personalization PIN required...
  • Page 32 ME3630 AT Command Reference Guide VBS / VGCS and eMLPP -related errors VBS/VGCS not supported by the network No service subscription on SIM No subscription for group ID Group Id not activated on SIM No matching notification VBS/VGCS call already present...
  • Page 33: Serial Interface Control Commands

    ME3630 AT Command Reference Guide 5. Serial Interface Control Commands 5.1. +IFC DTE-DCE Local Flow Control(not support yet) This set command is used to control the operation of local flow control between the DTE and DCE during the data state. It accepts two numeric subparameters: <DCE_by_DTE>, which specifies the method to be used by the DTE to control the flow of received data from the DCE;...
  • Page 34: Zuflow 4-Wires Uart Flow Control Command

    ME3630 AT Command Reference Guide Command Response +IPR=<rate> <CR><LF>OK<CR><LF> +IPR? <CR><LF>+IPR: <rate><CR><LF> <CR><LF>OK<CR><LF> +IPR=? <CR><LF>+IPR:(list of supported autodetectable rate values)[,(list of fixed-only rate values)]<CR><LF> <CR><LF>OK<CR><LF> Parameter <rate: >The<rate>value specified should be the rate in bits per second at which the DTE-DCE interface should operate, e.g., "19200"...
  • Page 35 ME3630 AT Command Reference Guide Test command returns the supported parameters as compound values. This command is supported by firmware of or above ME3630A1CV1.0B03 currently Command Response AT+CMUX=<mode>[,<subset>[,<port_speed>[, <CR><LF>OK<CR><LF> <N1>[,<T1>[,<N2>[,<T2>[,<T3>[,<k>]]]]]]]] AT+CMUX? <CR><LF>+CMUX: <mode>,<subset>,<port_speed>,<N1>,<T1>,<N2>,<T2>,<T3>,<k><CR><LF> <CR><LF>OK<CR><LF> AT+CMUX=? <CR><LF>+CMUX: (0),(0),(1-8),(1-2048),(1-255),(0-100),(2-255),(1-255),(1-7)<CR><LF> <CR><LF>OK<CR><LF> Parameter <...
  • Page 36: Zcomwrt Write Upgrade File Command

    ME3630 AT Command Reference Guide 5.5. +ZCOMWRT write upgrade file command Normally, the module version is updated via USB port, but if no USB port is connected in use, it cannot be upgraded via USB port. The serial port upgrade function provides a method of version upgrade via the serial port of the module to makes up for the above defect.
  • Page 37 ME3630 AT Command Reference Guide can open the module AT port, send instructions to see the upgrade results. The following will be reported during the upgrade process to inform the upper level of the current upgrade status. The status report is as follows: 1.
  • Page 38: Sim Related Commands

    ME3630 AT Command Reference Guide 6. SIM Related Commands 6.1. +CLCK Facility Lock Execute command is used to lock, unlock or interrogate a MT or a network facility <fac>. Password is normally needed to do such actions. When querying the status of a network service (<mode>=2) the response line for 'not active' case (<status>=0) should be returned only if service is not active for any <class>.
  • Page 39: Cpwd Change Password

    ME3630 AT Command Reference Guide <mode>:defines the operation to be done on the facility 0 unlock 1 lock 2 query status <status>: the current status of the facility 0 not active 1 active <passwd>: string type; shall be the same as password specified for the facility from the MT user interface or with command Change Password +CPWD <class>...
  • Page 40: Cpin Enter Pin

    ME3630 AT Command Reference Guide <pwdlength> <pwdlength>: integer type maximum length of the password for the facility Example AT+CPWD=? +CPWD:("AB",4),("AC",4),("AG",4),("AI",4),("AO",4),("IR",4),("OI",4),("OX",4),("SC",8),("P2",8) AT+CPWD="SC","1234","4321" AT+CPWD="SC","4321","12341234" AT+CPWD="SC","4321","1234" +CME ERROR: incorrect password AT+CPWD="SC","12341234","1234" 6.3. +CPIN Enter PIN Set command sends to the MT a password which is necessary before it can be operated (SIM PIN, SIM PUK, PH-SIM PIN, etc.). If the PIN is to be entered twice, the TA shall automatically repeat the PIN.
  • Page 41: Crsm Restricted Sim Access

    ME3630 AT Command Reference Guide 6.4. +CRSM Restricted SIM Access By using this command instead of Generic SIM Access +CSIM TE application has easier but more limited access to the SIM database. Set command transmits to the MT the SIM <command> and its required parameters. MT handles internally all SIM- MT interface locking and file selection routines.
  • Page 42: Zpinpuk Check Pin And Puk Retry Times

    ME3630 AT Command Reference Guide Command Response +CNUM <CR><LF>+CNUM: [<alpha1>],<number1>,<type1>[,<speed>,<service>[,<itc>]]<CR><LF> <CR><LF> [+CNUM: [<alpha2>],<number2>,<type2>[,<speed>,<service> [,<itc>]]<CR><LF> [...]] <CR><LF>OK<CR><LF> <CR><LF>+CME ERROR: <err><CR><LF> +CNUM=? Parameter <alphax>: alphanumeric string associated with <numberx>; used character set should be the one selected with command Select TE Character Set +CSCS <numberx>: string type phone number of format specified by <typex>...
  • Page 43: Sms Commands

    ME3630 AT Command Reference Guide 7. SMS Commands 7.1. +CSMS Select Message Service Execution command selects messaging service <service>. It returns the types of messages supported by the ME. If chosen service is not supported by the ME (but is supported by the TA), final result code +CMS ERROR: <err>shall be returned. See chapter Message Service Failure Result Code for a list of<err>values.
  • Page 44: Cmgf Message Format

    ME3630 AT Command Reference Guide +CMGS: 248,"12/11/05,14:45:39+32" //CSMS:0 AT+CSMS=0 +CSMS: 1,1,1 AT+CMGS="18891006239" > this +CMGS: 249 7.2. +CMGF Message Format Set command selects input and output format of messages to use. <mode>indicates the format of messages used with send, list, read and write commands and unsolicited result codes resulting from received messages.
  • Page 45: Csca Service Centre Address

    ME3630 AT Command Reference Guide 7.3. +CSCA Service Centre Address Set command sets the Service Center Address to be used for module originated SMS transmissions. In text mode, setting is used by send and write commands. In PDU mode, setting is used by the same commands, but only when the length of the SMSC address coded into <pdu>...
  • Page 46: Cscb Select Cell Broadcast Message Types (Not Support Yet)

    ME3630 AT Command Reference Guide Bit6: UDHI, User Data Header Information, no User Data Header Information include User Data Header Information(used by long SMS) Bit5: SRR, Status Report Request need Status Report no need Status Report Bit4-bit3: VPF: Validity Period Format Not present;...
  • Page 47: Csas Save Settings

    ME3630 AT Command Reference Guide +CSCB=? <CR><LF>+CSCB: (list of supported <mode>s)<CR><LF> <CR><LF>OK<CR><LF> Parameter <mode>: message types specified in <mids> and <dcss> are accepted (Default Value) message types specified in <mids> and <dcss> are rejected <mids>: string type; all different possible combinations of CBM message identifiers (refer <mid>) (default is empty string); e.g.
  • Page 48: Cnmi New Message Indications To Te

    ME3630 AT Command Reference Guide restored. Certain settings may not be supported by the storage (e.g. (U)SIM SMS parameters) and therefore cannot be restored. See chapter Message Service Failure Result Code for<err>values. Command Response +CRES[=<profile>] <CR><LF>OK<CR><LF> <CR><LF>+CMS ERROR: <err><CR><LF> +CRES=? <CR><LF>+CRES: (list of supported <profile>s)<CR><LF>...
  • Page 49: Cmgl List Messages

    ME3630 AT Command Reference Guide when TA is in on-line data mode. (when TA is in on-line data mode, it seems need a MT call to enable TA report to TE) <mt> -sets the result code indication routing for SMS-DELIVERs (the rules for storing received SMs depend on its data coding scheme, preferred memory storage (+CPMS) setting and this value;...
  • Page 50 ME3630 AT Command Reference Guide returned for PDU mode. If status of the message is 'received unread', status in the storage changes to 'received read'. If listing fails, result code +CMS ERROR:<err> is returned. See chapter Message Service Failure Result Code for<err> values.
  • Page 51: Cmgr Read Message

    ME3630 AT Command Reference Guide (TEXT mode) "REC UNREAD": "REC READ" "STO UNSENT" "STO SENT" "ALL" (PDU mode) REC UNREAD REC READ STO UNSENT STO SENT <ct>: integer type of 3GPP TS 03.40 TP-Command-Type Example AT+CMGF=1 AT+CMGL="all" +CMGL: 1,"REC READ","130********","", abcdefg +CMGL: 2,"REC READ","131********","",...
  • Page 52: Cmgs Send Message

    ME3630 AT Command Reference Guide <CR><LF>OK<CR><LF> if text mode (+CMGF=1), command successful and SMS-COMMAND: <CR><LF>+CMGR: <stat>,<fo>,<ct>[,<pid>,[<mn>],[<da>],[<toda>],<length><cdata>]<CR><LF> <CR><LF>OK<CR><LF> if text mode (+CMGF=1), command successful and CBM storage: <CR><LF>+CMGR: <stat>,<sn>,<mid>,<dcs>,<page>,<pages><data><CR><LF> <CR><LF>OK<CR><LF> if PDU mode (+CMGF=0) and command successful: <CR><LF>+CMGR: <stat>,[<alpha>],<length><pdu><CR><LF> <CR><LF>OK<CR><LF> otherwise: <CR><LF>+CMS ERROR: <err><CR><LF>...
  • Page 53: Cmss Send Message From Storage

    ME3630 AT Command Reference Guide in a network or an ME error, result code +CMS ERROR: <err> is returned. See chapter Message Service Failure Result Code for a list of <err> values. This command should be abortable. Command Response if text mode (+CMGF=1): if text mode (+CMGF=1) and sending successful: +CMGS=<da>[,<toda>]<CR>...
  • Page 54: Cmgw Write Message To Memory

    ME3630 AT Command Reference Guide <CR><LF>+CMSS: <mr>[,<ackpdu>]<CR><LF> <CR><LF>OK<CR><LF> if sending fails: <CR><LF>+CMS ERROR: <err><CR><LF> +CMSS=? <CR><LF>OK<CR><LF> Parameter <index>: stored SMS number <da>: Destination-Address <mr>: message parameter <ackpdu>: optional,(when +CSMS<service> is 1,and network support),return <ackpdu> Example at+cmgw="18682013070" > sss +CMGW: 6...
  • Page 55: Cmgd Delete Message

    ME3630 AT Command Reference Guide "STO SENT" Stored sent messages "ALL" All messages <index>: Index of message Example at+cmgf=1 at+cmgw="10086" > sdsd +CMGW: 280 7.14. +CMGD Delete Message Execution command deletes message from preferred message storage<mem1>location<index>. If <delflag> is present and not set to 0 then the ME shall ignore <index>...
  • Page 56: Cmms More Messages To Send

    ME3630 AT Command Reference Guide sending fails in a network or an ME error, final result code +CMS ERROR: <err>is returned. See chapter Message Service Failure Result Code for a list of <err> values. This command should be abortable. For details about these parameters, please refer to 8.1 SMS parameter.
  • Page 57: Cpms Preferred Message Storage

    ME3630 AT Command Reference Guide +CMMS=? <CR><LF>+CMMS: (list of supported <n>s)<CR><LF> <CR><LF>OK<CR><LF> Parameter <n>: disable (Default Value) keep enabled until the time between the response of the latest message send command (+CMGS, +CMSS, etc.) and the next send command exceeds 1-5 seconds (the exact value is up to ME implementation), then ME shall close the link and TA switches <n>...
  • Page 58: Cmti New Message Indications

    ME3630 AT Command Reference Guide "SM" (U)SIM message storage "MT": Same as “ME” storage(not supported yet) "SR": Status report storage(not supported yet) <mem2>: string type; memory to which writing and sending operations are made (commands Send Message from Storage +CMSS and Write Message to Memory +CMGW) );...
  • Page 59: Zwakeupsms Set The Specified Sms Content Used For Remote Wakeup

    ME3630 AT Command Reference Guide <CR><LF>ERROR<CR><LF> +ZSPWAKEUP=? <CR><LF>+ZSPWAKEUP:(e/E,d/D) <CR><LF>OK<CR><LF> Parameter <switch>: E/e Enable specified SMS remote wakeup function D/d Disable specified SMS remote wakeup function NOTE: the set value is stored in NVM, and it still takes effect after restart.
  • Page 60: Cms Error Message Service Failure Result Code

    ME3630 AT Command Reference Guide +ZWAKEUPSMS: 123 7.21. +CMS ERROR Message Service Failure Result Code This is NOT a command; it is the error response to +Cxxx 3gpp TS 27.005 commands Result code +CMS ERROR: <err> indicates an error related to mobile equipment or network. The operation is like ERROR result code.
  • Page 61: Network Service Commands

    ME3630 AT Command Reference Guide 8. Network Service Commands 8.1. +CREG Network registration Set command controls the presentation of an unsolicited result code +CREG: <stat> when <n>=1 and there is a change in the MT network registration status, or code +CREG: <stat>[,[<lac>],[<ci>],[<AcT>]] when<n>=2 and there is a change of the network cell.
  • Page 62: Cereg Network Registration

    ME3630 AT Command Reference Guide GSM w/EGPRS UTRAN w/HSDPA UTRAN w/HSUPA UTRAN w/HSDPA and HSUPA E-UTRAN Others, such as CDMA/EVDO Example AT+CREG? +CREG: 0,1 AT+CREG=? +CREG: (0-2) 8.2. +CEREG Network registration Set command controls the presentation of an unsolicited result code +CEREG: <stat> when <n>=1 and there is a change in the MT network registration status, or code +CEREG: <stat>[,[<lac>],[<ci>],[<AcT>]] when<n>=2 and there is a change of the network cell.
  • Page 63: Cops Operator Selection

    ME3630 AT Command Reference Guide registered, home network not registered, but MT is currently searching a new operator to register to registration denied unknown registered, roaming <lac>: string type; two bytes location area code in hexadecimal format <ci>: string type; four-byte cell ID in hexadecimal format <AcT>: integer type;...
  • Page 64: Csq Signal Quality

    ME3630 AT Command Reference Guide <CR><LF>OK<CR><LF> <CR><LF>+CME ERROR: <err><CR><LF> Parameter <mode>: automatic (<oper> field is ignored) manual (<oper>field shall be present) deregister from network set only <format>(for read command +COPS?), do not attempt registration/deregistration (<oper>field is ignored); this value is not applicable in read command response manual/automatic (<oper>...
  • Page 65 ME3630 AT Command Reference Guide WCDMA/TDSCDMA: <CR><LF>+CSQ: <rscp>,<ber><CR><LF><CR><LF>OK<CR><LF> <CR><LF>+CME ERROR: <err><CR><LF> LTE: <CR><LF>+CSQ: <rsrp>,<ber><CR><LF><CR><LF>OK<CR><LF> <CR><LF>+CME ERROR: <err><CR><LF> +CSQ=? <CR><LF>+CSQ: (list of supported <rssi>s),(list of supported <ber>s)<CR><LF> <CR><LF>OK<CR><LF> Parameter <rssi>: the Received Signal Strength Indication (RSSI) in GSM/CDMA/EVDO RAT CDMA/EVDO 0 -113 dBm or less...
  • Page 66: Cpol Preferred Operator List

    ME3630 AT Command Reference Guide 0 [-140,-130)dB; 16 [-109,-107)dB; 1 [-130,-128)dB; 17 [-107,-105)dB; 2 [-128,-126)dB; 18 [-105,-103)dB; 3 [-126,-124)dB; 19 [-103,-100)dB; 4 [-124,-122)dB; 20 [-100,-97)dB; 5 [-122,-120)dB; 21 [-97,-94)dB; 6 [-120,-118)dB; 22 [-94,-91)dB; 7 [-118,-117)dB; 23 [-91,-88)dB; 8 [-117,-116)dB; 24 [-88,-85)dB;...
  • Page 67 ME3630 AT Command Reference Guide the Access Technologies for each PLMN in the list. Test command returns the whole index range supported by the SIM. Command Response +CPOL=[<index>][,<format>[,<oper>[ <CR><LF>OK<CR><LF> ,<GSM_AcT>,<GSM_Compact_AcT>, <UTRAN_AcT>,<E-UTRAN_AcT>]]] <CR><LF>+CME ERROR: <err><CR><LF> +CPOL? <CR><LF>+CPOL: <index1>,<format>,<oper1>[,<GSM_AcT1>,<GSM_Compact_AcT1>,<UTRAN_AcT1>,<E- UTRAN_AcT1>] +CPOL: <index2>,<format>,<oper2>[,<GSM_AcT2>,<GSM_Compact_AcT2>,<UTRAN_AcT2>,<E- UTRAN_AcT1>]<CR><LF>...
  • Page 68: Copn Read Operator Names

    ME3630 AT Command Reference Guide AT+CPOL? +CPOL: 2,2,"46000",0,0,1,0 +CPOL: 3,2,"46001",0,0,1,0 AT+CPOL=,0 AT+CPOL? +CPOL: 2,0,"CHINA MOBILE",0,0,1,0 +CPOL: 3,0,"CHN-UNICOM",0,0,1,0 AT+CPOL=,1 AT+CPOL? +CPOL: 2,1,"CMCC",0,0,1,0 +CPOL: 3,1,"UNICOM",0,0,1,0 8.6. +COPN Read operator names Execute command returns the list of operator names from the MT. Each operator code <numericn> that has an alphanumeric equivalent <alphan>...
  • Page 69: Ctzu Automatic Time Zone Update

    ME3630 AT Command Reference Guide +COPN: "20210","TIM GR" … 8.7. +CTZU Automatic Time Zone Update Set command enables and disables automatic time zone update via NITZ. If setting fails in an MT error, +CME ERROR: <err> is returned. Read command returns the current settings in the MT.
  • Page 70: Zcellinfo Request The Information About Serving Cell

    ME3630 AT Command Reference Guide Command Response +CTZR=<onoff> <CR><LF>OK<CR><LF> <CR><LF>+CME ERROR: <err><CR><LF> +CTZR? <CR><LF>+CTZR: <onoff><CR><LF> <CR><LF>OK<CR><LF> <CR><LF>+CME ERROR: <err><CR><LF> +CTZR=? <CR><LF>+CTZR: (list of supported <onoff>s)<CR><LF> <CR><LF>OK<CR><LF> <CR><LF>+CME ERROR: <err><CR><LF> Parameter <onoff>: integer type value indicating: Disable time zone change event reporting (default).
  • Page 71: Zlockcell Lock Cell Command

    AT+ZCELLINFO? +ZCELLINFO: 0X911B,0X0BB75A31,0X0000016B,LTE B3,1675 8.10. +ZLOCKCELL lock cell command ME3630-A, ME3630E1CV1.0B14, This command is used to lock cell and frequency, and only supported on ME3630E2CV1.0B04 and above version. This command will take effect after restart the module, and the set command will save after the module is powered off.
  • Page 72 ME3630 AT Command Reference Guide unlock lock <mode>: WCDMA <earfcn_or_uarfcn>: frequency point, range 0~65535 <pci_or_psc>: physics cell or main scrambler, pci range 0~503, and psc range 0~511 <lock_state>: lock is on lock is off, that is don't lock any frequency...
  • Page 73: Zsnt Configuration Of Network Selection Mode

    ME3630 AT Command Reference Guide AT+ZLOCKCELL? + ZLOCKCELL: wcdma,lock:off lte,lock:off //not lock any frequency AT+ZLOCKCELL =0 //unlock, this command will take effect after restart the module 8.11. +ZSNT Configuration of Network Selection Mode This command is used to configure the network selection mode.
  • Page 74: Zsnte Network Selection According To 2G/3G/4G

    ME3630 AT Command Reference Guide Example AT+ZSNT=0,0,2 AT+ZSNT? +ZSNT: 0,0,2 AT+ZSNT=? +ZSNT: (0-10),(0-2),(0-3) 8.12. +ZSNTE Network Selection according to 2G/3G/4G This command is used to do network selection according to 2G/3G/4G. it takes effect once setting, and can also be saved after restart the module.
  • Page 75: Zpas Check Module Status

    ME3630 AT Command Reference Guide 8.13. +ZPAS Check Module Status This command is used to check module status, including the type of current network and service domain. This command can just be used as read command (i.e. AT+ZPAS?). When the network changes, the new type of network is routed to TE using unsolicited code.
  • Page 76 ME3630 AT Command Reference Guide <srv_domain>: Out of service CS service PS service Ps and CS service EPS service <roam_status> : Non-roaming status Roaming status <sys_mode>: Out of service CDMA GSM/GPRS mode WCDMA mode Other values Reserved <sim_state>: invalid card status...
  • Page 77: Zband Band Lock

    ME3630 AT Command Reference Guide 8.15. +ZBAND Band lock This command is used to lock the specified band(s) according to the BAND MASK input by the users. The set command needs four hexadecimal parameters, the second and third one are reserved.
  • Page 78 LTE BAND 5 LTE BAND7 LTE BAND5 LTE BAND 12 LTE BAND8 LTE BAND7 LTE BAND 17 LTE BAND 20 LTE BAND8 LTE BAND11 LTE BAND18 LTE BAND19 LTE BAND 21 Example(Take ME3630-U for example): Rights reserved, Spreading without GOSUNCN Permission...
  • Page 79: Zbandex Band Lock

    ME3630 AT Command Reference Guide at+zband=0,0,0,0 -------when the set command is all 0, it stands not scan all the frequency bands, and will return ERROR. ERROR Lock only one BAND  AT+ZBAND=800000,0,0,0 -------Lock one band: WCDMA BAND2 AT+ZBAND? -------Read the locked BAND...
  • Page 80 ME3630 AT Command Reference Guide Note2: This command currently only supports ME3630U. The lock bands need restarting before they can take effect. Full spectrum will be set at the time of unlocking. Command Response +ZBANDEX=<gw_band_mask>,<cdma_band <CR><LF>OK<CR><LF> _mask>,<tdscdma_band_mask>,<lte_band_ When MS error: mask>...
  • Page 81 ME3630 AT Command Reference Guide Decimal number, the GW band name. <gw_band_name>: WCDMA BAND2 WCDMA BAND5 Decimal number, the band name. <cdma_band_name>: CDMA not support Decimal number, the band name. <tdscdma_band_name>: TD-SCDMA not support Decimal number, the band name. <lte_band_name>:...
  • Page 82: Zarfcn Return Current Arfcn

    ME3630 AT Command Reference Guide GW:(800000, 4000000) CDMA:(0) TDS:(0) LTE:(2, 8, 10, 800, 10000) 8.17. +ZARFCN Return current ARFCN This command is used to return the current ARFCN. Command Response +ZARFCN? When register to network, return: <CR><LF><mode>:<value><CR><LF> <CR><LF>OK<CR><LF> Or return: <CR><LF>ERROR<CR><LF>...
  • Page 83 ME3630 AT Command Reference Guide <CR><LF>OK<CR><LF> TD-SCDMA/ WCDMA: <CR><LF>+ZCDS:<uarfcn>,<mcc>,<mnc>,<lac_id>,<cell_id>,<rx_power>,<tx_power>,<sinr>,<ecio>,<imsi_ buf><CR><LF> <CR><LF>OK<CR><LF> GSM: <CR><LF>+ZCDS:<arfcn>,<mcc>,<mnc>,<lac_id>,<cell_id>,<rx_power>,<tx_power>,<sinr>,<ecio>,<imsi_b uf><CR><LF> <CR><LF>OK<CR><LF> Parameter <channel>: UARFCN UMTS assigned radio channel <earfcn/arfch/uarfcn>: Absolute Radio Frequency Channel Number of the BCCH carrier <mcc>: Mobile Country Code <mnc>: Mobile Network Code <tac_id>...
  • Page 84: Zsrsp Query Rsrp,Rsrq,Sinr Of The Main Cell

    8.19. +ZSRSP Query RSRP,RSRQ,SINR of the main cell This command is used to query the RSRP,RSRQ,SINR of the module’s main cell. Note: This command is only valid when the module register to LTE network. This command is supported by module ME3630-E and ME3630-A. Command Response +ZSRSP? <CR><LF>+ZSRSP:<rsrp >,<...
  • Page 85: Zsrvrsp Lte Server Cell Query

    ME3630 AT Command Reference Guide <CR><LF>OK<CR><LF> Parameters <rsrpN>: RSRP, Reference Signal Received Power, is 10 times of real RSRP (is equal to the unit is 0.1dBm), If there are several neighbour cells, this AT command will return rsrp1, rsrp2, ... rsrpN (<rsrp1>,<rsrq1>,<rsrp2>,<rsrq2>,…,<rsrpN>,<rsrqN>), the max value of N is 8.
  • Page 86 ME3630 AT Command Reference Guide The read command returns the current settings for each defined QoS. The test command returns the ranges of the supported parameters as compound values. Command Response <CR><LF>OK<CR><LF> +CGEQOS=[<cid>[,<QCI>[,<DL_GBR>,<U L_GBR>[,<DL_MBR>,<UL_MBR]]]] <CR><LF>+CME ERROR: <err><CR><LF> +CGEQOS? [<CR><LF>+CGEQOS: <cid>,<QCI>,[<DL_GBR>,<UL_GBR>],[<DL_MBR>,<UL_M BR>]]<CR><LF>...
  • Page 87: Zmoni Get The Information Of Main& Neighbor Cells

    AT Command Reference Guide 8.23. +ZMONI Get the information of main& neighbor cells* This command is supported by firmware of or above ME3630E1CV1.0B10&ME3630J2AV1.0B10 and ME3630-A modules currently. This command is used to get/set the information of main &neighbor cells. Command Response +ZMONI=<n>...
  • Page 88 ME3630 AT Command Reference Guide the response of AT+ZMONI? is the information of neighbor cells the response of AT+ZMONI? is the information of neighbor cells and main cell. <mode>: UMTS: When register to WCDMA/TD-SCDMA <s/n>: stands for the main cell N1/N2/N3…...
  • Page 89 ME3630 AT Command Reference Guide <lac_id>: Location Area Code <pci>: Physical cell ID <bsic>: base station identification code <psc>: primary Scrambling code <uarfcn>: umts assigned radio channel <URA>: UTRAN Registration Area Identity <rscp>: Received Signal Code Power in dBm <rsrp>: Reference Signal Received Power <rsrq>: Reference Signal Received Quality...
  • Page 90 ME3630 AT Command Reference Guide +ZMONI:mode:,N5,lac:8422,cell-id: 53977, arfcn: 676,rx_power:0.000000 When <n>=1, and register to WCDMA, return the neighbour cells information: AT+ZMONI? +ZMONI: mode: UMTS, N1, psc: 308, rscp:-8t, ecio: -8, uarfcn: 10663, rx power: -66 +ZMONI:mode: UMTS, N2, psc: 292, rscp: -95, ecio: -16, uarfcn: 10663, rx_power:-66 When <n>=1, and register to LTE, return the neighbour cells information:...
  • Page 91: Packet Domain Commands

    ME3630 AT Command Reference Guide 9. Packet Domain Commands 9.1. +CGDCONT Define PDP Context The set command specifies PDP context parameter values for a PDP context identified by the (local) context identification parameter, <cid>. The read command returns the current settings for each defined context.
  • Page 92: Cgatt Ps Attach Or Detach

    ME3630 AT Command Reference Guide off (default if value is omitted) on (manufacturer preferred compression) RFC1144 RFC2507 RFC3095 (applicable for PDCP only) <pd1> … <pdN>: zero to N string parameters whose meanings are specific to the <PDP_type> Example AT+CGDCONT? +CGDCONT: 1,"IP","uninet","0.0.0.0",0,0 9.2.
  • Page 93: Cgpaddr Show Pdp Address

    ME3630 AT Command Reference Guide <CR><LF>+CME ERROR: <err><CR><LF> +CGACT? <CR><LF>+CGACT: <cid>,<state><CR><LF> [<CR><LF>+CGACT: <cid>,<state><CR><LF> [...]] <CR><LF>OK<CR><LF> +CGACT=? <CR><LF>+CGACT: (list of supported <state>s)<CR><LF> <CR><LF>OK<CR><LF> Parameter <state>: indicates the state of PDP context activation deactivated activated <cid>: a numeric parameter which specifies a PDP context definition (see the +CGDCONT and +CGDSCONT commands).
  • Page 94: Cgerep Packet Domain Event Reporting

    ME3630 AT Command Reference Guide Example AT+CGPADDR=1 +CGPADDR: 1,10.245.21.75 9.5. +CGEREP Packet Domain event reporting 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 Packet Domain MT or the network. If a setting is not supported by the MT, ERROR or +CME ERROR:<err> is returned.
  • Page 95: Cgsms Select Service For Mo Sms Messages

    ME3630 AT Command Reference Guide 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 <bfr>:...
  • Page 96: Zsdhcplease Set Dhcp Lease Time

    ME3630 AT Command Reference Guide 9.7. +ZSDHCPLEASE Set DHCP LEASE TIME* This command is supported on ME3630J2AV1.0B12, ME3630J2ASV1.0B05 and above version. This command is used to control IP address lease time by amend NV(dhcp_lease_time) of AP. This command will take effect after restart.
  • Page 97: Data Connection Relative Commands

    10.1. Recommended Data Connection Commands 10.1.1. +ZDATACFG Define PDP call parameters This command is used to set multi-channel APN (in TCP/FTP/HTTP/SSL/MQTT) function. This is extent command of GOSUNCN, and the function of this command equal to AT+CGDCONT. Set command is used to set params of PDP call. And it will works after being set immediately, the set value is still effective after restart.
  • Page 98: Zdatadeact Start Data Disconnection

    ME3630 AT Command Reference Guide This command is mainly used in multi-APN dial, including TCP/FTP/HTTP/SSL/MQTT. Note: This dialing instructions can replace the original dialing command: +ZIPCALL, $ZPDPACT, +ZPDPCALL. Command Response +ZDATAACT=<cid> <CR><LF>OK<CR><LF> <CR><LF>ERROR<CR><LF> +ZDATAACT? <CR><LF>+ZDATAACT: <cid>,<addr_type>,<ip_addr>,<dnsp>,<dnss><CR><LF> <CR><LF>OK<CR><LF> +ZDATAACT =? <CR><LF>+ZDATAACT:(1-5)<CR><LF>...
  • Page 99: Ecm Call Commands

    ME3630 AT Command Reference Guide 10.2. ECM Call Commands 10.2.1. +ZECMCALL Make ECM data call This command used to make data call based on ECM interface. The data call parameter can be also configured by +CGDCONT command. Command Response +ZECMCALL=<action>[,<APN>[,<PDP_ <CR><LF>+ZECMCALL: CONNECT<CR><LF>...
  • Page 100: Zecmcall Active Report The State Of Auto-Dial

    ME3630 AT Command Reference Guide AT+ZECMCALL? +ZECMCALL: IPV4, 1.1.108.220, 1.1.108.221, 192.232.9.24, 221.11.1.67 10.2.2. +ZECMCALL active report the state of auto-dial Enable auto-dial function, active report function default close. This command is used to control ECM active report the state of auto-dial by change NV(ecmcall_urc) of AP. The command will take effect after restart.
  • Page 101: Znvread Query The State Of Auto-Dial Function

    ME3630 AT Command Reference Guide ecmcall_urc ECM Unsolicited report function auto_dial_mode ECM auto-dial function <value>:default void, means Enable/disable auto-dial/Unsolicited report function. enable auto-dial/Unsolicited report function disable auto-dial/Unsolicited report function Use at+znvwrite=ecmcall_urc,1 command to enable active report the state of auto-dial;...
  • Page 102: Reserved Data Connection Commands

    ME3630 AT Command Reference Guide AT+ZNVWRITE=auto_dial_mode,1 AT+ZNVREAD=auto_dial_mode +ZNVREAD: auto_dial_mode:1 10.3. Reserved Data Connection Commands 10.3.1. +ZIPCFG Set and Query the params of PS Call Extensible AT command, this command is used to Set and Query the params of PS Call.
  • Page 103: Zipcall Start Or End Ps Call

    ME3630 AT Command Reference Guide <CR><LF>OK<CR><LF> <CR><LF>+CME ERROR: <err><CR><LF> $QCPDPP=? <CR><LF>$QCPDPP: (list of supported <cid>s),(list of supported <auth_type>s),,<CR><LF> <CR><LF>OK<CR><LF> <CR><LF>+CME ERROR: <err><CR><LF> $QCPDPP <CR><LF>OK<CR><LF> <CR><LF>+CME ERROR: <err><CR><LF> Parameter <cid> (1-24) a numeric parameter which specifies a PDP context definition <auth_type>: a numeric parameter specified the Authentication type...
  • Page 104: Zpdpact Activate/Deactivate Pdp Connection

    ME3630 AT Command Reference Guide +ZIPCALL=<Action> <CR><LF>OK<CR><LF> +ZIPCALL: <State>[,<IP address>] <CR><LF>+CME ERROR: <err><CR><LF> <CR><LF>+ZIPCALL:<State>[,<IPaddress>]<CR><LF> +ZIPCALL? <CR><LF>OK<CR><LF> +ZIPCALL=? <CR><LF>+ZIPCALL: (list of supported <Action>s) <CR><LF> <CR><LF>OK<CR><LF> Parameter <Action> : end PS CALL start PS CALL <State>: Socket call connection state. Disconnected Connected...
  • Page 105 ME3630 AT Command Reference Guide AT+ZPAS? //The module register to network +ZPAS: "LTE","CS_PS", “FDD” AT+CGDCONT=1,"IP","CTNET" //Use SIM card of China telecom, APN is CTNET. You can set the APN according to the operator. AT$ZPDPACT=1 //ACTIVATE PDP connection AT$ZPDPACT=? $ZPDPACT: (0, 1)
  • Page 106: Gps Relative Commands

    ME3630 AT Command Reference Guide 11. GPS Relative Commands* 11.1. +ZGINIT Initialization Location command Init a client for GPS application. Command Response +ZGINIT <CR><LF>OK<CR><LF> MS error: <CR><LF>ERROR<CR><LF> Example AT+ZGINIT 11.2. +ZGMODE Set location mode This command is used for set location mode by user.
  • Page 107: Zgqos Set Qos For Location

    ME3630 AT Command Reference Guide Command Response +ZGFIXRATE=<flag1>,<flag2> <CR><LF>OK<CR><LF> MS error: <CR><LF> ERROR<CR><LF> +ZGFIXRATE? <CR><LF>+ZGFIXRATE: <flag1>,<flag2><CR><LF> <CR><LF>OK<CR><LF> MS error: <CR><LF>ERROR<CR><LF> +ZGFIXRATE=? <CR><LF>+ZGFIXRATE: (1-100000),(1-255)<CR><LF> <CR><LF>OK<CR><LF> Parameter <flag1>: Set location mode when reset GPS by using AT+ZGRST, Default value is 1, range 1~100000.
  • Page 108: Zgurl Set Url Of Supl Server

    ME3630 AT Command Reference Guide AT+ZGQOS=50,100 AT+ZGQOS? +ZGQOS: 50,100 11.5. +ZGURL Set URL of SUPL server This command used for Set URL of SUPL server. Command Response +ZGURL=<flag> <CR><LF>OK<CR><LF> MS error: <CR><LF>ERROR<CR><LF> +ZGURL? <CR><LF>+ZGURL: <flag><CR><LF> <CR><LF>OK<CR><LF> MS error: <CR><LF>ERROR<CR><LF> Parameter <flag>: SUPL server URL...
  • Page 109: Zgpserror Report Error Code

    ME3630 AT Command Reference Guide Note: When set <flag>=1, if +ZGPSR unsolicited report is enabled, at this time, only when the positioning is successful, the +ZGPSR will report one time; if positioning is unsuccessful, +ZGPSR won’t report. If the NMEA report is enabled (+ZGNMEA is not 0), the NMEA data is always reported during the positioning process.
  • Page 110: Zgrst Reset Gps

    NOTE: This command should be operated when GPS is enabled. The location mode is determined by AT+ZGFIXRATE. It is recommended that the customer use at+zgrst=0 for cold start in the first positioning after ME3630’s position changes greatly (more than 100 kilometers) and instrument test scenarios.
  • Page 111: Zgport Set Gps Information Report Port

    ME3630 AT Command Reference Guide <CR><LF>ERROR<CR><LF> <CR><LF>+ZGPSAPN:(1-6),,,(0x1-0x1F)<CR><LF> +ZGPSAPN=? <CR> <CR><LF>OK<CR><LF> <CR><LF>ERROR<CR><LF> Parameter <id>: (1-6), used to assign one APN configuration, a strip of configuration for one type of network, recommend to set as 1 <PDP_type>: used to assign data protocol, recommend to fit to net type...
  • Page 112: Zgmeasure Report Satellites Measurements

    ME3630 AT Command Reference Guide +ZGPORT? <CR><LF>+ZGPORT: <n><CR><LF> <CR><LF>OK<CR><LF> +ZGPORT=? <CR><LF>+ZGPORT: (list of supported <n>s) <CR><LF> <CR><LF>OK<CR><LF> Parameter <n>: integer, default 0, that is information report from AT/MODEM/UART at the same time GPS information report from AT/MODEM/UART at the same time...
  • Page 113: Zgpsr Report Location Data

    ME3630 AT Command Reference Guide <CR><LF>OK<CR><LF> +ZGMEASURE=? <CR><LF>+ZGMEASURE: (0-1)<CR><LF> <CR><LF>OK<CR><LF> Parameter <status>: enable disable Example AT+ZGMEASURE=1 AT+ZGMEASURE? +ZGMEASURE: 1 11.12. +ZGPSR Report Location Data Report UTC time, lon, lat and speed Example Response <CR><LF>+ZGPSR:<UTC>,<latitude>,<longitude>,<hdop>,<altitude>,<fix>,<cog>,<spkm>,<spkn>,<date>,<nsat><CR><LF> Parameter <UTC>: UTC time (hhmmss.sss) referred to GGA sentence <latitude>: format is ddmm.mmmm N/S (referred to GGA sentence), where:...
  • Page 114: Zgpsr Enable/Disable +Zgpsr Report

    ME3630 AT Command Reference Guide year, 00..99 - 2000 to 2099 <nsat>: Total number of satellites in use (referred to GGA sentence) 00..12 Example +ZGPSR: 063309.800,3411.2655N,10852.5821E,3.3,357.3,2,154.12,0.3,0.5,160812,04 //when location successfully ,,,,,0,,,,, //when not fixed position 11.13. +ZGPSR Enable/Disable +ZGPSR report Set ZGPSR Report of GPS enable or not.
  • Page 115 ME3630 AT Command Reference Guide the update operation will be performed. The command is only supported by firmware of or above ME3630E1CV1.0B19/GM500U1AV1.0B05/ME3630A1CV1.0B03 currently. Note: 1. Since the GPS+XTRA function needs to download XTRA documents from the network, it is necessary to first dial the ECM, the module will automatically dial, no manual dialing is required.
  • Page 116: Zgnmea Set The Reported Nmea Format Of Gps Data

    ME3630 AT Command Reference Guide AT+ZGXTRA? +ZGXTRA: XTRA DATA VALID AT+ZGPSR=1 AT+ZGQOS=20,255 AT+ZGMODE=3 AT+ZGPORT=0 AT+ZGNMEA=31 AT+ZGRUN=2 11.15. +ZGNMEA Set the reported NMEA format of GPS data The set command is used to set the NMEA format of GPS data. And it will take effect once sent until power off.
  • Page 117 ME3630 AT Command Reference Guide $GPGSV,4,1,16,04,,,36,09,07,317,37,16,76,282,32,23,42,309,28*4D $GPGSV,4,2,16,26,62,028,42,31,35,075,35,03,56,118,,05,,,*49 $GPGSV,4,3,16,06,51,108,,08,04,281,,10,26,248,,11,,,*4E $GPGSV,4,4,16,12,74,009,,13,40,317,,18,07,194,,19,39,135,*73 $GPVTG,,T,,M,,N,,K,N*2C $GPGSA,A,1,,,,,,,,,,,,,,,*1E $GPGGA,,,,,,0,,,,,,,,*66 $GPRMC,,V,,,,,,,,,,N*53 $GPGSV,4,1,16,04,,,36,09,07,317,37,16,76,282,32,23,42,309,28*4D $GPGSV,4,2,16,26,62,028,42,31,35,075,35,03,56,118,,05,,,*49 $GPGSV,4,3,16,06,51,108,,08,04,281,,10,26,248,,11,,,*4E $GPGSV,4,4,16,12,74,009,,13,40,317,,18,07,194,,19,39,135,*73 $GPVTG,,T,,M,,N,,K,N*2C $GPGSA,A,1,,,,,,,,,,,,,,,*1E $GPGGA,,,,,,0,,,,,,,,*66 $GPRMC,,V,,,,,,,,,,N*53 $GPGSV,4,1,16,04,,,36,09,07,317,37,16,76,282,32,23,42,309,28*4D $GPGSV,4,2,16,26,62,028,42,31,35,075,35,03,56,118,,05,,,*49 $GPGSV,4,3,16,06,51,108,,08,04,281,,10,26,248,,11,,,*4E $GPGSV,4,4,16,12,74,009,,13,40,317,,18,07,194,,19,39,135,*73 $GPVTG,,T,,M,,N,,K,N*2C $GPGSA,A,1,,,,,,,,,,,,,,,*1E Rights reserved, Spreading without GOSUNCN Permission...
  • Page 118 ME3630 AT Command Reference Guide $GPGGA,,,,,,0,,,,,,,,*66 $GPRMC,,V,,,,,,,,,,N*53 $GPGSV,4,1,16,04,,,36,09,07,317,37,16,76,282,32,23,42,309,28*4D $GPGSV,4,2,16,26,62,028,42,31,35,075,35,03,56,118,,05,,,*49 $GPGSV,4,3,16,06,51,108,,08,04,281,,10,26,248,,11,,,*4E $GPGSV,4,4,16,12,74,009,,13,40,317,,18,07,194,,19,39,135,*73 $GPVTG,,T,,M,,N,,K,N*2C $GPGSA,A,1,,,,,,,,,,,,,,,*1E $GPGGA,,,,,,0,,,,,,,,*66 $GPRMC,,V,,,,,,,,,,N*53 $GPGSV,4,1,16,04,,,36,09,07,317,37,16,76,282,32,23,42,309,28*4D $GPGSV,4,2,16,26,62,028,42,31,35,075,35,03,56,118,,05,,,*49 $GPGSV,4,3,16,06,51,108,,08,04,281,,10,26,248,,11,,,*4E $GPGSV,4,4,16,12,74,009,,13,40,317,,18,07,194,,19,39,135,*73 $GPVTG,,T,,M,,N,,K,N*2C $GPGSA,A,1,,,,,,,,,,,,,,,*1E $GPGGA,,,,,,0,,,,,,,,*66 $GPRMC,,V,,,,,,,,,,N*53 $GPGSV,4,1,16,04,,,36,09,07,317,37,16,76,282,32,23,42,309,28*4D $GPGSV,4,2,16,26,62,028,42,31,35,075,35,03,56,118,,05,,,*49 $GPGSV,4,3,16,06,51,108,,08,04,281,,10,26,248,,11,,,*4E $GPGSV,4,4,16,12,74,009,,13,40,317,,18,07,194,,19,39,135,*73 Rights reserved, Spreading without GOSUNCN Permission...
  • Page 119: Syntax Of Nmea

    ME3630 AT Command Reference Guide $GPVTG,,T,,M,,N,,K,N*2C $GPGSA,A,1,,,,,,,,,,,,,,,*1E $GPGGA,,,,,,0,,,,,,,,*66 $GPRMC,,V,,,,,,,,,,N*53 $GPGSV,4,1,16,04,,,36,09,07,319,37,16,76,282,32,23,42,309,29*42 $GPGSV,4,2,16,26,62,028,42,31,35,075,36,03,56,118,,05,,,*4A $GPGSV,4,3,16,06,51,108,,08,04,281,,10,26,248,,11,,,*4E $GPGSV,4,4,16,12,74,009,,13,40,317,,18,07,194,,19,39,135,*73 $GPGGA,065354.10,3411.295840,N,10852.586794,E,1,05,1.2,411.9,M,-28.0,M,,*4A $GPVTG,0.0,T,3.1,M,0.0,N,0.0,K,A*21 $GPRMC,065354.10,A,3411.295840,N,10852.586794,E,0.0,0.0,180317,3.1,W,A*23 $GPGSA,A,2,09,16,23,26,31,,,,,,,,1.5,1.2,0.8*35 AT+ZGNMEA=15 AT+ZGNMEA? +ZGNMEA:GGA,RMC,GSV,GSA,0 11.15.1. Syntax of NMEA The telecom sentences specified in NEMA communication protocol are based on ASCII codes. The data syntax of NMEA-0183 protocol sentences are as follows: “$”...
  • Page 120: Standard Nmea Output Sentence

    ME3630 AT Command Reference Guide Field Example Contents Start string $GPGGA message identifier Valid data <Data> parameters relating to message Check code *check code The check code contains two ASCII characters (hexadecimal values) End string <CR><LF> Each message ends with<CR><LF>...
  • Page 121: Gsa Sentence

    ME3630 AT Command Reference Guide 10852.586794 Longitude Degree/Point East/West E=East or W=West 0: invalid positioning or positioning failed Positioning type 1: SPS mode, valid positioning indication 2: DSPS mode, valid positioning Ranging from 0 to 12 Participated navigation satellites Horizontal dilution...
  • Page 122: Gsv Sentence

    ME3630 AT Command Reference Guide Participated navigation Satellite No. in Passage 12 satellite [1] Position dilution of precision [2] Horizontal dilution of precision[2] Vertical dilution of precision [2] Check code Check code <CR><LF> Sentence terminator Carriage return and Line feed 11.15.5.
  • Page 123: Rmc Sentence

    ME3630 AT Command Reference Guide 11.15.6. RMC sentence Example: $GPRMC,083545.000,A,2233.4295,N,11356.7482,E,0.10,231.24,191213,,,A*6C<CR><LF> $GPRMC,065354.10,A,3411.295840,N,10852.586794,E,0.0,0.0,180317,3.1,W,A*23<CR><LF> String name Example Unit Description $GPRMC RMC sentence header MessageID 065354.10 UTC time Hour/Minute/Se cond Status [1] A= valid data V= invalid data Degree/point 3411.295840 Latitude N=North or S=South North/South 10852.586794...
  • Page 124: Zgnmeareq Query Specified Nmea Message

    ME3630 AT Command Reference Guide Reference T represents True North Azimuth angle Degree Azimuth angle M represents Magnetic North Reference Knot [2] Horizontal speed measured Speed N represents Knot [2] Unit Km/Hour [2] Speed Vertical speed measured K represents: Km/Hour...
  • Page 125: Gps Example

    ME3630 AT Command Reference Guide $GPGGA,,,,,,0,,,,,,,,*66 AT+ZGNMEAREQ=2 +ZGNMEAREQ: $GPRMC,,V,,,,,,,,,,N*53 AT+ZGNMEAREQ=3 +ZGNMEAREQ: $GPGGA,,,,,,0,,,,,,,,*66 $GPVTG,,T,,M,,N,,K,N*2C AT+ZGNMEAREQ=31 +ZGNMEAREQ: $GPGGA,,,,,,0,,,,,,,,*66 $GPRMC,,V,,,,,,,,,,N*53 $GPGSA,A,1,,,,,,,,,,,,,,,*1E $GPVTG,,T,,M,,N,,K,N*2C AT+ZGNMEAREQ? +ZGNMEAREQ: GGA,RMC,GSV,GSA,VTG 11.17. GPS Example AT+CPIN? // Query SIM Card status +CPIN: READY AT+CSQ //Query Signal Strength +CSQ: 15,99 AT+CREG?
  • Page 126 ME3630 AT Command Reference Guide AT+ZGURL=supl.qxwz.com:7275 //Set SUPL AT+ZGQOS=20,255 //Set location Qos AT+ZGMODE=3 //Set location mode AT+ZGPORT=0 // GPS information report from AT/MODEM/UART at the same time AT+ZGNMEA=31 // Set the reported NMEA format of GPS data AT+ZGRUN=1 //Start one-shot location mode...
  • Page 127: Hardware Relative Commands

    ME3630 AT Command Reference Guide 12. Hardware Relative Commands 12.1. +CCLK Clock Management Read command returns the current setting of the clock. Test command returns the OK result code. Command Response +CCLK? <CR><LF>+CCLK: <time><CR><LF> <CR><LF>OK<CR><LF> <CR><LF>+CME ERROR: <err><CR><LF> +CCLK=? <CR><LF>OK<CR><LF>...
  • Page 128: Zgpio Gpio Pins Set Command

    ME3630 AT Command Reference Guide 12.4. +ZGPIO GPIO Pins Set command This command is used to set/Query GPIO status/direction The syntax of this command +ZGPIO is shown in the table below: Command Response +ZGPIO=?<CR> <CR><LF>+ZGPIO: (1-5),(0-1),(0-1),(0-7),(0-2)<CR><LF> <CR><LF>OK<CR><LF> (Query the parameters’ range) <CR><LF>+CME ERROR: <err><CR><LF>...
  • Page 129 ME3630 AT Command Reference Guide 3 --- 8mA 4 --- 10mA 5 --- 12mA 6--- 14mA 7 --- 16mA <n5> Pull-up/down status. When GPIO is input, the default value Only when the pin is set to output, you can is 1, when is output, default value is 0.
  • Page 130: Zadcx Read Pin Adcx Value

    ME3630 AT Command Reference Guide //set GPIO2 to be input mode. AT+ZGPIO=2,0 //set GPIO4 to be output mode and high level. AT+ZGPIO=4,1,1 12.5. +ZADCx Read pin ADCx value This command is used to read the pin voltage of ADC1 and ADC2 values from modem.
  • Page 131: Zadb Open/Close Adb Port

    ME3630 AT Command Reference Guide Command Response +ZSWITCH=<os> <CR><LF>OK<CR><LF> +ZSWITCH=? <CR><LF>+ZSWITCH: (x/X,l/L,8)<CR><LF> <CR><LF>OK<CR><LF> +ZSWITCH? <CR><LF>+ZSWITCH:<os><CR><LF> <CR><LF>OK<CR><LF> Parameter <os>: Switch the ports to Linux/Android; X/x Switch the ports to Windows XP/Win7/VISTA/WinCE Switch the ports toWin8 Example AT+ZSWITCH? +ZSWITCH: x AT+ZSWITCH=l AT+ZSWITCH=? +ZSWITCH: (x/X,l/L,8) 12.7.
  • Page 132: Zadset Port Switch Between Rndis/Ndis In Windows System

    ME3630 AT Command Reference Guide AT+ZADB=1 AT+ZADB? +ZADB: 1 12.8. +ZADSET Port Switch between RNDIS/NDIS in Windows System This command is used to do port switch between RNDIS/NDIS in Windows System. Command Response +ZADSET=<n> <CR><LF>OK<CR><LF> +ZADSET=? <CR><LF>+ZADSET: (n/N,r/R,e/E)<CR><LF> <CR><LF>OK<CR><LF> +ZADSET? +ZADSET: <n>...
  • Page 133: Zsdt Enable Sim Card Hot-Plug Function

    ME3630 AT Command Reference Guide Note: at+zadset=<n>need to cooperate with command at+zswitch. This command is used to do port switch between RNDIS/NDIS in Windows System(at+zswitch=x). the PIDs of module under different operation system are list in the table below: Operation system& AT...
  • Page 134: Zchiptemp Get The Temperature Of Pmic, Xo, Pa

    ME3630 AT Command Reference Guide <CR><LF>OK<CR><LF> Parameter <n>: close SIM card hot-plug function(default value) open SIM card hot-plug function <polarity>: low level valid, when SIM card is plugged, USIM_DETECT(PIN41) is low level; when no SIM card, USIM_DETECT(PIN41) is high level(default).
  • Page 135: Zautosleep Enable/Disable Auto Sleep Function

    ME3630 AT Command Reference Guide <pmic_temprange>: PMIC(Power management chip)temperature range, -300~1100,stands for -30~110℃ <xo_temprange>: XO (crystals)temperature range, -300~1050, stands for -30~105℃ <pa_temprange>: overtemp temperature range is NULL, stands for no range limit. Example AT+ZCHIPTEMP? // get the current temperature of pmic, xo, pa.
  • Page 136: Zpowersave Module Enter Sleep Mode

    ME3630 AT Command Reference Guide +ZAUTOSLEEP:mem 12.12. +ZPOWERSAVE Module enter sleep mode* This command is used to let Module enter sleep mode, and then the USB ports are no longer enumerated. It takes effect immediately after setting. If you need to exit the sleep mode, there are two situations: 1.
  • Page 137 ME3630 AT Command Reference Guide 1. Assume that the initial value of the main diversity of WCDMA is -1, that is, the NV item controlling the main & diversity is not activated, and the default WCDMA’s main &diversity is turned on;...
  • Page 138: Tcp/Ip Relative Commands

    13. TCP/IP Relative Commands 13.1. +ZIPCONTEXT Switch PDP context This command is used for query/set the PDP context, and valid once setting, and it will be invalid after restart. And is only supported by ME3630-E and ME3630-A currently. Command Response +ZIPCONTEXT=[<cid>]...
  • Page 139 ME3630 AT Command Reference Guide Note: When establishing TCP connection, there are two ways to handle this: asynchronous and synchronous, the default is asynchronous. When in asynchronous mode, if network abnormality occurs (such as: poor signal, no route, etc.) or the server fails, After the command is sent, it returns “OK”...
  • Page 140: Zipclose Close Tcp/Udp Connection

    ME3630 AT Command Reference Guide Example AT+ZIPOPEN=1,0,125.55.143.92,6000 +ZIPSTAT: 1,1 AT+ZIPOPEN=? +ZIPOPEN: (1-5),(0-1),,(1-65535)[,(0-65535)[,(0-60)]] 13.3. +ZIPCLOSE Close TCP/UDP Connection Extensible AT command, this command is used to Close TCP/UDP connection. it will report +ZIPSTAT automatically to indicate the socket state. Command Response +ZIPCLOSE =<Socket id>...
  • Page 141: Zipsend Tcp/Udp Send Data In Ascii Format

    ME3630 AT Command Reference Guide 13.4. +ZIPSEND TCP/UDP Send Data in ASCII format Extensible AT command, this command is used to send datain ASCII format. The data can be sent only when the socket state is 1(Socket connection open, both send data and receive data normally), if socket state become to 2(Socket connection open, receive data normal, but send buffer is full),it will report +ZIPSTAT: <Socket id>,2 automatically .
  • Page 142: Zipstat Query Socket State

    ME3630 AT Command Reference Guide Example +ZIPRECV: 1,125.15.143.92,3000,4,ABCD AT+ZIPSERRPT=0 +ZIPRECV: 1,125.15.143.92,3000,4,61626364 13.6. +ZIPSTAT Query Socket State Extensible AT command, this command is used to Query Socket State. When the socket state changed, the new state will be reported automatically. Command Response +ZIPSTAT=<Socket id>...
  • Page 143: Ziplisten Open/Close Tcp/Udp Server

    ME3630 AT Command Reference Guide <CR><LF>OK<CR><LF> Parameter <Type>: Protocol type <Source port>: The Listening port, range: 1-65535 <Time out>: Max idle time of UDP connection. When the max idle time large than the value of time out, this udp connection will be released automatic, the parameter just used for udp server.
  • Page 144: Zipfrwl Set Tcp/Udp Internal Firewall

    ME3630 AT Command Reference Guide <Status>:State of TCP/UDP server server listening is close server listening is open <Socket id>: Socket Connection indication Invalid Socket id 1-5 Valid Socket id <Remote IP>: IP address of remote client <Remote port>: port of remote client, range: 1-65535...
  • Page 145: Zipsetrpt Set The Format Of Received Data

    ME3630 AT Command Reference Guide Close firewall (Default Value) Open firewall add new ip address to the visit lists delete ip address from the visit lists initialized the visit lists as empty <state>: firewall state firewall is in the close state firewall is in the open state <IP address>: IP address to add or delete.
  • Page 146: Zipsendraw Send Raw Data

    This command is used to send the raw data provided by device, and transparent transfer the raw data. When send this command, the module will get the data from the serial port, and end until receive +++. This command is support on ME3630-A series modules and ME3630E1CV1.0Bxx ,ME3630J2AV1.0B11 version and above currently. Command Response +ZIPCREATE=<socket_ID>...
  • Page 147: Zdnsgetip Domain Name Resolution

    13.13. +ZDNSGETIP domain name resolution This command is used for domain name resolution. This command can be used only when registered to the network. Note: This command doesn’t support IPv6. And this command is only supported by ME3630-E &ME3630-U currently. Command Response +ZDNSGETIP=<domain_name>...
  • Page 148: Zipalive Keepalive Function Setting Instruction

    ME3630 AT Command Reference Guide AT+ZDNSGETIP="wwwbaiducom” ERROR 13.14. +ZIPALIVE KeepAlive function setting instruction This command is used to set the keep alive function to keep the TCP long connection. Note: The command is only supported by firmware of or above ME3630E1CV1.0B19/ GM500U1AV1.0B05/ ME3630A1CV1.0B03 currently.
  • Page 149: Zipunack Get Length Of Data Not Been Confirmed By The Peer

    ME3630 AT Command Reference Guide +ZIPALIVE: 1,1,300,75,9 13.15. +ZIPUNACK Get length of data not been confirmed by the peer This command is used to obtain the data length that the TCP SOCKET has sent but has not been confirmed by the peer.
  • Page 150: Tcp Example

    ME3630 AT Command Reference Guide < port>: Port number, the range should be:1-65535 Example AT+ZIPSERPORT=1234 AT+ZIPSERPORT? +ZIPSERPORT: 1234 AT+ZIPSERPORT=? +ZIPSERPORT: (1-65535) 13.2. TCP Example +ZREADY // Module power-on active reporting AT+CPIN? //Query SIM card status +CPIN: READY AT+CSQ //Query signal strength...
  • Page 151 ME3630 AT Command Reference Guide +ZIPSTAT: 2,1 at+zipopen=5,1,219.144.130.27,7000 // establish TCP connection whose socket_id=5 +ZIPSTAT: 5,1 at+zipsend=2,31313131313131313131313131313132 //Send TCP data of HEX format through socket_id=2 +ZIPSEND: 2,16 +ZIPRECV: 2,219.144.130.27,8885,16,1111111111111112 //Received transparent data from TCP server, HEX data format display at+zipsend=5,3131313131343434343435353535...
  • Page 152: Ftp Relative Commands

    ME3630 AT Command Reference Guide AT+ZDATADEACT=1 //PDP connection disconnection. Only when there is no service use this cid, the PDP connection can be disconnected. Or other service will be unavailable. 14. FTP Relative Commands Note: The commands in this chapter are only supported by firmware of or above ME3630E1CV1.0B19/GM500U1AV1.0B05/ ME3630A1CV1.0B03 currently.
  • Page 153: Zftpsize Get The Size Of Ftp File

    ME3630 AT Command Reference Guide <CR><LF>$ZFTPTO:<con_timeout>,<rsp_timeout><CR><LF> <CR><LF>OK<CR><LF> $ZFTPTO =? <CR><LF>$ZFTPTO:(list of supported<con_timeout>s)[,(list of supported <rsp_timeout>s)]<CR><LF> <CR><LF>OK<CR><LF> Parameter <con_timeout>: FTP connection timeout, that is the timeout period of FTP during the connection phase. If no connection succeeds during this period, ERROR is returned. The value ranges is from 1 to 60 seconds. The default value is 30 seconds.
  • Page 154: Zftpget File Download

    ME3630 AT Command Reference Guide AT$ZFTPSIZE=ftp1.txt $ZFTPSIZE: 69520 AT$ZFTPSIZE=APP/ftp1.txt //the path to save the file is: /APP/ftp1.txt $ZFTPSIZE: 20 14.4. $ZFTPGET File Download This command is used to download the FTP file, you can download the whole file or part of the file.
  • Page 155: Zftpssize Get The Size Of Ftps File

    CONNECT This is a test, This is a test 14.6. $ZFTPSSIZE Get the Size of FTPs File ME3630E1CV1.0B18/ME3630E2CV1.0B05 and above version and ME3630-A series This command is supported on modules. This command is used to get the size of FTPs file...
  • Page 156: Zftpsget Send Get Request To Ftps Server And Download File

    This command is used to upload the file to FTPs server. When send this command, ME3630 will log in server first, and then the file will be directly manipulated. After the execution, the FTP login will be quit. That is, the FTP connection will be disconnected after each operation, and the connection will be re-initiated after receiving the next instruction.
  • Page 157: Zftpclose Close Ftp Service

    ME3630 AT Command Reference Guide <CR><LF>ERROR<CR><LF> Parameter <File_Name>: The file name you need to upload, and case-insensitive. If the name you set is the same as the file in server, it will replace the file in FTPs server. <data_length>: The length of data you want to upload <input_content>: the file content you want to input, when the length exceed the setting value, the exceed content is invalid.
  • Page 158: Ftps Example

    ME3630 AT Command Reference Guide AT$ZFTPCFG=219.144.130.27,test,test,0,1 //FTP Parameters setting AT$ZFTPPUT=ftp.txt,20 //FTP file uplaod CONNECT //The content you want to upload, and when using COM tool, it won’t echo in window AT$ZFTPSIZE=ftp.txt //Get the FTP file size of $ZFTPSIZE: 20 AT$ZFTPGET=ftp.txt...
  • Page 159 ME3630 AT Command Reference Guide AT$ZFTPCLOSE //Close FTP Rights reserved, Spreading without GOSUNCN Permission...
  • Page 160: Http/Https Relative Commands

    ME3630 AT Command Reference Guide 15. HTTP/HTTPs Relative Commands 15.1. +ZHTTPCFG Configuring HTTP properties This command is used to configure HTTP attributes, and will take effect once setting, the parameter won’t be saved after restart the module. Command Response +ZHTTPCFG=responseheader,<switch>...
  • Page 161: Zhttpurl Set Url Of Http Server

    ME3630 AT Command Reference Guide AT+ZHTTPCFG? +ZHTTPCFG: responseheader,0 +ZHTTPCFG: customheader,0 at+zhttpcfg=customheader,Accept: json/html at+zhttpcfg=customheader,Accept-Encoding: gzip //The client wants to receive data compressed with gzipfrom the server 15.2. +ZHTTPURL Set URL of HTTP server When setting the URL of HTTP server, it will start authentication automatically, and return OK at first, then return the result of authentication.
  • Page 162: Zhttppost Send Post Request To Http Server

    ME3630 AT Command Reference Guide Command Response +ZHTTPGET <CR><LF><HTTP SEVER RESPONS><CR><LF> <CR><LF>OK<CR><LF> <CR><LF>ERROR<CR><LF> Parameter <HTTP SEVER RESPONS>: HTTP server response message, including response header/context. For details please refer to HTTP protocol. Example AT+ZHTTPGET HTTP/1.1 200 OK Connection: keep-alive Server: meinheld/0.6.1...
  • Page 163 ME3630 AT Command Reference Guide <CR><LF>><data><CR><LF> <SEVER RESPONSES> <CR><LF>ERROR<CR><LF> <CR><LF>ERROR<CR><LF> +ZHTTPPOST=? <CR><LF>+ZHTTPPOST: (0-1),(1-1024),(0-60)<CR><LF> <CR><LF>OK<CR><LF> Parameter <content_type>: the value can be 0-1, the content type of POST request(The message body) Content-Type: text/html Content-Type: application/json 255 use the customheader set by command +ZHTTPCFG <content_length>: the value can between 0-1024, the content length of POST request(The message body)
  • Page 164: Zhttpsget Send Get Request To Https Server

    15.5. +ZHTTPSGET Send GET request to HTTPS server This command is supported on ME3630E1CV1.0B15/ME3630E2CV1.0B05 and above version and ME3630-A series modules. Send GET request to server after set URL of HTTPS server. If all the set is right, the server will response get request and send OK. If something is wrong, the server will response and send error.
  • Page 165: Zhttpspost Send Post Request To Https Server

    15.6. +ZHTTPSPOST send POST request to HTTPS server This command is supported on ME3630E1CV1.0B15/ME3630E2CV1.0B05 and above version and ME3630-A series modules. Send POST request to server after set URL of HTTPS server. If all the set is right, the server will response get request and send OK. If something is wrong, the server will response and send error.
  • Page 166: Zhttpsave Save File Get From Http/Https

    RAM:XXXXX: when this parameter begins with RAM, the information will be saved to RAM. And it won’t be saved after restart. Example AT+ZHTTPSAVE=1,gosuncn //Open the file storage function and save the GET or PUT information to the gosuncn file in FLASH. AT+ZHTTPSAVE=? +ZHTTPSAVE: <mode>,<save_path>...
  • Page 167: Http/Https Example

    ME3630 AT Command Reference Guide AT+ZHTTPGET 15.8. HTTP/HTTPS Example +ZREADY AT+CPIN? +CPIN: READY AT+CSQ +CSQ: 13,99 AT+CREG? +CREG: 0,1 AT+ZPAS? +ZPAS: "LTE","CS_PS","FDD" AT+ZDATACFG=1,"IP","CTNET" AT+ZDATAACT=1 AT+ZHTTPURL=https://219.144.130.27,1200,1 //http Parameters setting AT+ZHTTPURL? +ZHTTPURL: https://219.144.130.27/ AT+ZHTTPPOST=1,5 > HTTP/1.1 200 OK Date: Fri, 16 Mar 2018 06:40:48 GMT Server: Apache/2.2.21 (Win32) mod_ssl/2.2.21 OpenSSL/0.9.8r...
  • Page 168 ME3630 AT Command Reference Guide Accept-Ranges: bytes Content-Length: 44 Content-Type: text/html <html><body><h1>It works!</h1></body></html> Rights reserved, Spreading without GOSUNCN Permission...
  • Page 169: Ssl Related At Command

    ME3630 AT Command Reference Guide 16. SSL related AT command The instructions in this section are SSL-related AT commands. Note: The commands in this chapter are only supported by firmware of or above ME3630E1CV1.0B19/GM500U1AV1.0B05/ ME3630A1CV1.0B03 currently. 16.1. +ZSSLCFG Configuring SSL context parameters This command is used to configure SSL context parameters.
  • Page 170 ME3630 AT Command Reference Guide +ZSSLCFG=? <CR><LF>+ZSSLCFG: (1-5),sslversion,(0-4)<CR><LF> +ZSSLCFG: (1-5),ciphersuite,(0X0004-0XFFFF)<CR><LF> +ZSSLCFG: (1-5),seclevel,(0-2)<CR><LF> +ZSSLCFG: (1-5),ignorelocaltime,(0-1)<CR><LF> +ZSSLCFG: (1-5),negotiatetime,(10-300)<CR><LF> +ZSSLCFG: (1-5),cacert,<CR><LF> +ZSSLCFG: (1-5),clientcert,<CR><LF> +ZSSLCFG: (1-5),clientkey,<CR><LF> <CR><LF>OK<CR><LF> Parameter <ctx_id>:SSL context identifier, in the range of [1, 5]. <sslversion>:SSL version number, see the table below.
  • Page 171: Zsslopen Open A Ssl Socket To Connect Remote Server

    ME3630 AT Command Reference Guide <ignorelocaltime>: Ignore the local time stamp, the values are shown in the table below. ignorelocaltime Whether to ignore the local time 1 (Defaults) <negotiatetime>: Negotiation timeout period, the value range is [10, 300], the unit is second, and the default value is 300.
  • Page 172: Zsslclose Close Ssl Connection

    ME3630 AT Command Reference Guide +ZSSLOPEN=? <CR><LF>+ZSSLOPEN: (1-5),(1-5),,(1-65535)<CR><LF> <CR><LF>OK<CR><LF> Parameter <ctx_id>: SSL context identifier, in the range of (1, 5). <link_id>: The SSL connection ID, in the range of (1, 5). <peer_address>: The IP address (in dotted decimal format) or domain name of the remote server.
  • Page 173: Zsslsend Send Data(Ascii)Via Ssl Connection

    ME3630 AT Command Reference Guide AT+ZSSLCLOSE=1 +ZSSLSTAT: 1,0 AT+ZSSLCLOSE? +ZSSLCLOSE: (1,0),(2,0),(3,0),(4,0),(5,0) AT+ZSSLCLOSE=? +ZSSLCLOSE: (1-5) 16.4. +ZSSLSEND Send data(ASCII)via SSL Connection This command is used to send the ASCII code corresponding to the data. The data can only be sent when the connection is open.
  • Page 174: Zsslstat Query The State Of Ssl Connection

    ME3630 AT Command Reference Guide <peer_address>: IP address of the remote server (in dotted decimal format). <peer_port>: The port number of the remote server. < >: The length of the reported data. length <data>: The reported data, the default format is the original data, if you need to convert to ASCII encoding format, please use the command +ZSSLSETRPT to set.
  • Page 175: Zsslsendraw Send Raw Data Via Ssl Connection

    ME3630 AT Command Reference Guide +ZSSLSETRPT=? <CR><LF>+ZSSLSETRPT: (0,1) <CR><LF> <CR><LF>OK <CR><LF Parameter <view_mode>: The display format of the received data, 0 means ASCII encoding format, 1 means raw data format, default value is 1. Example AT+ZSSLSETRPT=0 AT+ZSSLSETRPT? +ZSSLSETRPT: 0 AT+ZSSLSETRPT=? +ZSSLSETRPT: (0,1) 16.8.
  • Page 176 ME3630 AT Command Reference Guide AT+CREG? // Query network status +CREG: 0,1 AT+ZDATACFG=1,"IPV4V6","3gnet" AT+ZDATAACT=1 AT+ZDATAACT? +ZDATAACT: 1,"IPV4",10.109.94.160,221.11.1.67,221.11.1.68 +ZDATAACT: 1,"IPV6",2408:84fb:1220:19df:e096:86ae:6c03:8810,2408:8888::8,2408:8899::8 AT+ZSSLCFG=1,seclevel,0 //Do not authenticate the peer server (encrypted data only) AT+ZSSLOPEN=1,1,www.example.com,443 // Connect to remote server +ZSSLSTAT: 1,1 // server connected success...
  • Page 177: Mqtt Related At Command

    ME3630 AT Command Reference Guide 17. MQTT Related AT Command 17.1. +ZMQNEW Create a new MQTT connection This command is used to establish a new MQTT connection with the MQTT server via the TCP protocol. Up to 5 new MQTT connections can be established.
  • Page 178: Zmqcfg Configure Parameters Of Mqtt

    ME3630 AT Command Reference Guide MQTT protocol v3 MQTT protocol v4 <client_id>: String, client ID,Client_id only. <keepalive_interval>: Integer, Keep the connection interval. It defines the maximum time interval between messages received from the client. Unit: Second, the value range is 0 ~ 65535, and 12000 is recommended. The MQTT server disconnects the link for some reason, so it is not recommended to set it to a value that is too small.
  • Page 179: Zmqdiscon Disconnect From The Mqtt Server

    ME3630 AT Command Reference Guide Enable/disable SSL CACERT CA CA Certificate CLIENTCERT Client Certificate CLIENTKEY Client key <value>: value 0: disable SSL 1: enable SSL CACERT CA Certificate file name, Length: 0~128 CLIENTCERT Client Certificate file name, Length: 0~128 CLIENTKEY...
  • Page 180: Zmqdiscon Active Report Mqtt Disconnected Indication

    ME3630 AT Command Reference Guide Command Response +ZMQDISCON=<mqtt_id> <CR><LF>OK<CR><LF> <CR><LF>ERROR: <err><CR><LF> Parameter <mqtt_id>: Integer, MQTT link ID Invalid socket identification number 1-5 Valid socket identification number Example AT+ZMQDISCON=1 //Send MQTT disconnect message. 17.5. +ZMQDISCON Active report MQTT disconnected indication This command is used to receive the MQTT disconnect indication because the MQTT service may disconnect the device's MQTT for some reason.
  • Page 181: Zmqunsub Send Mqtt Unsubscribe Message

    ME3630 AT Command Reference Guide 17.7. +ZMQUNSUB Send MQTT unsubscribe message This command is used to send an MQTT unsubscribe message. This command only supports setting commands and does not support testing and querying instructions. Command Response +ZMQUNSUB=<mqtt_id>,<topic> <CR><LF>OK<CR><LF> <CR><LF>ERROR: <err><CR><LF>...
  • Page 182: Zmqpubraw Send Mqtt Publish Messages(Raw)

    ME3630 AT Command Reference Guide <message>: string, the content of the published message must be an ASCII code string. Other characters are not supported, otherwise the sent data is empty. Example AT+ZMQSETRPT=0 //Set the display format of the received data HEX...
  • Page 183: Zmqrcv Actively Report Received Mqtt Publish Message

    ME3630 AT Command Reference Guide +ZMQRCV: 2,/moekon/substopic2,0,0,0,4,1234 Set the display format of the received data HEX AT+ZMQSETRPT=0------- AT+ZMQPUBRAW=2,/moekon/substopic2,1,0,0,4 -------- Send an MQTT to publish the message, and the message is "1234". > +ZMQRCV: 2,/moekon/substopic2,0,0,0,4,31323334 17.10. +ZMQRCV Actively report received MQTT publish message This command is used to receive MQTT publish messages.
  • Page 184: Zmqsetrpt Set The Display Form Of The Received Data

    ME3630 AT Command Reference Guide 1-5 Valid socket identification number <Status>: Socket connection status Socket connection closed The socket connection is open, and data can be sent or received normally. Example AT+ZMQSTAT=1 +ZMQSTAT: 1,1 17.12. +ZMQSETRPT Set the display form of the received data This command is used to set the display form of the received data.
  • Page 185: Examples: Creating An Mqtt Connection

    ME3630 AT Command Reference Guide 1001 The network is not connected (the MQTT operation needs to be connected to the Internet first) 1002 DNS fail 1003 No MQTT connection available (need to execute new/connect first) 1004 Link already exists (repeat connection)
  • Page 186 ME3630 AT Command Reference Guide AT+ZMQSETRPT=1 //Set the display format for receiving MQTT data AT+ZMQPUB=1,mytopic,1,0,0,4,31323334 //Issue message 1234 to MQTT +ZMQRCV: 1,mytopic,1,0,0,4,1234 //Received content sent by MQTT AT+ZMQPUBRAW=1,mytopic,1,0,0,8 //Transparent transmission of data packets to MQTT > //Published message, transparent transmission, not displayed on the port...
  • Page 187: File Operation Related At Command

    ME3630 AT Command Reference Guide 18. File Operation Related AT Command Note: The commands in this chapter are only supported by firmware of or above ME3630E1CV1.0B19/ GM500U1AV1.0B05/ ME3630A1CV1.0B03 currently. 18.1. +ZFILEPUT Upload File This command is used to upload files.
  • Page 188: Zfilelist Query File Information

    ME3630 AT Command Reference Guide +ZFILEDEL=<filename> <CR><LF>OK<CR><LF> <CR><LF>ERROR<CR><LF> Parameter <filename>:file name “filename”:Delete the file from the specified FLASH directory “RAM:filename”: Remove from RAM Example AT+ZFILEDEL=gosuncn 18.3. +ZFILELIST Query file information This command is used to query file information. Command Response +ZFILELIST=<filename>...
  • Page 189 ME3630 AT Command Reference Guide <CR><LF>OK<CR><LF> <CR><LF>ERROR<CR><LF> Parameter <filename>: file name “filename”: Specify files in FLASH “RAM:filename”: Specify files in RAM <offset>: The number of bytes moved by the file pointer (offset) <length>: File content length Example at+zfiledwl=test.txt +ZFILEDWL: 20...
  • Page 190: Fota Related Commands

    ME3630 AT Command Reference Guide 19. FOTA R ELATED OMMANDS Note: The commands in this chapter are extended and only supported on the latest software version. Before downloading the differential package, it is necessary to ensure that the module can be connected to the network and dial up normally.
  • Page 191: Extended Commands

    20.1. +ZCLRACQ Clear the historical earfcn/uarfcn This command is supported on ME3630-A series modules and ME3630J2AV1.0B10 version or above version, and this command is used to clear the historical earfcn/uarfcn(Absolute Radio Frequency Channel Number of the BCCH carrier) of LTE/UMTS. The module will do all frequency search to get the network after restart the module.
  • Page 192: Zcpwr Pin76 Configure The Output Voltage Level Of Pin76

    ME3630 AT Command Reference Guide Command Response +ZCLRACQ=0,<rat><CR> <CR><LF>OK<CR><LF> <CR><LF>ERROR<CR><LF> +ZCLRACQ=?<CR> <CR><LF>+CLRACQ: (0,<3,4>)<CR><LF> <CR><LF>OK<CR><LF> Parameter <rat>: clear the historical earfcn/uarfcn UMTS, clear the historical uarfcn LTE, clear historical earfcn When this parameter is omitted, it stands for clear all the historical earfcn/uarfcn of LTE and UMTS...
  • Page 193: Cced Get Neighbour Cell Information

    ME3630 AT Command Reference Guide high level (1.8V) Example AT+ZCPWR=0 AT+ZCPWR? +ZCPWR: 0 AT+ZCPWR=? +ZCPWR: (0, 1) 20.3. +CCED Get neighbour cell Information This command is only supported by firmware of or above GR501_ME3630E1CV1.0B01, and is used for getting neighbor cell Information...
  • Page 194 ME3630 AT Command Reference Guide MCC,MNC,LAC,CI,BSIC,BCCHFreq(absolute),RxLev,RxLevFull,RxLevSub, RxQual,RxQual Full,RxQual Sub,Idle TS <value13>/<value19> data relating to the first neighbouring cell as follows: MCC,MNC,LAC,CI,BSIC,BCCH Freq (absolute),RxLev <value20>/<value26> data relating to the second neighbouring cell … <value48>/<value54> data relating to the sixth neighbouring cell <CR><LF>ERROR<CR><LF>...
  • Page 195: Zrspext Query Arfcn,Rsrp Of Cell

    ME3630 AT Command Reference Guide 450,-106.70,-9.30,0,186,-88.20,,, 1650,-107.40,-14.50,0,201,-82.90,,, When the cell is of 3G type, it returns: at+cced=0,3 460,1,bb1d,3b28,10663,447,-80,-6,99, 1,10663,457,0,0,99, 1,10663,503,-78,-3,99, 1,10663,292,-80,-5,99, 1,10663,502,-86,-9,99, 1,10663,499,-104,-10,99, 1,10663,461,-107,-13,99, 1,10663,493,-107,-13,99, 1,10663,444,-110,-16,99, When the cell is of 2G type, it returns: at+cced=0,3 460,0,90f3,4263,62,619,29,65535,65535,7,65535,65535, 460,0,90f3,4264,62,629,0, 460,0,90f3,59a8,47,37,0, 460,0,90f3,571d,30,30,0,...
  • Page 196: Zmodeset Connection Mode Setting

    ME3630 AT Command Reference Guide <tx_power>: Transmit power Example AT+ZRSPEXT? +ZRSPEXT: 1825,-110,-140,99 20.5. +ZMODESET Connection Mode Setting This command is used to set/get Connection Mode Setting, and it is only supported by firmware of or above ME3630J2AMV1.0B05. Response Command +ZMODESET=<Mode>...
  • Page 197: Zgswcheck Query Status Of Network Card

    ME3630 AT Command Reference Guide <CR><LF>ERROR<CR><LF> +ZRTRFST? <CR><LF>+ZRTRFST: 0,<Traffic Statistic><LF> +ZRTRFST: 1,<Traffic Statistic><LF> +ZRTRFST: 2,<Traffic Statistic><CR><LF> <CR><LF>OK<CR><LF> <CR><LF>ERROR<CR><LF> +ZRTRFST=? <CR><LF>+ZRTRFST: (0-2),(0)<CR><LF> <CR><LF>OK<CR><LF> <CR><LF>ERROR<CR><LF> Parameter <Mode>: default mode HS mode HS+A mode <Traffic Statistic>: unit:Bytes Clear default mode flow traffic Clear HS mode flow traffic...
  • Page 198: Zdataroam Set The Roam Status Of Module

    20.8. +ZDATAROAM Set the Roam status of module This command is used to set the Roam status of module, and it will take effect once setting. Note: This is an extended command, and is only supported by module of ME3630-J2A Response Command +ZDATAROAM =<state>...
  • Page 199 ME3630 AT Command Reference Guide Example AT+ZDATAROAM? +ZDATAROAM: 1 AT+ZDATAROAM=? +ZDATAROAM: (0-2) AT+ZDATAROAM=1 +ZDATAROAM:Reset is not required Rights reserved, Spreading without GOSUNCN Permission...

Table of Contents