Wiki
Clone wikiNumera.LibrisAPI / device.ota
Home > API Reference Documentation > device.ota
device.ota
The device.ota
action will push an OTA package to a device. The device must be in the charger (with radios on) in order to receive the message and download the software.
Input Parameters
Property | Required | Description |
---|---|---|
id | yes, or imei | The id of the device |
imei | yes, or id | The imei of the device |
release | yes | Release number for the OTA, must match ota_release of the device realm |
variant | yes | The variant (such as EN ) for the package, must be in the ota_variants for the realm |
Output
The result
object will be empty.
Possible Status Codes
Status Code | Reason | Description |
---|---|---|
1000 | NO_ID_OR_IMEI | You have to send in the device id or imei |
1000 | NO_RELEASE | Missing release argument |
1000 | NO_VARIANT | Missing variant argument |
1001 | DEVICE_DOES_NOT_EXIST | Could not locate the device or the user does not have access to it |
1001 | DEVICE_HAS_NO_REALM | Device does not have a realm |
1001 | REALM_NOT_FOUND | The realm on the device is invalid |
1002 | RELEASE_NOT_ALLOWED | Must match release on realm |
1002 | VARIANT_NOT_ALLOWED | Must be allowed variant on realm |
1003 | OTA_NOT_FOUND | Could not find a package for that variant and release |
Updated