Grizzly.FirmwareUpdateHandler behaviour (grizzly v0.15.6) View Source

Behaviour for handling incoming commands during the firmware update process

When you initialize a firmware update process you can pass the :handler option to the function which can either be the a pid (defaults to caller pid) or a module that implements this behaviour.

The report this callback function will most want to handle is:

The callback might also want to be aware of:

Link to this section Summary

Link to this section Callbacks

Link to this callback

handle_command(arg1, keyword)

View Source

Specs

handle_command(Grizzly.ZWave.Command.t(), keyword()) :: :ok