OcppModel.V20.Behaviours.Controller behaviour (ocpp_model v0.2.5) View Source
Behaviour for a controller
Link to this section Summary
Functions
Main entrypoint, based on the action parameter, this function will call one of the callback functions
Link to this section Functions
Specs
Main entrypoint, based on the action parameter, this function will call one of the callback functions
Link to this section Callbacks
Specs
publish_firmware(
req :: %OcppModel.V20.Messages.PublishFirmwareRequest{
checksum: term(),
location: term(),
requestId: term(),
retries: term(),
retryInterval: term()
}
) ::
{:ok,
%OcppModel.V20.Messages.PublishFirmwareResponse{
status: term(),
statusInfo: term()
}}
| {:error, :publish_firmware, String.t()}