Modules | |
Time cluster attributes | |
Time cluster commands | |
Data Structures | |
struct | zb_zcl_time_attrs_s |
Time cluster attributes. More... | |
Macros | |
#define | ZB_ZCL_TIME_SET_REAL_TIME_CLOCK_CB(func_ptr) (zb_zcl_set_real_time_clock_callback((func_ptr))) |
Set user's callback that will be initialize real time clock on device by specified value. "If the Master bit of the @ref ZB_ZCL_ATTR_TIME_TIME_STATUS_ID "TimeStatus" attribute has a value of 0,
writing to @ref ZB_ZCL_ATTR_TIME_TIME_ID "Time" attribute SHALL set the real time clock to the written value,
otherwise it cannot be written.". More... | |
#define | ZB_ZCL_DECLARE_TIME_ATTR_LIST(attr_list, attrs) |
Typedefs | |
typedef zb_bool_t(* | zb_zcl_time_set_real_time_clock_t )(zb_uint32_t time) |
Set real time clock callback. More... | |
typedef struct zb_zcl_time_attrs_s | zb_zcl_time_attrs_t |
#define ZB_ZCL_DECLARE_TIME_ATTR_LIST | ( | attr_list, | |
attrs | |||
) |
Declare attribute list for Time cluster
[in] | attr_list | - attribute list variable name |
[in] | attrs | - pointer to zb_zcl_time_attrs_s structure |
#define ZB_ZCL_TIME_SET_REAL_TIME_CLOCK_CB | ( | func_ptr | ) | (zb_zcl_set_real_time_clock_callback((func_ptr))) |
Set user's callback that will be initialize real time clock on device by specified value. "If the Master bit of the @ref ZB_ZCL_ATTR_TIME_TIME_STATUS_ID "TimeStatus" attribute has a value of 0, writing to @ref ZB_ZCL_ATTR_TIME_TIME_ID "Time" attribute SHALL set the real time clock to the written value, otherwise it cannot be written.".
typedef zb_bool_t(* zb_zcl_time_set_real_time_clock_t)(zb_uint32_t time) |
Set real time clock callback.
[in] | time | - UTC time at which real time clock will be set |