25.3.2231.6R ENABLE.firmware

Functions for system firmware.

Methods

static ENABLE.firmware.getInfo () {Object}

Get firmware build date and version info

Returns:
Name Type Description
object Object
Name Type Description
date Date Js Date object to show firmware build date. Able to get year, month, etc. by methods like getFullYear(), getMonth().
version String Firmware version
status_code String ENABLE.status.SUCCESS or
ENABLE.status.ERROR

static ENABLE.firmware.upgrade (url) {Object}

Upgrade firmware

Name Type Description
url String

URL of firmware

Returns:
Name Type Description
object Object
Name Type Description
status_code String ENABLE.status.SUCCESS or
ENABLE.status.ERROR or
ENABLE.status.INVALID_ARGUMENT }