Sebastián Pastor / EtheriosCloudConnector
Embed: (wiki syntax)

« Back to documentation index

connector_firmware_download_data_t Struct Reference

connector_firmware_download_data_t Struct Reference
[Firmware Download Image Data Structure]

Firmware download image data structure for connector_request_id_firmware_download_data callback which is called when the connector receives a block of image data for firmware download. More...

#include <connector_api_firmware.h>

Data Fields

unsigned int CONST target_number
 Target number which firmware target the image data is for.
struct {
   uint32_t CONST   offset
 Offset value where this particular block of image data fits into the download.
   uint8_t const *   data
 Pointer binary image data.
   size_t CONST   bytes_used
 Length of binary image data in bytes.
image
 Image data.
connector_firmware_status_t status
 Callback writes error status if error is encountered.

Detailed Description

Firmware download image data structure for connector_request_id_firmware_download_data callback which is called when the connector receives a block of image data for firmware download.

Definition at line 173 of file connector_api_firmware.h.


Field Documentation

size_t CONST bytes_used

Length of binary image data in bytes.

Definition at line 179 of file connector_api_firmware.h.

uint8_t const* data

Pointer binary image data.

Definition at line 178 of file connector_api_firmware.h.

struct { ... } image

Image data.

Offset value where this particular block of image data fits into the download.

Definition at line 177 of file connector_api_firmware.h.

Callback writes error status if error is encountered.

Definition at line 182 of file connector_api_firmware.h.

unsigned int CONST target_number

Target number which firmware target the image data is for.

Definition at line 174 of file connector_api_firmware.h.