Version 16.1 by David Huang on 2023/08/08 09:59

Hide last authors
Xiaoling 15.6 1 **Table of Contents: **
Xiaoling 15.4 2
Xiaoling 1.3 3 (((
Xiaoling 15.4 4 {{toc/}}
5
6
7
Xiaoling 15.6 8 = 1.  AT+CGDCONT Define a PDP Context =
9
10
Xiaoling 1.3 11 )))
12
13 (((
14 The write command specifies PDP context parameter values for a PDP context identified by <cid>, and the (local) context identification parameter. It also allows the TE to specify whether security protected transmission of ESM information is requested, because the PCO can include information that requires ciphering. There can be other reasons for the UE to use security protected transmission of ESM information, e.g. if the UE needs to transfer an APN. The number of PDP contexts that may be in a defined state at the same time is given by the range returned by the test command. Please refer to Chapter 6 for possible <err> values.
15 )))
16
17 (((
18 For EPS, the PDN connection and its associated EPS default bearer is identified herewith.
19 )))
20
21 (((
22 A special form of the write command, AT+CGDCONT=<cid> causes the values for context number <cid> to become undefined.
23 )))
24
25 (((
26 If the initial PDP context is supported, the context with <cid>=0 is automatically defined at startup, the parameters for <cid>=0 can be modified with AT+CGDCONT. If the initial PDP context is supported, AT+CGDCONT=0 resets context number 0 to its particular default settings.
27 )))
28
29 (((
30 The read command returns the current settings for each defined context.
31 )))
32
33 (((
34 The test command returns values supported as compound values. If the UE supports several PDP types, the parameter value ranges for each <PDP_type> are returned on a separate line.
35 )))
36
Xiaoling 1.4 37 (((
38
39 )))
40
Xiaoling 12.2 41 [[image:image-20220530095114-1.png]]
Xiaoling 1.3 42
Xiaoling 15.10 43 **COMMAND**
Xiaoling 1.3 44
45
Xiaoling 12.2 46 [[image:image-20220530095214-2.png]]
47
Xiaoling 15.10 48 **Parameter**
Xiaoling 1.3 49
Xiaoling 12.2 50
Xiaoling 4.1 51 (((
Xiaoling 15.7 52 (% style="color:blue" %)**Example:**
Xiaoling 4.1 53 )))
Xiaoling 1.3 54
Xiaoling 1.4 55 (((
Xiaoling 15.9 56 {{{AT+CGDCONT=?}}}
Xiaoling 1.4 57 )))
Xiaoling 1.3 58
Xiaoling 1.4 59 (((
Xiaoling 15.9 60 {{{+CGDCONT: (0-10),("IP","NONIP","IPV6","IPV4V6"),,,(0),(0),,,,,(0,1)
61 OK}}}
Xiaoling 1.4 62 )))
Xiaoling 1.3 63
Xiaoling 1.4 64 (((
Xiaoling 15.9 65 {{{AT+CGDCONT=1,"IP","HUAWEI.COM"}}}
Xiaoling 1.4 66 )))
Xiaoling 1.3 67
Xiaoling 1.4 68 (((
Xiaoling 15.9 69 {{{OK}}}
Xiaoling 1.4 70 )))
Xiaoling 1.3 71
Xiaoling 1.4 72 (((
Xiaoling 15.9 73 {{{AT+CGDCONT?}}}
Xiaoling 1.4 74 )))
Xiaoling 1.3 75
Xiaoling 1.4 76 (((
Xiaoling 15.9 77 {{{+CGDCONT:0,"IPV4V6",,,0,0,,,,,0}}}
Xiaoling 1.4 78 )))
Xiaoling 1.3 79
Xiaoling 1.4 80 (((
Xiaoling 15.9 81 {{{+CGDCONT:1,"IP","HUAWEI.COM",,0,0,,,,,0}}}
Xiaoling 1.4 82 )))
Xiaoling 1.3 83
Xiaoling 1.4 84 (((
Xiaoling 15.9 85 {{{OK}}}
David Huang 16.1 86
87 **Users can directly use the AT command to set APN.**
Edwin Chen 10.1 88 )))
Edwin Chen 5.1 89
David Huang 16.1 90 **AT+APN=<APN>**
Edwin Chen 5.1 91
92
Xiaoling 15.6 93 = 2.  Quit AT Command =
94
95
Edwin Chen 5.1 96 Feature: Quit AT Command mode, so user needs to input the password again before using AT Commands.
97
Xiaoling 15.9 98 (% style="color:blue" %)**AT Command: AT+DISAT**
Xiaoling 15.8 99
Xiaoling 15.9 100 (% border="1" style="background-color:#f2f2f2; width:471px" %)
101 |=(% style="width: 168px;background-color:#d9e2f3; color:#0070c0" %)**Command Example**|=(% style="width: 201px;background-color:#d9e2f3; color:#0070c0" %)**Function**|=(% style="width: 99px;background-color:#d9e2f3; color:#0070c0" %)**Response**
102 |(% style="width:168px" %)AT+DISAT|(% style="width:201px" %)Quit AT Commands mode|(% style="width:99px" %)OK
Edwin Chen 5.1 103
Xiaoling 15.9 104 (% style="color:blue" %)**Downlink Command:**
Xiaoling 15.6 105
Edwin Chen 5.1 106 No downlink command for this feature.