pub struct CanNmClusterSettings {
pub nm_busload_reduction_active: bool,
pub nm_immediate_nm_transmissions: u32,
pub nm_message_timeout_time: f64,
pub nm_msg_cycle_time: f64,
pub nm_network_timeout: f64,
pub nm_remote_sleep_indication_time: f64,
pub nm_repeat_message_time: f64,
pub nm_wait_bus_sleep_time: f64,
}Expand description
Mandatory settings for a CanNmCluster
These settings are mandatory for a CanNmCluster and must be set during creation.
Additional optional settings can be set using the CanNmCluster methods.
Fields§
§nm_busload_reduction_active: boolnmBusloadReductionActive: Determines if bus load reduction for the respective CanNm channel is active.
nm_immediate_nm_transmissions: u32nmImmediateNmTransmissions: Defines the number of immediate NmPdus which shall be transmitted.
If the value is zero no immediate NmPdus are transmitted.
nm_message_timeout_time: f64nmMessageTimeoutTime: Timeout of an NmPdu in seconds.
nm_msg_cycle_time: f64nmMsgCycleTime: Period of a NmPdu in seconds
nm_network_timeout: f64nmNetworkTimeout: Network Timeout for NmPdus in seconds.
nm_remote_sleep_indication_time: f64nmRemoteSleepIndicationTime: Timeout for Remote Sleep Indication in seconds.
nm_repeat_message_time: f64nmRepeatMessageTime: Timeout for Repeat Message State in seconds.
nm_wait_bus_sleep_time: f64nmWaitBusSleepTime: Timeout for bus calm down phase in seconds.
Trait Implementations§
Source§impl Clone for CanNmClusterSettings
impl Clone for CanNmClusterSettings
Source§fn clone(&self) -> CanNmClusterSettings
fn clone(&self) -> CanNmClusterSettings
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more