Macros | |
#define | ZB_ZCL_TIME_TIME_STATUS_MASTER_BIT_IS_SET(val) ((val) & (1 << ZB_ZCL_TIME_MASTER)) |
#define | ZB_ZCL_TIME_TIME_STATUS_SYNCHRONIZED_BIT_IS_SET(val) ((val) & (1 << ZB_ZCL_TIME_SYNCHRONIZED)) |
#define | ZB_ZCL_TIME_TIME_STATUS_MASTER_ZONE_DST_BIT_IS_SET(val) ((val) & (1 << ZB_ZCL_TIME_MASTER_ZONE_DST)) |
#define | ZB_ZCL_TIME_TIME_STATUS_SUPERSEDING_BIT_IS_SET(val) ((val) & (1 << ZB_ZCL_TIME_SUPERSEDING)) |
#define | ZB_ZCL_TIME_TIME_INVALID_VALUE ((zb_time_t)0xFFFFFFFF) |
Invalid value of Time attribute. | |
#define | ZB_ZCL_TIME_TIME_DEFAULT_VALUE ZB_ZCL_TIME_TIME_INVALID_VALUE |
Default value for Time attribute. | |
#define | ZB_ZCL_TIME_TIME_MIN_VALUE ((zb_time_t)0x0) |
Minimum value for Time attribute. | |
#define | ZB_ZCL_TIME_TIME_MAX_VALUE ((zb_time_t)0xFFFFFFFE) |
Maximum value for Time attribute. | |
#define | ZB_ZCL_TIME_TIME_STATUS_DEFAULT_VALUE 0x00 |
Default value for Time Status attribute. | |
#define | ZB_ZCL_TIME_TIME_ZONE_DEFAULT_VALUE 0x00000000 |
Default value for Time Zone attribute. | |
#define | ZB_ZCL_TIME_DST_START_DEFAULT_VALUE ((zb_uint32_t)0xFFFFFFFF) |
Default value for DstStart attribute. | |
#define | ZB_ZCL_TIME_DST_END_DEFAULT_VALUE ((zb_uint32_t)0xFFFFFFFF) |
Default value for DstEnd attribute. | |
#define | ZB_ZCL_TIME_DST_SHIFT_DEFAULT_VALUE 0x00000000 |
Default value for Dst Shift attribute. | |
#define | ZB_ZCL_TIME_STANDARD_TIME_DEFAULT_VALUE ((zb_uint32_t)0xFFFFFFFF) |
Default value for StandardTime attribute. | |
#define | ZB_ZCL_TIME_LOCAL_TIME_DEFAULT_VALUE ((zb_uint32_t)0xFFFFFFFF) |
Default value for LocalTime attribute. | |
#define | ZB_ZCL_TIME_LAST_SET_TIME_DEFAULT_VALUE 0xffffffff |
Default value for Last Set Time attribute. | |
#define | ZB_ZCL_TIME_VALID_UNTIL_TIME_DEFAULT_VALUE 0xffffffff |
Default value for Valid Until Time attribute. | |
Enumerations | |
enum | zb_zcl_time_attr_e { ZB_ZCL_ATTR_TIME_TIME_ID = 0x0000, ZB_ZCL_ATTR_TIME_TIME_STATUS_ID = 0x0001, ZB_ZCL_ATTR_TIME_TIME_ZONE_ID = 0x0002, ZB_ZCL_ATTR_TIME_DST_START_ID = 0x0003, ZB_ZCL_ATTR_TIME_DST_END_ID = 0x0004, ZB_ZCL_ATTR_TIME_DST_SHIFT_ID = 0x0005, ZB_ZCL_ATTR_TIME_STANDARD_TIME_ID = 0x0006, ZB_ZCL_ATTR_TIME_LOCAL_TIME_ID = 0x0007, ZB_ZCL_ATTR_TIME_LAST_SET_TIME_ID = 0x0008, ZB_ZCL_ATTR_TIME_VALID_UNTIL_TIME_ID = 0x0009 } |
Time cluster attribute identifiers. More... | |
enum | zb_zcl_time_time_status_e { ZB_ZCL_TIME_MASTER = 0, ZB_ZCL_TIME_SYNCHRONIZED = 1, ZB_ZCL_TIME_MASTER_ZONE_DST = 2, ZB_ZCL_TIME_SUPERSEDING = 3 } |
Permissible values for Time Status attribute,. More... | |
#define ZB_ZCL_TIME_TIME_STATUS_MASTER_BIT_IS_SET | ( | val | ) | ((val) & (1 << ZB_ZCL_TIME_MASTER)) |
Check if Master bit of TimeStatus attribute is set.
val | - 8-bit that contains value of TimeStatus attribute |
#define ZB_ZCL_TIME_TIME_STATUS_MASTER_ZONE_DST_BIT_IS_SET | ( | val | ) | ((val) & (1 << ZB_ZCL_TIME_MASTER_ZONE_DST)) |
Check if MasterZoneDST bit of TimeStatus attribute is set.
val | - 8-bit that contains value of TimeStatus attribute |
#define ZB_ZCL_TIME_TIME_STATUS_SUPERSEDING_BIT_IS_SET | ( | val | ) | ((val) & (1 << ZB_ZCL_TIME_SUPERSEDING)) |
Check if Superseding bit of TimeStatus attribute is set.
val | - 8-bit that contains value of TimeStatus attribute |
#define ZB_ZCL_TIME_TIME_STATUS_SYNCHRONIZED_BIT_IS_SET | ( | val | ) | ((val) & (1 << ZB_ZCL_TIME_SYNCHRONIZED)) |
Check if Synchronized bit of TimeStatus attribute is set.
val | - 8-bit that contains value of TimeStatus attribute |
enum zb_zcl_time_attr_e |
Time cluster attribute identifiers.