User Manual

Table Of Contents
SARA-R4 series-AT commands manual
UBX-17003787 - R16
13Packet switched data services
Page 139 of 401
Parameter Type Description
o 1: map the current profile to <cid> 1
o 2: map the current profile to <cid> 2
o 3: map the current profile to <cid> 3
o 4: map the current profile to <cid> 4
o 5: map the current profile to <cid> 5
o 6: map the current profile to <cid> 6
o 7: map the current profile to <cid> 7
o 8: map the current profile to <cid> 8
13.5.4Notes
For the description of the QoS parameters, see 3GPP TS 22.060 [41] and 3GPP TS 23.060 [10].
The maximum length of <param_val> if <param_tag> is equal to 2 or 3 is 64.
SARA-R410M-02B / SARA-R410M-52B / SARA-R410M-63B / SARA-R410M-73B / SARA-R410M-83B /
SARA-R412M
The only supported <profile_id> is 0.
The supported <param_tag>s are:
o 0: IP type. The <param_val> factory-programmed value is 0 (IPv4).
o 100: profile to <cid> mapping. The <param_val> factory-programmed value is 0 (map the current
profile to default bearer PDP ID).
SARA-R410M-02B / SARA-R410M-52B / SARA-R412M
On SARA-R410M-02B-00, SARA-R410M-02B-01, SARA-R410M-52B-00, SARA-R410M-52B-01,
SARA-R412M-02B-00, SARA-R412M-02B-01 the only supported <param_tag> is 0 (IP type). The
<param_val> factory-programmed value is 0 (IPv4).
SARA-R404M / SARA-R410M-01B / SARA-N4
The only supported <profile_id> is 0.
The only supported <param_tag> is 0. (IP type). The <param_val> factory-programmed value is 0 (IPv4).
13.6GPRS attach or detach +CGATT
+CGATT
Modules All products
Syntax PIN required Settings saved Can be aborted Response time Error referenceAttributes
full Yes No Yes Up to 3 min +CME Error
13.6.1Description
Register (attach) the MT to, or deregister (detach) the MT from the GPRS service. After this command the MT
remains in AT command mode. If the MT is already in the requested state (attached or detached), the command
is ignored and OK result code is returned. If the requested state cannot be reached, an error result code is
returned. The command can be aborted if a character is sent to the DCE during the command execution. Any
active PDP context will be automatically deactivated when the GPRS registration state changes to detached.
The user should not enter colliding requests (e.g. AT+CGATT=1 and AT+CGATT=0) on different
communication ports, because this might cause interoperability issues in case overlapping attach and
detach requests are not handled by the network, and could result in an unpredictable registration
state. Similarly, when notified of a mobile terminated GPRS detach event (e.g. via +CGEV URC), it is
recommended to wait a few seconds before entering AT+CGATT=0 in order to let the pending attach
procedure (automatically triggered by the module in most cases) successfully end.
The deregistration action is carried out even if the command is aborted.
13.6.2Syntax
Type Syntax Response Example
Set AT+CGATT=[<state>] OK AT+CGATT=1
OK