User Manual

Table Of Contents
SARA-R4/N4 series-AT Commands Manual
UBX-17003787 - R11
13Packet switched data services
Page 123 of 308
Type Syntax Response Example
AT+UPSD=<profile_id> +UPSD: <profile_id>,0,<param_val0
>
+UPSD: <profile_id>,1,<param_
val1>...
+UPSD: <profile_id>,x,<param_valx>
OK
AT+UPSD=0
+UPSD: 0,0,0
+UPSD: 0,1,"apn.provider.com"
+UPSD: 0,2,"username"
+UPSD: 0,4,"0.0.0.0"
...
+UPSD: 0,19,0
OK
13.4.3Defined values
Parameter Type Description
<profile_id> Number PSD profile identifier, in range 0-6
<param_tag> Number
0: Protocol type; the allowed values of <param_val> parameter are
o 0 (factory-programmed value): IPv4
o 1: IPv6
o 2: IPv4v6 with IPv4 preferred for internal sockets
o 3: IPv4v6 with IPv6 preferred for internal sockets
1: APN - <param_val> defines the APN text string, e.g. "apn.provider.com"; the
maximum length is 99. The factory-programmed value is an empty string.
2: username - <param_val> is the user name text string for the authentication
phase. The factory-programmed value is an empty string.
3: password - <param_val> is the password text string for the authentication phase.
Note: the AT+UPSD read command with <param_tag> = 3 is not allowed and the
read all command does not display it
4: DNS1 - <param_val> is the text string of the primary DNS address. IPv4 DNS
addresses are specified in dotted decimal notation form (i.e. four numbers in
range 0-255 separated by periods, e.g. "xxx.yyy.zzz.www"). IPv6 DNS addresses
are specified in standard IPv6 notation form (2001:DB8:: address compression is
allowed). The factory-programmed value is "0.0.0.0".
5: DNS2 - <param_val> is the text string of the secondary DNS address. IPv4
DNS addresses are specified in dotted decimal notation form (i.e. four numbers
in range 0-255 separated by periods, e.g. "xxx.yyy.zzz.www"). IPv6 DNS addresses
are specified in standard IPv6 notation form (2001:DB8:: address compression is
allowed). The factory-programmed value is "0.0.0.0".
6: authentication - the <param_val> parameter selects the authentication type:
o 0 (factory-programmed value): none
o 1: PAP
o 2: CHAP
o 3: automatic selection of authentication type (none/CHAP/PAP)
7: IP address - <param_val> is the text string of the static IP address given by the
ISP in dotted decimal notation form (i.e. four numbers in range 0-255 separated by
periods, e.g. "xxx.yyy.zzz.www"). The factory-programmed value is "0.0.0.0". Note:
IP address set as "0.0.0.0" means dynamic IP address assigned during PDP context
activation
8: data compression - the <param_val> parameter refers to the default parameter
named <d_comp> and selects the data compression type:
o 0 (factory-programmed value): off
o 1: predefined, i.e. V.42bis
o 2: V.42bis
9: header compression - the <param_val> parameter refers to the default
parameter named <h_comp> and selects the header compression type:
o 0 (factory-programmed value): off
o 1: predefined, i.e. RFC1144
o 2: RFC1144
o 3: RFC2507
o 4: RFC3095
10: QoS precedence - the <param_val> parameter selects the precedence class: