Hi,

I have implemented the android layer implementation of the above
functionality. How it works is, when the admin sends the upgrade command
from the UI/REST API, android agent app talks to the system service
(implemented as a separate component, since these features require system
level/root access). Then, the system service will invoke the firmware
upgrade following the below steps.

1. System app will first downloads the OTA upgrade package's configuration
file "ota.conf" from the OTA server (server URL and ports have to be
configured in the system app)
2. Then it parses the config file downloaded to read the necessary configs
(ex: upgrade package version, size etc)
3. System app compares the upgrade package version with the device existing
firmware version.
4. If the firmware version is greater than the available version, it
downloads the upgrade package from the server.
5. System app triggers the OTA upgrade.

Thanks

On Wed, Feb 10, 2016 at 6:41 PM, Gayan Yalpathwala <[email protected]> wrote:

> Hi,
>
> I am adding the above function to the REST API layer and to the jaggery UI
> of EMM. With the introduction of this, a privileged user can remotely force
> a firmware upgrade on the device. This facility will only be available to
> COPE devices with the system app installed.
>
> Thanks,
>
> --
> *Gayan Kaushalya Yalpathwala*
> Software Engineer
> WSO2 Inc.; http://wso2.com
> lean.enterprise.middleware
>
> LK: +94 71 868 2704
> UK: +44 747 844 3609
>
> <http://asia14.wso2con.com/>
>



-- 
Kasun Dananjaya Delgolla

Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware
Tel:  +94 11 214 5345
Fax: +94 11 2145300
Mob: + 94 771 771 015
Blog: http://kddcodingparadise.blogspot.com
Linkedin: *http://lk.linkedin.com/in/kasundananjaya
<http://lk.linkedin.com/in/kasundananjaya>*
_______________________________________________
Architecture mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture

Reply via email to