updateDevice

fun updateDevice(os: String): Int

Update the OS on the device from a specified location

Return

Const.EXECUTE_COMPLETE - function completed

Const.VALUE_IS_EMPTY - The specified value is empty. Function failed

Const.FAILED_TO_CONNECT - Failed to connect to server. Function failed

Const.FILE_NOT_FOUND - The specified file could not be found

Parameters

os

Direct path to OS file. The path can be an http/s link or a physical media path. To use a SDCard, use the prefix "/mediacard/"