Developing with ZBOSS for Zigbee
zb_nvram_failure_report_s Struct Reference

Structure that contains report about any NVRAM failure. Pointer to this structure will be set as additional info in error_app_handler with error code ERROR_CODE(ERROR_CATEGORY_NVRAM, ZB_ERROR_NVRAM_WRITE_VALIDATION_FAILURE). Upon receiving of this error, user can decide what to do: More...

#include <zboss_api.h>

Data Fields

zb_uint32_t pos
 
zb_uint16_t ds_type
 
zb_uint8_t page
 
zb_uint8_t reserved [1]
 

Detailed Description

Structure that contains report about any NVRAM failure. Pointer to this structure will be set as additional info in error_app_handler with error code ERROR_CODE(ERROR_CATEGORY_NVRAM, ZB_ERROR_NVRAM_WRITE_VALIDATION_FAILURE). Upon receiving of this error, user can decide what to do:

  1. Do nothing - stack will be reset immediately, all not corrupted datasets will be copied to another page.
  2. Clear nvram.
  3. Manually implement function that implements user logic in this case.

Field Documentation

◆ ds_type

zb_uint16_t zb_nvram_failure_report_s::ds_type

Dataset type

See also
zb_nvram_dataset_types_t

◆ page

zb_uint8_t zb_nvram_failure_report_s::page

Page of dataset payload that haven't been written

◆ pos

zb_uint32_t zb_nvram_failure_report_s::pos

Position of dataset payload that haven't been written

◆ reserved

zb_uint8_t zb_nvram_failure_report_s::reserved[1]

Reserved for future use


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