nRF5 SDK for Thread and Zigbee v2.0.0
Macros
Reporting HA extension

Macros

#define ZB_HA_MIN_REPORTING_INTERVAL   0x0001
 
#define ZB_HA_MAX_REPORTING_INTERVAL_BOUNDARY   0x003C
 
#define ZB_HA_CHECK_REPORTING_INTERVALS(min_interval, max_interval)
 

Detailed Description

HA extensions for ZCL reporting. See HA spec 7.1.5

Macro Definition Documentation

#define ZB_HA_CHECK_REPORTING_INTERVALS (   min_interval,
  max_interval 
)
Value:
( (((max_interval) == 0) \
|| ((max_interval) >= ZB_HA_MAX_REPORTING_INTERVAL_BOUNDARY)) \
&& ((min_interval) >= ZB_HA_MIN_REPORTING_INTERVAL))
#define ZB_HA_MIN_REPORTING_INTERVAL
Definition: zb_zcl_reporting_ha_adds.h:56
#define ZB_HA_MAX_REPORTING_INTERVAL_BOUNDARY
Definition: zb_zcl_reporting_ha_adds.h:59

Check minimum and maximum reporting intervals fields of configure reporting command

Parameters
min_intervalminimum reporting interval
max_intervalmaximum reporting interval
Returns
ZB_TRUE if reporting intervals are valid, ZB_FALSE otherwise
#define ZB_HA_MAX_REPORTING_INTERVAL_BOUNDARY   0x003C

Minimum value of maximum reporting interval for HA profile

#define ZB_HA_MIN_REPORTING_INTERVAL   0x0001

Boundary value for minimum reporting interval for HA profile


Documentation feedback | Developer Zone | Subscribe | Updated