Snapdragon® Telematics Application Framework (TelAF) Interface Specification
|
API Reference
legatoServicesUpdate
legatoServicesUpdatePack
conceptsUpdates
getStartedUpdate
This API uses legatoServicesUpdatePack to update a target device software/firmware.
Update packs can contain one or more tasks to be performed by the basicRuntimeArch_updateDaemon.
From the client view, the update service follows this state machine while doing an update:
Typically, the API is used like this:
To cancel an update before it finishes, call le_update_End().
If the client disconnects before ending the update session, the session will automatically end. If the update is still in progress, it may be cancelled (if it's not too late).
This C code sample calls an update service provider API to perform an update:
It is possible to get the index and hash for all of the currently installed systems. The following is an example of how one would list all installed systems and their hashes.
Copyright (C) Sierra Wireless Inc.