Copyright © Neoway Technology Co., Ltd
4 GPRS Commands ................................................................................... 29
4.1 Setting PDP Format: CGDCONT ............................................................................................... 29
4.2 Sending USSD Data: +CUSD .................................................................................................... 30
4.3 Switching Data Mode to Command Mode: +++ ......................................................................... 31
4.4 Switching Command Mode to Data Mode: ATO ........................................................................ 32
4.5 Setting Network APN: +NETAPN ............................................................................................... 32
4.6 Setting Up a PPP Link: +XIIC .................................................................................................... 33
4.7 Setting GPRS Attach and Detach: +CGATT .............................................................................. 34
5 SMS Commands ..................................................................................... 36
5.1 Setting Preferred SMS Storage: +CPMS ................................................................................... 36
5.2 Setting SMS Inputting Mode: +CMGF ........................................................................................ 37
5.3 Setting the TE Character Set: +CSCS ....................................................................................... 38
5.4 Setting the SMS Indication Mode: +CNMI ................................................................................. 38
5.5 Reading SMS Messages: +CMGR ............................................................................................ 40
5.6 SMS Message List: +CMGL ....................................................................................................... 42
5.7 Sending SMS Messages:+CMGS .............................................................................................. 45
5.8 Writing SMS Messages:+CMGW ............................................................................................... 46
5.9 Sending Stored SMS Messages:+CMSS................................................................................... 47
5.10 Delete SMS messages: +CMGD ............................................................................................. 48
5.11 Setting the SMS Center Number: +CSCA ............................................................................... 49
5.12 Setting the Parameters of the Text Mode: +CSMP .................................................................. 49
5.13 Displaying the Parameters of the Text Mode: +CSDH ............................................................. 50
5.14 Selecting the Type of Cell Broadcast Messages: +CSCB ....................................................... 51
6 Phonebook Commands ........................................................................... 53
6.1 Selecting Phonebook Storage:+CPBS ....................................................................................... 53
6.2 Reading the Phonebook: +CPBR .............................................................................................. 54
6.3 Querying the Phonebook: +CPBF .............................................................................................. 55
6.4 Writing Information to the Phonebook: +CPBW ......................................................................... 56
6.5 Reading My Number:+CNUM .................................................................................................... 56
7 TCP Data Service .................................................................................... 58
7.1 Setting Up TCP Link: +TCPSETUP ........................................................................................... 58
7.2 Sending TCP Data: +TCPSEND ................................................................................................ 59
7.3 Receiving TCP Data: +TCPRECV ............................................................................................. 60
7.4 Closing TCP Link: +TCPCLOSE ................................................................................................ 60
7.5 Querying TCP/UDP Link Status: +IPSTATUS ............................................................................ 61
7.6 Querying the Status of Data Sent by the TCP Link: +TCPACK ................................................. 62
7.7 Setting Data TX/RX Type: +DATAFORMAT ............................................................................... 63
8 UDP Data Service ................................................................................... 65
8.1 Setting Up UDP Link: +UDPSETUP .......................................................................................... 65
8.2 Sending UDP Data: +UDPSEND ............................................................................................... 66
8.3 Receiving UDP Data: +UDPRECV ............................................................................................ 67
8.4 Reading UDP Data: +UDPREAD ............................................................................................... 67
8.5 Closing UDP Link: +UDPCLOSE ............................................................................................... 68
9 Transparent Mode ................................................................................... 69
9.1 Setting Up Transparent TCP Link: +TCPTRANS ....................................................................... 69
9.2 Setting Up Transparent UDP Link: +UDPTRANS ...................................................................... 70