Grizzly.ZWave.CommandClasses.NetworkManagementInstallationMaintenance (grizzly v0.15.6) View Source

"NetworkManagementInstallationMaintenance" Command Class

The Network Management Installation and Maintenance Command Class is used to access statistical data.

Link to this section Summary

Link to this section Types

Specs

neighbor() :: [neighbor_param()]

Specs

neighbor_param() ::
  {:node_id, byte()} | {:repeater?, boolean()} | {:speed, speed()}

Specs

route_type() ::
  :no_route
  | :last_working_route
  | :next_to_last_working_route
  | :set_by_application

Specs

rssi() ::
  :rssi_not_available
  | :rssi_max_power_saturated
  | :rssi_below_sensitivity
  | -94..-32

Specs

speed() :: :"9.6kbit/s" | :"40kbit/s" | :"100kbit/s"

Specs

statistic() ::
  {:route_changes, byte()}
  | {:transmission_count, byte()}
  | {:neighbors, [neighbor()]}
  | {:packet_error_count, byte()}
  | {:sum_of_transmission_times, non_neg_integer()}
  | {:sum_of_transmission_times_squared, non_neg_integer()}

Specs

statistics() :: [statistic()]

Link to this section Functions

Link to this function

repeaters_from_bytes(bytes)

View Source
Link to this function

repeaters_to_bytes(repeaters)

View Source
Link to this function

route_type_from_byte(byte)

View Source

Specs

route_type_from_byte(any()) ::
  {:error, Grizzly.ZWave.DecodeError.t()} | {:ok, route_type()}
Link to this function

route_type_to_byte(type)

View Source

Specs

route_type_to_byte(route_type()) :: byte()

Specs

rssi_from_byte(byte()) ::
  {:ok, rssi()} | {:error, Grizzly.ZWave.DecodeError.t()}

Specs

rssi_to_byte(rssi()) :: byte()

Specs

speed_from_byte(any()) ::
  {:error, Grizzly.ZWave.DecodeError.t()} | {:ok, speed()}

Specs

speed_to_byte(speed()) :: byte()
Link to this function

statistics_from_binary(arg)

View Source
Link to this function

statistics_to_binary(statistics)

View Source