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

0: AuthenticationType
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

0: 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

0: HeaderCompression
QoSPrecedence(QoSPrecedence)

• 10: QoS precedence - the <param_val> parameter selects the precedence class:

Tuple Fields of QoSPrecedence

0: 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

0: QoSReliability
UNUSED

• 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

parameter selects the acceptable value for the erroneous SDU delivery: o 0 (factory-programmed value): subscribed o 1: no detection o 2: enable o 3: disable • 22: 3G QoS extended guaranteed downlink bit rate - is the value for the extended guaranteed downlink bit rate in kb/s. The factory-programmed value is 0. • 23: 3G QoS extended maximum downlink bit rate - is the value for the extended maximum downlink bit rate in kb/s. The factory-programmed value is 0. • 24: 3G QoS guaranteed downlink bit rate - is the value for the guaranteed downlink bit rate in kb/s. The factory-programmed value is 0. • 25: 3G QoS guaranteed uplink bit rate - is the value for the guaranteed uplink bit rate in kb/s. The factory-programmed value is 0. • 26: 3G QoS maximum downlink bit rate - is the value for the maximum downlink bit rate in kb/s. The factory-programmed value is 0. • 27: 3G QoS maximum uplink bit rate - is the value for the maximum uplink bit rate in kb/s. The factory-programmed value is 0. • 28: 3G QoS maximum SDU size - is the value for the maximum SDU size in octets. The factory-programmed value is 0. • 29: 3G QoS residual bit error rate - selects the acceptable value for the residual bit error rate: o 0 (factory-programmed value): subscribed o 1: 5E2 o 2: 1E2 o 3: 5E3 o 4: 4E3 o 5: 1E3 o 6: 1E4 o 7: 1E5 o 8: 1E6 o 9: 6E8 • 30: 3G QoS SDU error ratio - selects the acceptable value for the SDU error ratio: o 0 (factory-programmed value): subscribed o 1: 1E2 o 2: 7E3 o 3: 1E3 o 4: 1E4 o 5: 1E5 o 6: 1E6 o 7: 1E1 • 31: 3G QoS signalling indicator - selects the acceptable value for the signalling indicator: o 0 (factory-programmed value): subscribed o 1: signalling indicator 1 • 32: 3G QoS source statistics descriptor - selects the acceptable value for the source statistics descriptor: o 0 (factory-programmed value): subscribed o 1: source statistics descriptor 1 • 33: 3G QoS traffic class - selects the acceptable value for the traffic class: o 0 (factory-programmed value): subscribed o 1: conversational o 2: streaming o 3: interactive o 4: background • 34: 3G QoS traffic priority - selects the acceptable value for the traffic priority: o 0 (factory-programmed value): subscribed o 1: priority 1 o 2: priority 2 o 3: priority 3 • 35: 3G QoS transfer delay - is the value for the transfer delay in milliseconds. The factory-programmed value is 0. • 36: 3G minimum QoS delivery order - selects the acceptable value for the delivery order: o 0 (factory-programmed value): subscribed o 1: enable o 2: disable • 37: 3G minimum QoS erroneous SDU delivery - selects the acceptable value for the erroneous SDU delivery: o 0 (factory-programmed value): subscribed o 1: no detection o 2: enable o 3: disable • 38: 3G minimum QoS extended guaranteed downlink bit rate - is the value for the extended guaranteed downlink bit rate in kb/s. The factoryprogrammed value is 0. • 39: 3G minimum QoS extended maximum downlink bit rate - is the value for the extended maximum downlink bit rate in kb/s. The factory-programmed value is 0. • 40: 3G minimum QoS guaranteed downlink bit rate - is the value for the guaranteed downlink bit rate in kb/s. The factory-programmed value is 0. • 41: 3G minimum QoS guaranteed uplink bit rate - is the value for the guaranteed uplink bit rate in kb/s. The factory-programmed value is 0. • 42: 3G minimum QoS maximum downlink bit rate - is the value for the maximum downlink bit rate in kb/s. The factory-programmed value is 0. • 43: 3G minimum QoS maximum uplink bit rate - is the value for the maximum uplink bit rate in kb/s. The factory-programmed value is 0. • 44: 3G minimum QoS maximum SDU size - is the value for the maximum SDU size in octets. The factory-programmed value is 0. • 45: 3G minimum QoS residual bit error rate - selects the acceptable value for the residual bit error rate: o 0 (factory-programmed value): subscribed o 1: 5E2 o 2: 1E2 o 3: 5E3 o 4: 4E3 o 5: 1E3 o 6: 1E4 o 7: 1E5 o 8: 1E6 o 9: 6E8 • 46: 3G minimum QoS SDU error ratio - selects the acceptable value for the SDU error ratio: o 0 (factory-programmed value): subscribed o 1: 1E2 o 2: 7E3 o 3: 1E3 o 4: 1E4 o 5: 1E5 o 6: 1E6 o 7: 1E1 • 47: 3G minimum QoS signalling indicator - selects the acceptable value for the signalling indicator: o 0 (factory-programmed value): subscribed o 1: signalling indicator 1 • 48: 3G minimum QoS source statistics descriptor - selects the acceptable value for the source statistics descriptor: o 0 (factory-programmed value): subscribed o 1: source statistics descriptor 1 • 49: 3G minimum QoS traffic class - selects the acceptable value for the traffic class: o 0 (factory-programmed value): subscribed o 1: conversational o 2: streaming o 3: interactive o 4: background • 50: 3G minimum QoS traffic priority - selects the acceptable value for the traffic priority: o 0 (factory-programmed value): subscribed o 1: priority 1 o 2: priority 2 o 3: priority 3 • 51: 3G Minimum QoS transfer delay - is the value for the transfer delay in milliseconds. The factory-programmed value is 0. QoSDelay3G(u32),
MapProfile(ContextId)

• 100: map the +UPSD profile to the specified in the +CGDCONT table. o 0: map the current profile to default bearer PDP ID o 1: map the current profile to 1 o 2: map the current profile to 2 o 3: map the current profile to 3 o 4: map the current profile to 4 o 5: map the current profile to 5 o 6: map the current profile to 6 o 7: map the current profile to 7 o 8: map the current profile to 8 CurrentProfileMap(u8),

Tuple Fields of MapProfile

0: ContextId

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

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 !=.

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.