View Source Grizzly.StatusReporter behaviour (grizzly v8.6.6)

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

serial_api_status()

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

Callbacks

ready()

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

serial_api_status(serial_api_status)

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

zwave_firmware_update_status(update_status)

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

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