All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Modem Firmware Update

Click here for the API Reference documentation.


Update Firmware Image
Query Firmware Version

Firmware update allows the various firmware images to be updated from the application processor. This includes the modem bootloader, modem firmware, and linux image, where the linux image consists of the linux bootloader, linux kernel, and linux rootfs.

Firmware update is useful when the image comes from an alternative source, rather than as an over-the-air update through the AirVantage service.

Update Firmware Image

The firmware update process is started by calling le_fwupdate_Download(). This function takes a file descriptor, rather than a file, to provide flexibility in the source of the image. In particular, this can be used to stream the image, rather than having to save it on the file system before doing the update.

If the image is successfully downloaded to the modem, the modem will reset in order to apply the update. This will reset both the modem and application processors. After the application processor has restarted, the Query Firmware Version APIs can be used to determine whether the firmware has been updated to the new version.

Query Firmware Version

le_fwupdate_GetFirmwareVersion() is used to query the current firmware version. le_fwupdate_GetBootloaderVersion() is used to query the current bootloader version. In both cases, the version is returned as a human readable string.

The linux kernel version can be queried using standard linux methods, such as the uname command, or the uname() API.


Copyright (C) Sierra Wireless, Inc 2014. Use of this work is subject to license.