View Source Grizzly.ZWave.CommandClasses.NetworkManagementInstallationMaintenance (grizzly v4.0.0)

"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

@type neighbor() :: [neighbor_param()]
@type neighbor_param() ::
  {:node_id, byte()} | {:repeater?, boolean()} | {:speed, speeds()}
@type route_type() ::
  :no_route
  | :last_working_route
  | :next_to_last_working_route
  | :set_by_application
@type rssi() ::
  :rssi_not_available
  | :rssi_max_power_saturated
  | :rssi_below_sensitivity
  | -94..-32
@type speed() :: :"9.6kbit/s" | :"40kbit/s" | :"100kbit/s" | :reserved
@type speeds() :: [speed()]
@type 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()}
@type 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
@spec route_type_from_byte(any()) ::
  {:error, Grizzly.ZWave.DecodeError.t()} | {:ok, route_type()}
Link to this function

route_type_to_byte(type)

View Source
@spec route_type_to_byte(route_type()) :: byte()
@spec rssi_from_byte(byte()) ::
  {:ok, rssi()} | {:error, Grizzly.ZWave.DecodeError.t()}
@spec rssi_to_byte(rssi()) :: byte()
@spec speeds_from_byte(byte()) :: {:ok, speeds()}
@spec speeds_to_byte(speeds()) :: byte()
Link to this function

statistics_from_binary(arg)

View Source
Link to this function

statistics_to_binary(statistics)

View Source