EVK-G45 - User Guide
UBX-18058360 - R01
Appendix
Page 16 of 21
4.
The packet data connection is now ready to be
used with the EVK-G45. To check the connection,
start a browser.
☞
Consult the cellular network operator for username and password. In most cases, these can be left
empty.
C
Examples of AT commands
For the complete description and syntax of the AT commands supported by SARA-G450 module, see
the u-blox AT commands Manual
[1]
.
For detailed examples of AT commands for network registration and configuration, context
activation, data connection management, SIM management and other module settings, see the
u-blox AT Commands Examples Application Note
[2]
.
C.1
SMS management
Command sent by DTE (user)
DCE response (module)
Description
AT+CMGF=1
OK
Set the text mode as the format that will
be used. To be set before of the first
operation.
AT+CMGS="+3930012345678"
SMS TEXT MESSAGE 0123456789<CTRL-
Z>
>
+CMGS: 0
OK
Send 1
st
SMS (+3930012345678 is
written here as example).
AT+CMGS="+3930012345678"
SMS TEXT MESSAGE 0123456789<CTRL-
Z>
>
+CMGS: 1
OK
Send 2
nd
SMS (+3930012345678 is
written here as example).
AT+CMGL
+CMGL:302,"REC UNREAD","+39300123
45678",,"05/09/27,16:40:36+08"
SMS TEXT MESSAGE 0123456789
OK
List all the incoming SMSes
(+3930012345678 is written here as
example).
C.2
Internet connection in GPRS mode
(using external TCP/IP stack)
Command sent by DTE (user)
DCE response (module)
Description
AT+CGATT?
+CGATT: 1
OK
Check if the cellular module is attached to
GPRS service (1: attached, 0: detached).
AT+CGDCONT=1,"IP","uni.tim.it"
OK
Define the PDP context parameters.
AT+CGDCONT?
+CGDCONT: 1,"IP","my_apn","0.0.0.
0",0,0
OK
ATD*99***1#
CONNECT
Initiate the GPRS connection.
+++
OK
Disconnect with +++ sequence.