class RadarDeviceConnector

Defined at line 21 of file ../../src/devices/radar/bin/radar-proxy/radar-proxy.h

Public Methods

void ConnectToRadarDevice (fidl::UnownedClientEnd<fuchsia_io::Directory> dir, const std::string & path, ConnectDeviceCallback connect_device)

Synchronously connects to the given radar device and passes the client end to the callback. The

callback is not called if the connection could not be made. The callback return value is

ignored.

void ConnectToFirstRadarDevice (ConnectDeviceCallback connect_device)

Calls ConnectToRadarDevice() on available devices until the callback returns true.