Logo
Developing with ZBOSS for Zigbee
zb_zcl_ota_upgrade_image_block_res_s Struct Reference

Structure representation of Image Block Response command payload. More...

#include <zb_zcl_ota_upgrade.h>

Data Fields

zb_uint8_t status
 
union {
   struct {
      zb_uint16_t   manufacturer
 
      zb_uint16_t   image_type
 
      zb_uint32_t   file_version
 
      zb_uint32_t   file_offset
 
      zb_uint8_t   data_size
 
      zb_uint8_t *   image_data
 
   }   success
 
   struct {
      zb_uint32_t   current_time
 
      zb_uint32_t   request_time
 
      zb_uint16_t   delay
 
   }   wait_for_data
 
response
 

Detailed Description

Structure representation of Image Block Response command payload.

See also
ZCL8 specification, subsection 11.13.8.1

Field Documentation

§ current_time

zb_uint32_t zb_zcl_ota_upgrade_image_block_res_s::current_time

Current time

§ data_size

zb_uint8_t zb_zcl_ota_upgrade_image_block_res_s::data_size

Data size

§ delay

zb_uint16_t zb_zcl_ota_upgrade_image_block_res_s::delay

BlockRequestDelay

§ file_offset

zb_uint32_t zb_zcl_ota_upgrade_image_block_res_s::file_offset

File offset

§ file_version

zb_uint32_t zb_zcl_ota_upgrade_image_block_res_s::file_version

File version

§ image_data

zb_uint8_t* zb_zcl_ota_upgrade_image_block_res_s::image_data

Image data

§ image_type

zb_uint16_t zb_zcl_ota_upgrade_image_block_res_s::image_type

Image type

§ manufacturer

zb_uint16_t zb_zcl_ota_upgrade_image_block_res_s::manufacturer

Manufacturer code

§ request_time

zb_uint32_t zb_zcl_ota_upgrade_image_block_res_s::request_time

Request time

§ response

union { ... } zb_zcl_ota_upgrade_image_block_res_s::response

response data

§ status

zb_uint8_t zb_zcl_ota_upgrade_image_block_res_s::status

Status, see zcl_status

§ success

struct { ... } zb_zcl_ota_upgrade_image_block_res_s::success

Success response.

§ wait_for_data

struct { ... } zb_zcl_ota_upgrade_image_block_res_s::wait_for_data

Wait for data


The documentation for this struct was generated from the following file: