Grizzly.Commands.Table (grizzly v8.7.0)

View Source

Lookup table for sendable Z-Wave commands.

Summary

Functions

Get the handler spec for the command

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

Functions

dump()

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

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