pub async fn get_parameters(
mion_addr: Ipv4Addr,
parameter_port: Option<u16>,
timeout: Option<Duration>,
) -> Result<DumpedMionParameters, CatBridgeError>Expand description
Get parameters from the parameter space of a MION bridge.
These are the parameters you can access from the normal CLI tools:
mionps.exemionparameterspace.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.
§Errors
- If we fail to connect, send, or receive data from the MION IP Address
on the
DEFAULT_MION_PARAMETER_PORT. - If we do not get a response within
MION_PARAMETER_TIMEOUT_SECONDS. - If the MION responded with invalid data.