Grizzly.FirmwareUpdateHandler behaviour (grizzly v0.22.2) 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(t, keyword)

View Source


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