startOtaSimulationEnvironment

abstract fun startOtaSimulationEnvironment(otaAvailableHandler: IEvsOtaAvailableHandler, otaProcessHandler: IEvsOtaEventsHandler): Boolean

The function starts the firmware update (OTA) simulation environment

Following this call, the startOtaSim can be called to start the OTA simulation

When called, the IEvsOtaService.startOtaProcess will be executed in simulation mode

Calling this function will DISABLE the real firmware update option until restarting the application (there is no option to terminate the simulation environment)

NOTE: DO NOT USE IN PRODUCTION

Return

true if the ota simulation environment was initialized OK

Parameters

otaAvailableHandler

a callback handler for the OTA available notification

otaProcessHandler

a callback handler for the OTA process events

See also