1. INTRODUCTION TO AT COMMANDS

AT+CMGL=“ALL”

+CMGL: 1,“REC READ”,“+447747008670”,“Matt L”,“02/10/ 21,10:07:23+04”,145,4

Test

+CMGL: 2,“REC READ”,“+447747008670”,“Matt L”,“02/11/ 19,09:57:28+00”,145,8

Test sms

+CMGL: 3,“REC UNREAD”,“+447747008670”,“Matt L”,“02/11/ 19,09:58:06+00”,145,8

Test sms

OK

1.6 GPRS Communication

To initiate a session with the network you need to setup a ‘data account’ on the module, using the AT+CGDCONT command. You need to specify the correct Access Point Name (APN), which you get from your service provider. The command below sets up the data account to access Vodafone’s internet server.

AT+CGDCONT=1,“IP”,“internet”

After this you need to use the ATD command to make a GPRS call. The example below dials into the network using account number 1 (the GM47 supports up to 10):

ATD*99***1#

If the module is able to connect to the APN it will return a CONNECT. At this point PPP/IP packets should be sent by the application, to negotiate an IP address. The easiest way of doing this whole thing is to create a windows dial up networking session with the dial string *99***1# after creating the data account on the module.

It is not possible to call a mobile station using GPRS at present. The reason for this is that unless a PDP context has been setup it has not been assigned an IP address by the GGSN/DHCP server and as a result it cannot be addressed other than through its phone number (defeating the object of using IP). This is specified in GSM 7.60 or 3GPP 27.060.

89

LZT 123 7263 R1C

Page 89
Image 89
Sony Ericsson GM47, GM48 manual Gprs Communication, At+Cmgl=All