Enum ublox_cellular::command::psn::types::PacketSwitchedParam [−][src]
pub enum PacketSwitchedParam {
Show 15 variants
ProtocolType(ProtocolType),
APN(String<99>),
Username(String<64>),
Password(String<64>),
DNS1(IpAddr),
DNS2(IpAddr),
Authentication(AuthenticationType),
IPAddress(IpAddr),
DataCompression(DataCompression),
HeaderCompression(HeaderCompression),
QoSPrecedence(QoSPrecedence),
QoSDelay(QoSDelay),
QoSReliability(QoSReliability),
UNUSED,
MapProfile(ContextId),
}
Variants
ProtocolType(ProtocolType)
• 0: Protocol type; the allowed values of <param_val> parameter are
Tuple Fields of ProtocolType
0: ProtocolType
APN(String<99>)
• 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.
Tuple Fields of APN
0: String<99>
Username(String<64>)
• 2: username - <param_val> is the user name text string for the authentication phase. The factory-programmed value is an empty string.
Tuple Fields of Username
0: String<64>
Password(String<64>)
• 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
Tuple Fields of Password
0: String<64>
DNS1(IpAddr)
• 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”.
Tuple Fields of DNS1
0: IpAddr
DNS2(IpAddr)
• 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”.
Tuple Fields of DNS2
0: IpAddr
Authentication(AuthenticationType)
• 6: authentication - the <param_val> parameter selects the authentication type:
Tuple Fields of Authentication
IPAddress(IpAddr)
• 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
Tuple Fields of IPAddress
0: IpAddr
DataCompression(DataCompression)
• 8: data compression - the <param_val> parameter refers to the default parameter named d_comp and selects the data compression type:
Tuple Fields of DataCompression
HeaderCompression(HeaderCompression)
• 9: header compression - the <param_val> parameter refers to the default parameter named h_comp and selects the header compression type:
Tuple Fields of HeaderCompression
QoSPrecedence(QoSPrecedence)
• 10: QoS precedence - the <param_val> parameter selects the precedence class:
Tuple Fields of QoSPrecedence
QoSDelay(QoSDelay)
• 11: QoS delay - the <param_val> parameter selects the delay class:
Tuple Fields of QoSDelay
0: QoSDelay
QoSReliability(QoSReliability)
• 12: QoS reliability - the <param_val> parameter selects the reliability class:
Tuple Fields of QoSReliability
• 13: QoS peak rate - the <param_val> parameter selects the peak throughput in range 0-9. The factory-programmed value is 0. • 14: QoS mean rate - the <param_val> parameter selects the mean throughput in range 0-18, 31. The factory-programmed value is 0. • 15: minimum QoS precedence - the <param_val> parameter selects the acceptable value for the precedence class: o 0 (factory-programmed value): subscribed o 1: high o 2: normal o 3: low • 16: minimum QoS delay - the <param_val> parameter selects the acceptable value for the delay class: o 0 (factory-programmed value): subscribed o 1: class 1 o 2: class 2 o 3: class 3 o 4: best effort • 17: minimum QoS reliability - the <param_val> parameter selects the minimum acceptable value for the reliability class: o 0 (factory-programmed value): subscribed o 1: class 1 (Interpreted as class 2) o 2: class 2 (GTP Unack, LLC Ack and Protected, RLC Ack) o 3: class 3 (GTP Unack, LLC Unack and Protected, RLC Ack) o 4: class 4 (GTP Unack, LLC Unack and Protected, RLC Unack) o 5: class 5 (GTP Unack, LLC Unack and Unprotected, RLC Unack) o 6: class 6 (Interpreted as class 3) • 18: minimum QoS peak rate - the <param_val> parameter selects the acceptable value for the peak throughput in range 0-9. The factory-programmed value is 0. • 19: minimum QoS mean rate - the <param_val> parameter selects the acceptable value for the mean throughput in range 0-18, 31. The factory-programmed value is 0. • 20: 3G QoS delivery order - the <param_val> parameter selects the acceptable value for the delivery order: o 0 (factory-programmed value): subscribed o 1: enable o 2: disable • 21: 3G QoS erroneous SDU delivery - the
MapProfile(ContextId)
• 100: map the +UPSD profile to the specified
Tuple Fields of MapProfile
0: ContextId
Trait Implementations
Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.