SARA-R4/N4 series-AT Commands Manual
UBX-17003787 - R09

13Packet switched data services
Page 141 of 307
Type Syntax Response Example
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.
13.15.4î™–î™–î™–î™–Notes
• In a PPP dial-up scenario, the authentication parameters set by the +UAUTHREQ command are
overwritten whenever the host provides a new setting via the PPP authentication protocol (PAP or CHAP).