[][src]Function tplinker::discovery::discover

pub fn discover() -> Result<Vec<(SocketAddr, DeviceData)>>

Discover TPLink smart devices on the local network

Uses the default timeout of 3 seconds.

Errors

Will return Err if with_timeout returns an Err.