beautypg.com

At+cmgd delete message, +cgdcont define pdp context – Horner APG XLt OCS HE-GSM04 User Manual

Page 53

background image

MAN4005-04-EN

GPRS / GSM MODEM Configuration

PAGE 53


14. AT+CMGD Delete Message

2.5.4.4. AT+CMGD

Delete Message

Command Function

Deletes message from preferred storage location.

Command Functional
Group

Short Message Services

Command Format Query
Response

N/A
N/A

Write Format
Response

N/A
N/A

Read Format
Response

N/A
N/A

Execution Format
Response

AT+CMGD=
OK

Parameter Values

Integer value of memory location.

Notes

If there is no message stored in the selected index, an error will be returned.


15. +CGDCONT Define PDP Context

+CGDCONT

Define PDP Context

Command Function

Specifies PDP context parameter values for a PDP context identified by the (local)
context identification parameter, .

Command Functional Group

GPRS Commands

Command Format Query
Response

AT+CGDCONT=?
+CGDCONT: (1-2),”IP”,,,(0,1),(0,1)
OK

Write Format
Response

AT+CGDCONT=,,
,,,

OK

Read Format
Response

AT+CGDCONT?
+CGDCONT: ,Type>,<”APN”>,<”PDP_ADDR”>,
,

OK

Execution Format
Response

N/A
N/A

Parameter Values

PDP Context Identifier

“IP”

<”APN”>

“Access Point Name”

<”PDP_addr”>

” Identifies the MT in the address space”

0

off

1

on

0

off

1

on

Notes

AT+CGDCONT must be entered before Context activation.
AT+CGDCONT=1,”IP”,””,””,0,0 may be entered for networks that dynamically assign
the APN. Contact your service provider for correct APN information.

Page 53 of 62 ECN # 956

This manual is related to the following products: