grizzly v0.10.3 Grizzly.ZWave.Notifications View Source

Link to this section Summary

Functions

Get the event from the byte given the notification type

Get the event byte given the event type

Get the type from the byte

Get the byte for the event name

Link to this section Types

Specs

event() :: atom()

Specs

type() :: atom()

Specs

zwave_alarm_status() :: :deactivate | :activate

Link to this section Functions

Link to this function

event_from_byte(arg1, arg2)

View Source

Specs

event_from_byte(type(), byte()) ::
  {:ok, event()} | {:error, :invalid_event_byte}

Get the event from the byte given the notification type

Link to this function

event_to_byte(atom1, atom2)

View Source

Specs

event_to_byte(type(), event()) :: byte()

Get the event byte given the event type

Specs

type_from_byte(byte()) :: {:ok, type()} | {:error, :invalid_type_byte}

Get the type from the byte

Specs

type_to_byte(type()) :: byte()

Get the byte for the event name