grizzly v0.4.2 Grizzly.CommandClass.ZipNd.InvNodeSolicitation View Source
Command module for working with ZIP_ND INV_NODE_SOLICITATION command
Request the IPv6 address of a device on the Z/IP Gateway network
command options:
:node_id
- The node id for the request
Link to this section Summary
Functions
Callback implementation for Grizzly.Command.encode/1
.
Callback implementation for Grizzly.Command.handle_response/2
.
Callback implementation for Grizzly.Command.init/1
.
Link to this section Types
Link to this type
opt()
View Source
opt()
View Source
opt() ::
{:node_id, Grizzly.Node.node_id()}
| {:pre_states, [Grizzly.Network.State.state()]}
opt() :: {:node_id, Grizzly.Node.node_id()} | {:pre_states, [Grizzly.Network.State.state()]}
Link to this type
t()
View Source
t()
View Source
t() :: %Grizzly.CommandClass.ZipNd.InvNodeSolicitation{
node_id: Grizzly.Node.node_id(),
pre_states: [Grizzly.Network.State.state()]
}
t() :: %Grizzly.CommandClass.ZipNd.InvNodeSolicitation{ node_id: Grizzly.Node.node_id(), pre_states: [Grizzly.Network.State.state()] }
Link to this section Functions
Link to this function
encode(inv_node_solicitation) View Source
Callback implementation for Grizzly.Command.encode/1
.
Link to this function
handle_response(command, arg2)
View Source
handle_response(command, arg2)
View Source
handle_response(t(), Grizzly.Packet.t()) ::
{:done, {:ok, {:node_ip, Grizzly.Node.node_id(), :inet.ip_address()}}}
handle_response(t(), Grizzly.Packet.t()) :: {:done, {:ok, {:node_ip, Grizzly.Node.node_id(), :inet.ip_address()}}}
Callback implementation for Grizzly.Command.handle_response/2
.
Link to this function
init(opts) View Source
Callback implementation for Grizzly.Command.init/1
.