z-wave_plus对门锁要实现功能和命令的基本要求

来源:互联网 发布:运动软件 编辑:程序博客网 时间:2024/04/29 00:25

z-wave_plus是sigma design针对500系列芯片的一套协议。在z-wave_plus中对门锁实施时要求和推荐的命令进行了规定。从中可以看出,相比于老的Z-Wave来说,z-wave_plus对安全性进行了强调;另外推荐实现门锁schedule和log(Z-Wave中没有推荐实现这两个命令类);

通过这些措施,

  • 使得锁的通讯更加安全,因为是加密通讯。
  • 另外通过schedule和user code命令类,锁可以支持访客通过临时密码开锁这样的场景。

不过相比于Z-Wave,Z-Wave plus并没有推荐实现Anti-theft Command Class类。


QQ:380939960

4.5 Door Lock –Keypad

Door Lock KeypadDevice Type指门锁设备,门锁可能会有内置的键盘;

Table 17, DoorLock Keypad Device Type identifiers

Device Type

Identifiers

Door Lock – Keypad

GENERIC_TYPE_ENTRY_CONTROL

SPECIFIC_TYPE_SECURE_KEYPAD_DOOR_LOCK

                                     

4.5.1 What RoleType to Use

Door Lock - KeypadDevice Type 必须是下表中的一种Role Types:

Table 18, DoorLock Keypad Role Type identifier

Role Type

Identifiers

Always On Slave (AOS)

ROLE_TYPE_SLAVE_ALWAYS_ON

Listening Sleeping Slave (LSS)

ROLE_TYPE_SLAVE_SLEEPING_LISTENING

如果门锁采用Listening Sleeping Slave (LSS)的话,通常来说是电池供电的,通过FLiRSFrequently Listening node)来做到门锁可以被实时控制。

 

4.5.3 S2 SecurityClasses

如果支持Security2 Command Class,则:

l  MUST request the S2 Access Control SecurityClass

l  MAY request the S2 Authenticated SecurityClass

l  MAY request the S2 Unauthenticated SecurityClass

 

4.5.4       Mandatory Command Classes

Door Lock - Keypad 必须支持如下的命令类:

l  Association, version 2 or newer

l  Association Group Information

l  Battery (如果是LSS,Listening Sleeping Slave,电池供电,所以支持电池命令类)

l  Device Reset Locally (如果设备支持reset的话)

l  Door Lock

l  Manufacturer Specific

l  Power level

l  Security

l  User Code (如果门锁有输入键盘的话)

l  Version, version 2 or newer

l  Z-Wave Plus Info

 

4.5.5 BasicCommand Considerations

如果支持Basic Command Class,Basic Command Class必须按照以下方式实现:

基本命令可以自由映射到设备支持的另一个命令类。 映射必须记录在用户手册中。 Basic Set,Get和Report命令必须映射在同一个命令类中。 基本报告必须符合映射的Get命令。 如果制造商认为没有相关命令可用于映射的话,接收到基本命令的设备必须忽略它们,并且设备在任何情况下都不必用Basic Report进行响应。

 

4.5.6 RecommendedOptional Features

Door Lock Keypad除了强制要求实现的命令外,还强烈推荐扩展自己支持的命令类,以扩展自己的功能。如果支持的话,必须使用最高安全级的命令类,以维护锁操作的安全性。推荐支持如下的命令类:

l  Door Lock Logging and all REQUIRED commandclasses to support Logging

l  Schedule Command Class and all REQUIREDcommand classes to support scheduling;如果要支持schedule的话,那么time类应该也是需要支持的。

 

通过这两个命令类,可以实现schedule功能,以及锁操作log的纪录以及历史纪录查询。

0 0