Skip to main content

probe_port

Function probe_port 

Source
pub async fn probe_port<P: Port>(
    port: P,
) -> Result<Option<ControllerIdentity>, SerialError>
Expand description

Probes an open port. Ok(None) means nothing answered like a Z-Wave controller; Err is an I/O failure. The port is closed on return.