grizzly v0.5.0 Grizzly.Network View Source
Module for working with the Z-Wave network
Link to this section Summary
Functions
Check to see if the network is busy
Get a Node from the Z-Wave network
Get a list of nodes from the network
Get the current state of the Network
Check to see if the network is ready
Reset the network
Set the Z-Wave network state
Link to this section Functions
Link to this function
busy?()
View Source
busy?()
View Source
busy?() :: boolean()
busy?() :: boolean()
Check to see if the network is busy
Link to this function
get_node(node_id)
View Source
get_node(node_id)
View Source
get_node(Grizzly.Node.node_id()) ::
{:ok, Grizzly.Node.t()} | {:error, :nack_response}
get_node(Grizzly.Node.node_id()) :: {:ok, Grizzly.Node.t()} | {:error, :nack_response}
Get a Node from the Z-Wave network
Link to this function
get_node_info(node_id)
View Source
get_node_info(node_id)
View Source
get_node_info(Grizzly.Node.node_id()) ::
{:ok, map()} | {:error, :nack_response}
get_node_info(Grizzly.Node.node_id()) :: {:ok, map()} | {:error, :nack_response}
Link to this function
get_nodes()
View Source
get_nodes()
View Source
get_nodes() :: {:ok, [Grizzly.Node.t()]} | {:error, :unable_to_get_node_list}
get_nodes() :: {:ok, [Grizzly.Node.t()]} | {:error, :unable_to_get_node_list}
Get a list of nodes from the network
Link to this function
get_state()
View Source
get_state()
View Source
get_state() :: Grizzly.Network.State.state()
get_state() :: Grizzly.Network.State.state()
Get the current state of the Network
Link to this function
ready?()
View Source
ready?()
View Source
ready?() :: boolean()
ready?() :: boolean()
Check to see if the network is ready
Link to this function
reset()
View Source
reset()
View Source
reset() :: :ok | {:error, :network_busy}
reset() :: :ok | {:error, :network_busy}
Reset the network
Link to this function
set_state(state)
View Source
set_state(state)
View Source
set_state(Grizzly.Network.State.state()) :: :ok
set_state(Grizzly.Network.State.state()) :: :ok
Set the Z-Wave network state