class DeviceConnector
Defined at line 6137 of file fidling/gen/sdk/fidl/fuchsia.lowpan.device/fuchsia.lowpan.device/hlcpp/fuchsia/lowpan/device/cpp/fidl.h
Protocol for connecting to [`Device`] on a LoWPAN
interface.
Public Members
static const char[] Name_
Public Methods
void ~DeviceConnector ()
void Connect (::std::string name, ::fidl::InterfaceRequest< ::fuchsia::lowpan::device::Device> server_end)
Connects to the [`Device`] protocol on the
named LoWPAN interface.
The name of the interface can be learned by calling
[`fuchsia.lowpan/Lookup.GetDevices()`].
If there is an error in processing this request
the given channel is closed and an epitaph code used
to describe the reason for the failure:
* `ZX_ERR_INVALID_ARGUMENT`: The given interface name
was not formatted correctly or otherwise invalid.
* `ZX_ERR_NOT_FOUND`: No interface was found with the
given name.
* `ZX_ERR_NOT_SUPPORTED`: The interface exists but
does not support this protocol.