pub fn new() -> RadioConfig {
        RadioConfig {
            timeout: Some(DEFAULT_READ_TIMEOUT),
            interface_name: Some(format!("{}0", DEFAULT_INTERFACE_NAME)),
            range: 0.0,
            frequency: None,
            spreading_factor: None,
            transmission_power: None,
            mac_layer_retries: Some(DEFAULT_TRANSMISSION_MAX_RETRY),
            mac_layer_base_wait: Some(DEFAULT_TRANSMISSION_WAIT_BASE),
            max_delay_per_node: Some(DEFAULT_TX_DELAY_PER_NODE),
        }
    }
/// Create a new default radio configuration with all fields set to a default. This it not valid for either simulated or device mode,
/// so users should take care to modify the appropriate values.
Create a new default radio configuration with all fields set to a default. This it not valid for either simulated or device mode,
so users should take care to modify the appropriate values.
Create a new default radio configuration with all fields set to a default . This it not valid for either simulated or device mode so users should take care to modify the appropriate values .
pub fn new() -> RadioConfig {
        RadioConfig {
            timeout: Some(DEFAULT_READ_TIMEOUT),
            interface_name: Some(format!("{}0", DEFAULT_INTERFACE_NAME)),
            range: 0.0,
            frequency: None,
            spreading_factor: None,
            transmission_power: None,
            mac_layer_retries: Some(DEFAULT_TRANSMISSION_MAX_RETRY),
            mac_layer_base_wait: Some(DEFAULT_TRANSMISSION_WAIT_BASE),
            max_delay_per_node: Some(DEFAULT_TX_DELAY_PER_NODE),
        }
    }
pub fn new ( ) -> RadioConfig { RadioConfig { timeout : Some ( DEFAULT_READ_TIMEOUT ) , interface_name : Some ( format ! ( " " DEFAULT_INTERFACE_NAME ) ) , range : 0.0 , frequency : None , spreading_factor : None , transmission_power : None , mac_layer_retries : Some ( DEFAULT_TRANSMISSION_MAX_RETRY ) , mac_layer_base_wait : Some ( DEFAULT_TRANSMISSION_WAIT_BASE ) , max_delay_per_node : Some ( DEFAULT_TX_DELAY_PER_NODE ) , } }
Create a new default radio configuration with all fields set to a default.
Create a new default radio configuration with all fields set to a default .