Packet Domain Commands: Difference between revisions

From Teltonika Networks Wiki
(Replaced content with "==Packet Domain Related Commands == Category:TRM250 AT Commands")
Tag: Replaced
No edit summary
Line 1: Line 1:
==Packet Domain Related  Commands ==
==Packet Domain Related  Commands ==


===[https://wiki.teltonika-networks.com/images/3/32/Quectel_EC25%26EC21_AT_Commands_Manual_V1.3.pdf#page=148&zoom=100,68,232 ATT+CGATT Attachment or Detachment of PS] ===
----
The Write Command is used to attach the MT to, or detach the MT from the Packet Domain service. After the command has been completed, the MT remains in V.25ter command state. If the MT is already in the requested state, the command is ignored and the '''OK''' response will be returned. If the requested state cannot be achieved, an '''ERROR''' or '''+CME ERROR''' response is returned.


[[Category:TRM250 AT Commands]]
===[https://wiki.teltonika-networks.com/images/3/32/Quectel_EC25%26EC21_AT_Commands_Manual_V1.3.pdf#page=149&zoom=100,68,314 AT+CGDCONT Define PDP Context] ===
----
The command specifies PDP context parameters for a specific context '''<cid>'''. A special form of the Write Command ('''AT+CGDCONT=<cid>''') causes the values for context '''<cid>''' to become undefined. It is not allowed to change the definition of an already activated context.
 
The Read Command returns the current settings for each defined PDP context.
 
===[https://wiki.teltonika-networks.com/images/3/32/Quectel_EC25%26EC21_AT_Commands_Manual_V1.3.pdf#page=150&zoom=100,68,784 AT+CGQREQ Quality of Service Profile (Requested)] ===
----
The command allows the TE to specify the quality of service profile that is used when the MT activates a PDP context.
 
The Write Command specifies a profile for the context '''<cid>'''. A special form of the Write Command, '''AT+CGQREQ=<cid>''' causes the requested profile for context number '''<cid>''' to become undefined. The
 
Read Command returns the current settings for each defined context. Details can be found in 3GPP TS
23.107 and all parameters are saved in NV automatically
 
===[https://wiki.teltonika-networks.com/images/3/32/Quectel_EC25%26EC21_AT_Commands_Manual_V1.3.pdf#page=153&zoom=100,68,612 AT+CGQMIN Quality of Service Profile (Minimum Acceptable)] ===
----
The command allows the TE to specify a minimum acceptable profile which is checked by the MT against the negotiated profile when the PDP context is activated. The write command specifies a profile for the context identified by the context identification parameter '''<cid>'''.
 
A special form of the write command, '''AT+CGQMIN=<cid>''' causes the minimum acceptable profile for context number <cid> to become undefined. In this case no check is made against the negotiated profile. The read command returns the current settings for each defined context. Details can be found in 3GPP TS 23.107 and all parameters are saved in NV automatically.
 
===[https://wiki.teltonika-networks.com/images/3/32/Quectel_EC25%26EC21_AT_Commands_Manual_V1.3.pdf#page=156&zoom=100,68,97 AT+CGEQREQ 3G Quality of Service Profile (Requested)]===
----
The command allows the TE to specify a UMTS Quality of Service Profile that is used when the MT activates a PDP context. Details can be found in 3GPP TS 23.107 and all parameters are saved in NV automatically.
 
===[https://wiki.teltonika-networks.com/images/3/32/Quectel_EC25%26EC21_AT_Commands_Manual_V1.3.pdf#page=160&zoom=100,68,245 AT+CGEQMIN 3G Quality of Service Profile (Minimum Acceptable)] ===
----
The command allows the TE to specify a minimum acceptable profile, which is checked by the MT against the negotiated profile returned in the PDP context establishment and PDP context modification procedures. Details can be found in 3GPP TS 23.107 and all parameters are saved in NV automatically.
 
===AT+CGACT Activate or Deactivate PDP Context ===
----
The Write Command is used to activate or deactivate the specified PDP context(s). After the command has been completed, the MT remains in V.250 command state. If any PDP context is already in the requested state, the state for that context remains unchanged. If the MT is not PS attached when the activation form of the command is executed, the MT first performs a PS attach and then attempts to activate the specified contexts. If no '''<cid>'''s specify the activation/deactivation form of the command, it will activate or deactivate all defined contexts.
 
===[https://wiki.teltonika-networks.com/images/3/32/Quectel_EC25%26EC21_AT_Commands_Manual_V1.3.pdf#page=165&zoom=100,68,578 AT+CGDATA Enter Data State] ===
----
The Write Command causes the MT to perform whatever actions that are necessary to establish communication between the TE and the network using one or more packet domain PDP types. This may include per-forming a PS attach and one or more PDP context activations. Commands following the '''AT+CGDATA''' command in the AT command line will not be processed by the MT.
 
If the '''<L2P>''' parameter value is unacceptable to the MT, the MT shall return an '''ERROR''' or '''+CME ERROR''' response. Otherwise, the MT issues the intermediate result code '''CONNECT''' and enters V.250 online data state. After data transfer is completed, and the layer 2 protocol termination procedure has been completed successfully, the command state is reentered and the MT returns the final result code '''OK'''.
 
===[https://wiki.teltonika-networks.com/images/3/32/Quectel_EC25%26EC21_AT_Commands_Manual_V1.3.pdf#page=166&zoom=100,68,498 AT+CGPADDR Show PDP Address] ===
----
The Write Command returns a list of PDP addresses for the specified context identifiers. If no <cid> is specified, the addresses for all defined contexts are returned.
 
===[https://wiki.teltonika-networks.com/images/3/32/Quectel_EC25%26EC21_AT_Commands_Manual_V1.3.pdf#page=167&zoom=100,68,534 AT+CGCLASS GPRS Mobile Station Class] ===
----
The command is used to set the MT to operate according to the specified mode of operation. See 3GPP TS 23.060.
 
===[https://wiki.teltonika-networks.com/images/3/32/Quectel_EC25%26EC21_AT_Commands_Manual_V1.3.pdf#page=168&zoom=100,68,330 AT+CGREG Network Registration Status] ===
----
The command queries the network registration status and controls the presentation of an unsolicited result code '''+CGREG: <stat>''' when '''<n>'''=1 and there is a change in the MT‟s GPRS network registration status in GERAN/UTRAN, or unsolicited result code +CGREG: '''<stat>[,[<lac>],[<ci>],[<Act>],[<rac>]]''' when '''<n>'''=2 and there is a change of the network cell in GERAN/UTRAN.
 
===[https://wiki.teltonika-networks.com/images/3/32/Quectel_EC25%26EC21_AT_Commands_Manual_V1.3.pdf#page=170&zoom=100,68,97 AT+CGEREP Packet Domain Event Reporting] ===
----
The Write Command enables or disables sending of unsolicited result codes '''+CGEV: XXX''' from MT to TE in the case of certain events occurring in the Packet Domain MT or the network. '''<mode>''' controls the processing of unsolicited result codes specified within this command. '''<bfr>''' controls the effect on buffered codes when '''<mode>''' 1 or 2 is entered.
 
===[https://wiki.teltonika-networks.com/images/3/32/Quectel_EC25%26EC21_AT_Commands_Manual_V1.3.pdf#page=172&zoom=100,68,97 AT+CGSMS Select Service for MO SMS Messages] ===
----
The command specifies the service or service preference that the MT will use to send MO (mobile originated) SMS messages.
 
===AT+CEREG EPS Network Registration Status  ===
----
The command queries the network registration status and controls the presentation of an unsolicited result code '''+CEREG: <stat>''' when '''<n>'''=1 and there is a change in the MT‟s EPS network registration status in E-UTRAN, or unsolicited result code '''+CEREG: <stat>[,[<tac>],[<ci>],[<Act>]]''' when '''<n>'''=2 and there is a change of the network cell in E-UTRAN
 
===[https://wiki.teltonika-networks.com/images/3/32/Quectel_EC25%26EC21_AT_Commands_Manual_V1.3.pdf#page=174&zoom=100,68,224 AT+QGDCNT Packet Data Counter] ===
----
The command allows the application to check how much bytes are sent to or received by the module
 
===AT+QAUGDCNT Auto Save Packet Data Counter ===
----
The command allows '''AT+QGDCNT''' command to save results to NV automatically
 
[[Category:TRM240 AT Commands]]

Revision as of 16:08, 1 March 2023

TRM240 AT Commands > TRM240 AT Commands > TRM240 AT Commands > TRM240 AT Commands > TRM240 AT Commands > TRM240 AT Commands > TRM240 AT Commands > TRM240 AT Commands > TRM240 AT Commands > TRM240 AT Commands > Packet Domain Commands

Packet Domain Related Commands

ATT+CGATT Attachment or Detachment of PS


The Write Command is used to attach the MT to, or detach the MT from the Packet Domain service. After the command has been completed, the MT remains in V.25ter command state. If the MT is already in the requested state, the command is ignored and the OK response will be returned. If the requested state cannot be achieved, an ERROR or +CME ERROR response is returned.

AT+CGDCONT Define PDP Context


The command specifies PDP context parameters for a specific context <cid>. A special form of the Write Command (AT+CGDCONT=<cid>) causes the values for context <cid> to become undefined. It is not allowed to change the definition of an already activated context.

The Read Command returns the current settings for each defined PDP context.

AT+CGQREQ Quality of Service Profile (Requested)


The command allows the TE to specify the quality of service profile that is used when the MT activates a PDP context.

The Write Command specifies a profile for the context <cid>. A special form of the Write Command, AT+CGQREQ=<cid> causes the requested profile for context number <cid> to become undefined. The

Read Command returns the current settings for each defined context. Details can be found in 3GPP TS 23.107 and all parameters are saved in NV automatically

AT+CGQMIN Quality of Service Profile (Minimum Acceptable)


The command allows the TE to specify a minimum acceptable profile which is checked by the MT against the negotiated profile when the PDP context is activated. The write command specifies a profile for the context identified by the context identification parameter <cid>.

A special form of the write command, AT+CGQMIN=<cid> causes the minimum acceptable profile for context number <cid> to become undefined. In this case no check is made against the negotiated profile. The read command returns the current settings for each defined context. Details can be found in 3GPP TS 23.107 and all parameters are saved in NV automatically.

AT+CGEQREQ 3G Quality of Service Profile (Requested)


The command allows the TE to specify a UMTS Quality of Service Profile that is used when the MT activates a PDP context. Details can be found in 3GPP TS 23.107 and all parameters are saved in NV automatically.

AT+CGEQMIN 3G Quality of Service Profile (Minimum Acceptable)


The command allows the TE to specify a minimum acceptable profile, which is checked by the MT against the negotiated profile returned in the PDP context establishment and PDP context modification procedures. Details can be found in 3GPP TS 23.107 and all parameters are saved in NV automatically.

AT+CGACT Activate or Deactivate PDP Context


The Write Command is used to activate or deactivate the specified PDP context(s). After the command has been completed, the MT remains in V.250 command state. If any PDP context is already in the requested state, the state for that context remains unchanged. If the MT is not PS attached when the activation form of the command is executed, the MT first performs a PS attach and then attempts to activate the specified contexts. If no <cid>s specify the activation/deactivation form of the command, it will activate or deactivate all defined contexts.

AT+CGDATA Enter Data State


The Write Command causes the MT to perform whatever actions that are necessary to establish communication between the TE and the network using one or more packet domain PDP types. This may include per-forming a PS attach and one or more PDP context activations. Commands following the AT+CGDATA command in the AT command line will not be processed by the MT.

If the <L2P> parameter value is unacceptable to the MT, the MT shall return an ERROR or +CME ERROR response. Otherwise, the MT issues the intermediate result code CONNECT and enters V.250 online data state. After data transfer is completed, and the layer 2 protocol termination procedure has been completed successfully, the command state is reentered and the MT returns the final result code OK.

AT+CGPADDR Show PDP Address


The Write Command returns a list of PDP addresses for the specified context identifiers. If no <cid> is specified, the addresses for all defined contexts are returned.

AT+CGCLASS GPRS Mobile Station Class


The command is used to set the MT to operate according to the specified mode of operation. See 3GPP TS 23.060.

AT+CGREG Network Registration Status


The command queries the network registration status and controls the presentation of an unsolicited result code +CGREG: <stat> when <n>=1 and there is a change in the MT‟s GPRS network registration status in GERAN/UTRAN, or unsolicited result code +CGREG: <stat>[,[<lac>],[<ci>],[<Act>],[<rac>]] when <n>=2 and there is a change of the network cell in GERAN/UTRAN.

AT+CGEREP Packet Domain Event Reporting


The Write Command enables or disables sending of unsolicited result codes +CGEV: XXX from MT to TE in the case of certain events occurring in the Packet Domain MT or the network. <mode> controls the processing of unsolicited result codes specified within this command. <bfr> controls the effect on buffered codes when <mode> 1 or 2 is entered.

AT+CGSMS Select Service for MO SMS Messages


The command specifies the service or service preference that the MT will use to send MO (mobile originated) SMS messages.

AT+CEREG EPS Network Registration Status


The command queries the network registration status and controls the presentation of an unsolicited result code +CEREG: <stat> when <n>=1 and there is a change in the MT‟s EPS network registration status in E-UTRAN, or unsolicited result code +CEREG: <stat>[,[<tac>],[<ci>],[<Act>]] when <n>=2 and there is a change of the network cell in E-UTRAN

AT+QGDCNT Packet Data Counter


The command allows the application to check how much bytes are sent to or received by the module

AT+QAUGDCNT Auto Save Packet Data Counter


The command allows AT+QGDCNT command to save results to NV automatically