AIROC™ BTSDK v4.7 - Documentation | ||||
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... | |
#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.
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
[in] | conn_id | Parameter not used for HCI firmware upgrade |
[in] | data | Pointer to data command and parameters. The command value is in the first byte of data. Optional parameters follow. |
[in] | len | Length of data command and parameters. |
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
[in] | conn_id | Parameter not used for HCI firmware upgrade |
[in] | data | Pointer to data. |
[in] | len | Length of data to write. |