grizzly v0.6.0 Grizzly.CommandClass View Source

A Z-Wave Command Class

Link to this section Summary

Functions

Get the name of a command class

Make a new command class

Set the version of the command

Get the version of the command class

Check if the command class has a version

Link to this section Types

Link to this type

name() View Source
name() :: atom() | nil

Link to this type

version() View Source
version() :: non_neg_integer() | :no_version_number

Link to this section Functions

Link to this function

name(command_class) View Source
name(t()) :: name()

Get the name of a command class

Link to this function

new(opts \\ []) View Source
new(opts :: keyword()) :: t()

Make a new command class

Link to this function

set_version(command_class, version) View Source
set_version(t(), non_neg_integer() | :no_version_number) :: t()

Set the version of the command

Link to this function

version(command_class) View Source
version(t()) :: version()

Get the version of the command class

Link to this function

versioned?(command_class) View Source
versioned?(t()) :: boolean()

Check if the command class has a version