- 使用 Spring Initializr 创建 Spring Boot 应用程序
- 在Spring Boot中配置Cassandra
- 在 Spring Boot 上配置 Tomcat 连接池
- 将Camel消息路由到嵌入WildFly的Artemis上
本文整理了Java中com.zsmartsystems.zigbee.zcl.clusters.ZclBasicCluster.getManufacturerName()
方法的一些代码示例,展示了ZclBasicCluster.getManufacturerName()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ZclBasicCluster.getManufacturerName()
方法的具体详情如下:
包路径:com.zsmartsystems.zigbee.zcl.clusters.ZclBasicCluster
类名称:ZclBasicCluster
方法名:getManufacturerName
[英]Synchronously get the ManufacturerName attribute [attribute ID 4].
The ManufacturerName attribute is a maximum of 32 bytes in length and specifies the name of the manufacturer as a ZigBee character string.
This method can return cached data if the attribute has already been received. The parameter refreshPeriod is used to control this. If the attribute has been received within refreshPeriod milliseconds, then the method will immediately return the last value received. If refreshPeriod is set to 0, then the attribute will always be updated.
This method will block until the response is received or a timeout occurs unless the current value is returned.
The attribute is of type String.
The implementation of this attribute by a device is MANDATORY
[中]同步获取ManufacturerName属性[属性ID 4]。
ManufacturerName属性的最大长度为32字节,并将制造商名称指定为ZigBee字符串。
如果已经接收到属性,该方法可以返回缓存数据。参数refreshPeriod用于控制这一点。如果在refreshPeriod毫秒内收到属性,则该方法将立即返回最后收到的值。如果refreshPeriod设置为0,则该属性将始终更新。
除非返回当前值,否则此方法将一直阻止,直到收到响应或出现超时。
该属性的类型为String。
设备必须实现此属性
代码示例来源:origin: zsmartsystems/com.zsmartsystems.zigbee
switch (command) {
case "MANUFACTURER":
response = basicCluster.getManufacturerName(refresh);
break;
case "MODEL":
代码示例来源:origin: openhab/org.openhab.binding.zigbee
String manufacturer = basicCluster.getManufacturerName(Long.MAX_VALUE);
if (manufacturer != null) {
properties.put(Thing.PROPERTY_VENDOR, manufacturer.trim());
本文整理了Java中com.zsmartsystems.zigbee.zcl.clusters.ZclBasicCluster.getHwVersion()方法的一些代码示例,展示了ZclBasicC
本文整理了Java中com.zsmartsystems.zigbee.zcl.clusters.ZclBasicCluster.getManufacturerName()方法的一些代码示例,展示了Zc
本文整理了Java中com.zsmartsystems.zigbee.zcl.clusters.ZclBasicCluster.getZclVersion()方法的一些代码示例,展示了ZclBasic
本文整理了Java中com.zsmartsystems.zigbee.zcl.clusters.ZclBasicCluster.getModelIdentifier()方法的一些代码示例,展示了Zcl
我是一名优秀的程序员,十分优秀!