User Manual

Table Of Contents
SARA-R4 series-AT commands manual
UBX-17003787 - R16
13Packet switched data services
Page 153 of 401
13.15Configure the authentication parameters of a PDP/EPS
bearer +UAUTHREQ
+UAUTHREQ
SARA-R410M-02B SARA-R410M-52B SARA-R410M-63B SARA-R410M-73B SARA-R410M-83B
SARA-R412M
Modules
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.
SARA-R4 / SARA-N4
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:
0: no authentication
1: PAP
2: CHAP
3: automatic selection of authentication type (none/CHAP/PAP)
Allowed values:
SARA-R4 / SARA-N4 - 0, 1, 2
<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).
The <username> and <password> parameters must be set to an empty string if the authentication type
is not set (<auth_type>=0).
SARA-R4 / SARA-N4
If <auth_type>=1 or 2, then the set command syntax is AT+UAUTHREQ=<cid>,<auth_type>,<password>,
<username>.