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

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()

Dump all the contents of the table

format_handler_spec(spec)

@spec format_handler_spec(module() | Grizzly.handler_spec()) :: Grizzly.handler_spec()

handler(command_name)

@spec handler(Grizzly.command()) :: Grizzly.handler_spec()

Get the handler spec for the command

lookup(command_name)

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

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

supports_supervision?(command_name)

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

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