nRF5 SDK for Thread and Zigbee v4.1.0
Data Fields
zb_zcl_ota_upgrade_image_block_res_s Struct Reference

Structure representsation 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 representsation of Image Block Response command payload.

See also
OTA spec, OTA Upgrade Cluster 6.10.8.1

Field Documentation

zb_uint32_t zb_zcl_ota_upgrade_image_block_res_s::current_time

Current time

zb_uint8_t zb_zcl_ota_upgrade_image_block_res_s::data_size

Data size

zb_uint16_t zb_zcl_ota_upgrade_image_block_res_s::delay

BlockRequestDelay

zb_uint32_t zb_zcl_ota_upgrade_image_block_res_s::file_offset

File offset

zb_uint32_t zb_zcl_ota_upgrade_image_block_res_s::file_version

File version

zb_uint8_t* zb_zcl_ota_upgrade_image_block_res_s::image_data

Image data

zb_uint16_t zb_zcl_ota_upgrade_image_block_res_s::image_type

Image type

zb_uint16_t zb_zcl_ota_upgrade_image_block_res_s::manufacturer

Manufacturer code

zb_uint32_t zb_zcl_ota_upgrade_image_block_res_s::request_time

Request time

union { ... } zb_zcl_ota_upgrade_image_block_res_s::response

response data

zb_uint8_t zb_zcl_ota_upgrade_image_block_res_s::status

Status, see zb_zcl_status_e

struct { ... } zb_zcl_ota_upgrade_image_block_res_s::success

Success response.

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:

Documentation feedback | Developer Zone | Subscribe | Updated