Skip to main content

probe

Function probe 

Source
pub async fn probe(
    port: &str,
    kind: NcpKind,
    baud: u32,
) -> Result<Option<NcpIdentity>, ProbeError>
Expand description

Open port (a serial device or tcp://host:port) at baud and probe it for kind. The port is closed when this returns.