Function set_parameters_and_get_changed_values

Source
pub async fn set_parameters_and_get_changed_values<IterTy>(
    parameters_to_set: IterTy,
    mion_addr: Ipv4Addr,
    parameter_port: Option<u16>,
    timeout: Option<Duration>,
) -> Result<(SetMionParametersResponse, FnvHashMap<usize, u8>), CatBridgeError>
where IterTy: Iterator<Item = (ParameterLocationSpecification, u8)>,
Expand description

Set one or more parameters for the parameter space of a MION bridge.

These are the parameters you can access from the normal CLI tools:

  • mionps.exe
  • mionparameterspace.exe

It’s unclear what many of these parameters are, but we know it contains at least certain values like the SDK version, NAND Mode, etc.

This function is like set parameters, but it also returns a map of: <location, old_value> for each changed value, so you can print out what the value was changed from/to.

§Errors

See set_parameters.