10.1.29 Delete non-active PDP contexts +CGDEL

27.0073GPPAT command set for User Equipment (UE)Release 18TS

Table 10.1.29-1: +CGDEL action command syntax

Command

Possible Response(s)

+CGDEL[=<cid>]

[+CGDEL: <cid>[,<cid>[,…]]]

+CME ERROR: <err>

+CGDEL=?

Description

The execution command +CGDEL=<cid> removes the indicated PDP context and removes all associated data related to the indicated PDP contexts that are not activated. The AT command will not delete or remove information for activated PDP contexts. The removed PDP context is listed by the +CGDEL: <cid> intermediate result code. If the initial PDP context is supported (see clause 10.1.0), +CGDEL=0 will return ERROR and the context will not be removed.

If <cid> points to a primary PDP context, the PDP context will be deleted together with all linked secondary PDP contexts if none of the PDP contexts are activated.

If <cid> points to a secondary PDP context, the PDP context will be deleted if it is not activated.

A special form of the command can be given as +CGDEL (with the =<cid> omitted). In this form, all primary PDP contexts that are not activated or have any activated secondary PDP contexts will be removed and all secondary PDP contexts that are not activated will be removed. The associated data of all the deleted PDP contexts will be removed, and the removed PDP context are listed by the +CGDEL: <cid>[,<cid>[,…]] intermediate result code. Activated PDP contexts will not cause this form of the command to return ERROR or +CME ERROR. Refer clause 9.2 for possible <err> values.

If the initial PDP context is supported (see clause 10.1.0), +CGDEL (with the =<cid> omitted) will not cause the initial PDP context to be removed or cause +CGDEL to return ERROR.

NOTE: +CGDEL will remove associated PDP context data that can be set by the AT commands +CGDCONT, +CGDSCONT, +CGTFT, +CGQREQ, +CGQMIN, +CGEQREQ, +CGEQMIN, +CGEQOS, +CGAUTH and +C5GQOS.

For an attempt to delete PDP context(s) which would violate these rules, a +CME ERROR response is returned. Refer clause 9.2 for possible <err> values.

Defined values

<cid>: integer type; specifies a particular PDP context definition (see the +CGDCONT and +CGDSCONT commands).

Implementation

Optional.