|
enum | zb_zcl_ias_wd_cmd_e { ZB_ZCL_CMD_IAS_WD_START_WARNING_ID = 0x00,
ZB_ZCL_CMD_IAS_WD_SQUAWK_ID = 0x01
} |
| IAS WD cluster command identifiers. More...
|
|
enum | zb_zcl_ias_wd_warning_mode_e {
ZB_ZCL_IAS_WD_WARNING_MODE_STOP = 0x00,
ZB_ZCL_IAS_WD_WARNING_MODE_BURGLAR = 0x01,
ZB_ZCL_IAS_WD_WARNING_MODE_FIRE = 0x02,
ZB_ZCL_IAS_WD_WARNING_MODE_EMERGENCY = 0x03,
ZB_ZCL_IAS_WD_WARNING_MODE_POLICE_PANIC = 0x04,
ZB_ZCL_IAS_WD_WARNING_MODE_FIRE_PANIC = 0x05,
ZB_ZCL_IAS_WD_WARNING_MODE_EMERGENCY_PANIC = 0x06
} |
| Warning Mode Field, see ZCL spec 8.4.2.3.1.2. More...
|
|
enum | zb_zcl_ias_wd_strobe_e { ZB_ZCL_IAS_WD_STROBE_NO_STROBE = 0x00,
ZB_ZCL_IAS_WD_STROBE_USE_STROBE = 0x01
} |
| Strobe Field, see ZCL spec 8.4.2.3.1.3. More...
|
|
enum | zb_zcl_ias_wd_siren_level_e { ZB_ZCL_IAS_WD_SIREN_LEVEL_LOW = 0x00,
ZB_ZCL_IAS_WD_SIREN_LEVEL_MEDIUM = 0x01,
ZB_ZCL_IAS_WD_SIREN_LEVEL_HIGH = 0x02,
ZB_ZCL_IAS_WD_SIREN_LEVEL_VERY_HIGH = 0x03
} |
| Siren Level Field, see ZCL spec 8.4.2.3.1.4. More...
|
|
enum | zb_zcl_ias_wd_strobe_level_e { ZB_ZCL_IAS_WD_STROBE_LEVEL_LOW = 0x00,
ZB_ZCL_IAS_WD_STROBE_LEVEL_MEDIUM = 0x01,
ZB_ZCL_IAS_WD_STROBE_LEVEL_HIGH = 0x02,
ZB_ZCL_IAS_WD_STROBE_LEVEL_VERY_HIGH = 0x03
} |
| Strobe Level Field, see ZCL spec 8.4.2.2.1.7. More...
|
|
enum | zb_zcl_ias_wd_squawk_mode_e { ZB_ZCL_IAS_WD_SQUAWK_MODE_ARMED = 0x00,
ZB_ZCL_IAS_WD_SQUAWK_MODE_DISARMED = 0x01
} |
| Squawk Mode Field, see ZCL spec 8.4.2.3.2.2. More...
|
|
enum | zb_zcl_ias_wd_squawk_strobe_e { ZB_ZCL_IAS_WD_SQUAWK_STROBE_NO_STROBE = 0x00,
ZB_ZCL_IAS_WD_SQUAWK_STROBE_USE_STROBE = 0x01
} |
| Strobe Field, see ZCL spec 8.4.2.3.2.3. More...
|
|
enum | zb_zcl_ias_wd_squawk_level_e { ZB_ZCL_IAS_WD_SQUAWK_LEVEL_LOW = 0x00,
ZB_ZCL_IAS_WD_SQUAWK_LEVEL_MEDIUM = 0x01,
ZB_ZCL_IAS_WD_SQUAWK_LEVEL_HIGH = 0x02,
ZB_ZCL_IAS_WD_SQUAWK_LEVEL_VERY_HIGH = 0x03
} |
| Squawk level Field, see ZCL spec 8.4.2.3.2.4. More...
|
|
typedef struct zb_zcl_ias_wd_start_warning_s | zb_zcl_ias_wd_start_warning_t |
| Structure representsation Start warning command. ZCL spec 8.4.2.3.1.
|
|
typedef struct zb_zcl_ias_wd_squawk_s | zb_zcl_ias_wd_squawk_t |
| Structure representsation Squawk command. ZCL spec 8.4.2.3.2.
|
|
#define | ZB_ZCL_IAS_WD_GET_WARNING_MODE(status) (((status) >> 4) & 0x0f) |
| Get Warning Mode from payload Start warning command.
|
|
#define | ZB_ZCL_IAS_WD_GET_STROBE(status) (((status) >> 2) & 0x03) |
| Get Strobe from payload Start warning command.
|
|
#define | ZB_ZCL_IAS_WD_GET_SIREN_LEVEL(status) ((status) & 0x03) |
| Get Siren level from payload Start warning command.
|
|
#define | ZB_ZCL_IAS_WD_MAKE_START_WARNING_STATUS(warning_mode, strobe, siren_level) (((siren_level) & 0x03) | (((strobe) & 0x03) << 2) | (((warning_mode) & 0x0f) << 4)) |
| Make Status field Start warning command from Warning Mode, Strobe and Siren Level.
|
|
#define | ZB_ZCL_IAS_WD_STROBE_DUTY_CYCLE_DEFAULT_VALUE 0 |
| Strobe Duty Cycle default value.
|
|
#define | ZB_ZCL_IAS_WD_STROBE_DUTY_CYCLE_MAX_VALUE 100 |
| Strobe Duty Cycle maximum value.
|
|
#define | ZB_ZCL_IAS_WD_SEND_START_WARNING_REQ( buffer, addr, dst_addr_mode, dst_ep, ep, prfl_id, def_resp, cb, status, duration, strobe_duty_cycle, strobe_level) |
| Start warning command. ZCL spec 8.4.2.3.1. More...
|
|
#define | ZB_ZCL_IAS_WD_GET_START_WARNING_REQ(data_ptr, buffer, status) |
| Macro for getting Start warning command. ZCL spec 8.4.2.3.1. More...
|
|
#define | ZB_ZCL_IAS_WD_GET_SQUAWK_MODE(status) (((status) >> 4) & 0x0f) |
| Get Squawk Mode from payload Squawk command.
|
|
#define | ZB_ZCL_IAS_WD_GET_SQUAWK_STROBE(status) (((status) >> 3) & 0x01) |
| Get Squawk Strobe from payload Squawk command.
|
|
#define | ZB_ZCL_IAS_WD_GET_SQUAWK_LEVEL(status) ((status) & 0x03) |
| Get Squawk Level from payload Squawk command.
|
|
#define | ZB_ZCL_IAS_WD_MAKE_SQUAWK_STATUS(mode, strobe, level) (((level) & 0x03) | (((strobe) & 0x01) << 3) | (((mode) & 0x0f) << 4)) |
| Make Status field Squawk command from Squawk mode, Strobe and Squawk level.
|
|
#define | ZB_ZCL_IAS_WD_SEND_SQUAWK_REQ( buffer, addr, dst_addr_mode, dst_ep, ep, prfl_id, def_resp, cb, status) |
| Squawk command. ZCL spec 8.4.2.3.2. More...
|
|
#define | ZB_ZCL_IAS_WD_GET_SQUAWK_REQ(data_ptr, buffer, status) |
| Macro for getting Squawk command. ZCL spec 8.4.2.3.2. More...
|
|