Infineon Logo AIROC BTSDK v4.9 - Documentation
 
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
wiced_bt_hci_firmware_upgrade.h File Reference

> More...

Macros

#define WICED_HCI_UPGRADE_COMMAND_PREPARE_DOWNLOAD   WICED_OTA_UPGRADE_COMMAND_PREPARE_DOWNLOAD
 
#define WICED_HCI_UPGRADE_COMMAND_DOWNLOAD   WICED_OTA_UPGRADE_COMMAND_DOWNLOAD
 
#define WICED_HCI_UPGRADE_COMMAND_VERIFY   WICED_OTA_UPGRADE_COMMAND_VERIFY
 
#define WICED_HCI_UPGRADE_COMMAND_FINISH   WICED_OTA_UPGRADE_COMMAND_FINISH
 
#define WICED_HCI_UPGRADE_COMMAND_GET_STATUS   WICED_OTA_UPGRADE_COMMAND_GET_STATUS /* Not currently used */
 
#define WICED_HCI_UPGRADE_COMMAND_CLEAR_STATUS   WICED_OTA_UPGRADE_COMMAND_CLEAR_STATUS /* Not currently used */
 
#define WICED_HCI_UPGRADE_COMMAND_ABORT   WICED_OTA_UPGRADE_COMMAND_ABORT
 
#define HCI_FW_UPGRADE_STATUS_STARTED   OTA_FW_UPGRADE_STATUS_STARTED
 
#define HCI_FW_UPGRADE_STATUS_ABORTED   OTA_FW_UPGRADE_STATUS_ABORTED
 
#define HCI_FW_UPGRADE_STATUS_COMPLETED   OTA_FW_UPGRADE_STATUS_COMPLETED
 
#define HCI_FW_UPGRADE_STATUS_VERIFICATION_START   OTA_FW_UPGRADE_STATUS_VERIFICATION_START
 
#define HCI_FW_UPGRADE_EVENT_STARTED   OTA_FW_UPGRADE_EVENT_STARTED
 
#define HCI_FW_UPGRADE_EVENT_DATA   OTA_FW_UPGRADE_EVENT_DATA
 
#define HCI_FW_UPGRADE_EVENT_COMPLETED   OTA_FW_UPGRADE_EVENT_COMPLETED
 
#define wiced_hci_fw_upgrade_init   wiced_ota_fw_upgrade_init
 alias for wiced_ota_fw_upgrade_init More...
 
#define wiced_hci_fw_upgrade_is_active   wiced_ota_fw_upgrade_is_active
 alias for wiced_ota_fw_upgrade_is_active.
 
#define wiced_hci_fw_upgrade_get_new_fw_info   wiced_ota_fw_upgrade_get_new_fw_info
 Alias for wiced_ota_fw_upgrade_get_new_fw_info.
 
#define wiced_hci_fw_upgrade_set_transfer_mode   wiced_ota_fw_upgrade_set_transfer_mode
 Alias for wiced_ota_fw_upgrade_set_transfer_mode. More...
 
#define hci_fw_upgrade_handle_data   ota_fw_upgrade_handle_data
 
#define hci_fw_upgrade_handle_command   ota_fw_upgrade_handle_command
 

Typedefs

typedef void( wiced_hci_firmware_upgrade_status_callback_t )(uint8_t status)
 An optional callback to be executed when the Fimware Upgrade state changes. More...
 

Functions

wiced_bool_t ota_fw_upgrade_handle_data (uint16_t conn_id, uint8_t *data, int32_t len)
 Data transfer handler. More...
 
wiced_bool_t ota_fw_upgrade_handle_command (uint16_t conn_id, uint8_t *data, int32_t len)
 Firmware upgrade command handler. More...
 

Detailed Description

>

AIROC HCI Firmware Upgrade

Provides definitions and APIs that exposes HCI Firmware Upgrade managed by the Firmware Upgrade library, e.g. fw_upgrade_lib. This service can be utilized by peer Firmware Upgrade applications to perform a firmware upgrade.