pub struct InterfaceConfiguration {
pub qos: Qos,
pub to: u8,
pub te: u8,
pub access_class: u8,
pub nls_method: NlsMethod,
pub address: Address,
pub use_vid: bool,
pub group_condition: GroupCondition,
}
Expand description
Section 9.2.1
Parameters to handle the sending of a request.
Fields§
§qos: Qos
§to: u8
Flush Start Timeout in Compressed Format, unit is in seconds
Maximum time to send the packet. This means that the modem will wait for a “good opportunity” to send the packet until the timeout, after which it will just send the packet over the air.
A good opportunity is, for example, if we are sending another packet to the same target, then we can aggregate the requests, to avoid advertising twice. Another example would be if the target sends us a packet, the modem can aggregate our request to the response of the request of the target.
te: u8
Response Execution Delay in Compressed Format, unit is in milliseconds.
Time given to the target to process the request.
access_class: u8
Access class of the targeted listening device
nls_method: NlsMethod
Security method
address: Address
Address of the target.
use_vid: bool
Use VID instead of UID when possible
group_condition: GroupCondition
Group condition
Trait Implementations§
source§impl Clone for InterfaceConfiguration
impl Clone for InterfaceConfiguration
source§fn clone(&self) -> InterfaceConfiguration
fn clone(&self) -> InterfaceConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Codec for InterfaceConfiguration
impl Codec for InterfaceConfiguration
type Error = InterfaceConfigurationDecodingError
source§fn encoded_size(&self) -> usize
fn encoded_size(&self) -> usize
source§unsafe fn encode_in(&self, out: &mut [u8]) -> usize
unsafe fn encode_in(&self, out: &mut [u8]) -> usize
source§impl Debug for InterfaceConfiguration
impl Debug for InterfaceConfiguration
source§impl Display for InterfaceConfiguration
impl Display for InterfaceConfiguration
source§impl From<InterfaceConfiguration> for InterfaceConfiguration
impl From<InterfaceConfiguration> for InterfaceConfiguration
source§fn from(o: InterfaceConfiguration) -> Self
fn from(o: InterfaceConfiguration) -> Self
source§impl From<InterfaceConfiguration> for InterfaceConfiguration
impl From<InterfaceConfiguration> for InterfaceConfiguration
source§fn from(o: InterfaceConfiguration) -> Self
fn from(o: InterfaceConfiguration) -> Self
source§impl PartialEq for InterfaceConfiguration
impl PartialEq for InterfaceConfiguration
source§fn eq(&self, other: &InterfaceConfiguration) -> bool
fn eq(&self, other: &InterfaceConfiguration) -> bool
self
and other
values to be equal, and is used
by ==
.