Infineon Logo AIROC BTSDK v4.6 - Documentation
 
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages

Macros

#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
 

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

Macro Definition Documentation

#define wiced_hci_fw_upgrade_init   wiced_ota_fw_upgrade_init

alias for wiced_ota_fw_upgrade_init

#define wiced_hci_fw_upgrade_set_transfer_mode   wiced_ota_fw_upgrade_set_transfer_mode

Alias for wiced_ota_fw_upgrade_set_transfer_mode.

Function Documentation

wiced_bool_t ota_fw_upgrade_handle_command ( uint16_t  conn_id,
uint8_t *  data,
int32_t  len 
)

Firmware upgrade command handler.

The application calls this function to pass commands to the firmware upgrade library

Parameters
[in]conn_idParameter not used for HCI firmware upgrade
[in]dataPointer to data command and parameters. The command value is in the first byte of data. Optional parameters follow.
[in]lenLength of data command and parameters.
Returns
true The handle is a GATT handle, otherwise - false.
wiced_bool_t ota_fw_upgrade_handle_data ( uint16_t  conn_id,
uint8_t *  data,
int32_t  len 
)

Data transfer handler.

The application calls this function to pass data to the firmware upgrade library

Parameters
[in]conn_idParameter not used for HCI firmware upgrade
[in]dataPointer to data.
[in]lenLength of data to write.
Returns
true Write was successful, otherwise - false.