User Manual

Table Of Contents
SARA-R4/N4 series-AT Commands Manual
UBX-17003787 - R11
13Packet switched data services
Page 140 of 308
13.14.2Syntax
Type Syntax Response Example
Set AT+CGDEL=[<cid>] +CGDEL: <cid>[,<cid>[,...]]
OK
AT+CGDEL=2
+CGDEL: 2
OK
Test AT+CGDEL=? OK OK
13.14.3Defined values
Parameter Type Description
<cid> Number See <cid>
13.15Configure the authentication parameters of a PDP/EPS
bearer +UAUTHREQ
+UAUTHREQ
SARA-R410M-02B SARA-R410M-52B SARA-R412MModules
SARA-N4
Syntax PIN required Settings saved Can be aborted Response time Error referenceAttributes
partial Yes NVM No - +CME Error
13.15.1Description
Configures the authentication parameters of a defined PDP/EPS bearer. The authentication parameters will
be sent during the context activation phase as a protocol configuration options (PCO) information element.
When <auth_type>=3 is set, +CGACT=1,<cid> may trigger at most 3 PDP context activation requests for <cid>
to the protocol stack. The first request for <cid> is done with no authentication. If the PDP context activation
fails, a second attempt is triggered with PAP authentication. If the second PDP context activation fails, a
third attempt is triggered with CHAP authentication. These 3 PDP context activation requests are not to be
confused with the effective number of request PDP context activations sent to the network (see the 3GPP TS
24.008 [12]).
The command returns an error result code if the input <cid> is already active or not yet defined.
13.15.2Syntax
Type Syntax Response Example
Set AT+UAUTHREQ=<cid>,<auth_
type>,<username>,<password>
OK AT+UAUTHREQ=1,1,"user","pass"
OK
Test AT+UAUTHREQ=? +UAUTHREQ: (list of supported
<cid>s),(list of supported <auth_
type>s)[,,]
OK
+UAUTHREQ: (1-8),(0-2),,
OK
13.15.3Defined values
Parameter Type Description
<cid> Number See <cid>.
<auth_type> Number Configure the authentication. Allowed values:
0: no authentication
1: PAP
2: CHAP
3: automatic selection of authentication type (none/CHAP/PAP)
<username> String Username. The default value is an empty string:
SARA-R4 / SARA-N4 - The maximum length is 64.
<password> String Password. The default value is an empty string:
SARA-R4 / SARA-N4 - The maximum length is 64.