Alarm Set Command控制设备是否上报某个类型的告警

Alarm Set Command

qq:380939960

The Alarm Set Command is used toset the activity of the Z-Wave Alarm Type and Status. 该命令是Alarm Command Class的第二版本新增的命令,通过这个命令可以一个ZWAVE设备是否上报某个类型的告警或者事件。 新的设备建议采用Notification Command Class。

 

7

6

5

4

3

2

1

0

Command Class = COMMAND_CLASS_ALARM

Command = ALARM_SET

Z-Wave Alarm Type

Z-Wave Alarm Status

 

Z-Wave Alarm Type(8 bits)

See Alarm ReportCommand. 这个类型是由ZWAVE联盟定义的,指出设备是否上报这种类型的告警。

Z-Wave AlarmStatus (8 bits)

This field is usedto set the state of the Alarm Type. The value 0x00 will deactivate the alarmand 0xFF will activate the alarm i.e. unsolicited Alarm Report Command will betransmitted to the node(s) defined in the Node field(s) when triggered by anevent. Any other value is reserved for future use.

0x00 – 不上报这种类型的告警;

0xFF – 设备需要上报这种类型的告警;

 

Note: The factory default state MUST be describedin the product manual. All Z-Wave enabled devices MUST be able to operate basedon factory default settings i.e. an end-user MUST NOT be forced to set-up thestates of the device in order to operate. The factory default state of theZ-Wave Alarm Status SHOULD be enabled.

ZWAVE标准要求产品的出厂默认设置就可以让产品支持的功能正常工作,而不需要controller特殊通过Alarm Set Command等命令进行特殊配置才能让某个特性进行工作。这个对于产品的互通性以及易用性来说至关紧要,否则的话,controller的编程人员就要针对不同厂家产品的配置不同进行很多兼容性的编程工作,不利于产品的互通性,从而在某种程度上也可能会影响产品的销售。当然不排除某些厂家为了提高客户粘性耍这种手段,但是这种方法最终应该是不太好的。

 

Products that donot allow deactivation of a specific Alarm Type, MUST respond to a AlarmConfiguration Set deactivating the Alarm Type in question by returning anApplication Rejected Request Command of the Application Status Command Class.

当然产品也可能不支持关闭某种类型的告警上报,此时它必须通过Application Rejected Request Command来反馈一个消息给设置者。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值