Skip to main content

load_or_create

Function load_or_create 

Source
pub fn load_or_create(
    dir: &Path,
    channel: u8,
    tx_power: Option<i8>,
) -> Result<(NetworkSettings, bool), String>
Expand description

Read the network file, or create it with channel and random ids and key when there is none.