Device Control Update (DCU) feature - Beta¶
The DCU feature introduces a novel update mechanism enabling Update Factory to perform "Device Control" tasks on Android. The tasks are implemented as Android applications, which are installed on the device by the UF Android Client Service and subsequently removed when execution is complete.
The Android DCU applications (dcu-service-app) implement the DCU APIs provided by the
dcu-api library. The dcu-service-app uses the APIs to communicate status updates and the update result to the UF Android Client Service, which in turn forwards the messages to the Update Factory server.
The lifecycle of a DCU update is as follows:
- the UF Android Client Service downloads and installs the dcu-service application
- the UF Android Client Service launches the dcu-service-app and awaits the completion of the dcu-service task
- on task completion or when a timeout expires, the UF Android Client Service uninstalls the application.
Each step of the process is reported to the Update Factory server, with the task result (success or failure) closing the update flow on the server.
Example DCU use cases¶
DCU can be used for example to perform the following tasks at scale:
- connecting to a specific Wifi access point
- changing system configuration
- wiping cache or data of a specific application
- rebooting the device
- factory resetting the device
API and reference implementation¶
Please contact us to get access to:
- UF Android Client Service beta apk with DCU feature
- dcu-api aar library
- documentation of DCU application API
- source code of the reference DCU application implementation