Firmware Update from Host#

This section provides a reference to the APIs used to perform firmware updates from the host.

Functions#

sl_status_t
sl_si91x_fwup_start(uint8_t *rps_header)

Send the RPS header content of firmware file.This is a blocking API.

sl_status_t
sl_si91x_fwup_load(uint8_t *content, uint16_t length)

Send the firmware file content.This is a blocking API.

sl_status_t

This API is used to abort the firmware update process on the SI91x device.

sl_status_t
sl_si91x_bl_upgrade_firmware(uint8_t *firmware_image, uint32_t fw_image_size, uint8_t flags)

Flashes firmware to Wi-Fi module via bootloader.

sl_status_t

Set fast firmware upgrade.

Function Documentation#

sl_si91x_fwup_start#

sl_status_t sl_si91x_fwup_start (uint8_t *rps_header)

Send the RPS header content of firmware file.This is a blocking API.

Parameters
[in]rps_header

Pointer to the RPS header content.

Returns


Definition at line 554 of file components/device/silabs/si91x/wireless/inc/sl_si91x_driver.h

sl_si91x_fwup_load#

sl_status_t sl_si91x_fwup_load (uint8_t *content, uint16_t length)

Send the firmware file content.This is a blocking API.

Parameters
[in]content

Pointer to the firmware file content.

[in]length

Length of the content

Returns


Definition at line 566 of file components/device/silabs/si91x/wireless/inc/sl_si91x_driver.h

sl_si91x_fwup_abort#

sl_status_t sl_si91x_fwup_abort ()

This API is used to abort the firmware update process on the SI91x device.

This is a blocking API. Returns


Definition at line 574 of file components/device/silabs/si91x/wireless/inc/sl_si91x_driver.h

sl_si91x_bl_upgrade_firmware#

sl_status_t sl_si91x_bl_upgrade_firmware (uint8_t *firmware_image, uint32_t fw_image_size, uint8_t flags)

Flashes firmware to Wi-Fi module via bootloader.

Parameters
[in]firmware_image

Pointer to firmware.

[in]fw_image_size

Size of firmware image..

[in]flags

Flags indicating chuck position in file 0 = Middle of file 1 = Start of file 2 = End of file

Returns


Definition at line 857 of file components/device/silabs/si91x/wireless/inc/sl_si91x_driver.h

sl_si91x_set_fast_fw_up#

sl_status_t sl_si91x_set_fast_fw_up (void)

Set fast firmware upgrade.

Parameters
[in]

Returns


Definition at line 866 of file components/device/silabs/si91x/wireless/inc/sl_si91x_driver.h