View Source Grizzly.StatusReporter behaviour (grizzly v7.4.0)

A behaviour that is used to report the status of various parts of the Grizzly runtime

Summary

Callbacks

This callback is called when Grizzly starts up zipgateway and able to establish everything is running correctly.

Called when the Serial API status changes. Only applicable if Grizzly is managing the Z/IP Gateway process.

This callback is executed during a firmware update of the Z-Wave module

Types

@type serial_api_status() :: :ok | :unresponsive

Callbacks

@callback ready() :: any()

This callback is called when Grizzly starts up zipgateway and able to establish everything is running correctly.

After this callback is called the implementor can assume the it is safe to access the Z-Wave network through Grizzly.

Link to this callback

serial_api_status(serial_api_status)

View Source (optional)
@callback serial_api_status(serial_api_status()) :: any()

Called when the Serial API status changes. Only applicable if Grizzly is managing the Z/IP Gateway process.

Link to this callback

zwave_firmware_update_status(update_status)

View Source
@callback zwave_firmware_update_status(Grizzly.ZWaveFirmware.update_status()) :: any()

This callback is executed during a firmware update of the Z-Wave module