View Source Grizzly.Commands.Table (grizzly v8.6.2)

Lookup table for sendable Z-Wave commands.

Summary

Functions

Dump all the contents of the table

Get the handler spec for the command

Look up the Z-Wave command module and default Grizzly command options via the command name

Whether the command can be supervised (only commands that use the AckResponse handler can be supervised).

Functions

Dump all the contents of the table

Link to this function

format_handler_spec(spec)

View Source
@spec format_handler_spec(module() | Grizzly.handler_spec()) :: Grizzly.handler_spec()
@spec handler(Grizzly.command()) :: Grizzly.handler_spec()

Get the handler spec for the command

@spec lookup(Grizzly.command()) :: {module(), [Grizzly.command_opt()]}

Look up the Z-Wave command module and default Grizzly command options via the command name

Link to this function

supports_supervision?(command_name)

View Source
@spec supports_supervision?(Grizzly.command()) :: boolean()

Whether the command can be supervised (only commands that use the AckResponse handler can be supervised).