Developing with ZBOSS for Zigbee
|
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 |
Structure representation of Image Block Response command payload.
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 zcl_status
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