View Source Grizzly.FirmwareUpdateHandler behaviour (grizzly v8.3.0)

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:

Summary

Callbacks

Link to this callback

handle_command(t, keyword)

View Source
@callback handle_command(
  Grizzly.ZWave.Command.t(),
  keyword()
) :: :ok