Examples of ZWaveManufacturerSpecificCommandClass


Examples of org.openhab.binding.zwave.internal.protocol.commandclass.ZWaveManufacturerSpecificCommandClass

      this.node.setNodeStage(NodeStage.DETAILS);
      this.controller.requestNodeInfo(this.node.getNodeId());
      break;
    case DETAILS:
      // try and get the manufacturerSpecific command class.
      ZWaveManufacturerSpecificCommandClass manufacturerSpecific = (ZWaveManufacturerSpecificCommandClass) this.node
          .getCommandClass(CommandClass.MANUFACTURER_SPECIFIC);

      if (manufacturerSpecific != null) {
        // if this node implements the Manufacturer Specific command
        // class, we use it to get manufacturer info.
        this.node.setNodeStage(NodeStage.MANSPEC01);
        this.controller.sendData(manufacturerSpecific.getManufacturerSpecificMessage());
        break;
      }

      logger.warn("NODE {}: does not support MANUFACTURER_SPECIFIC, proceeding to version node stage.",
          this.node.getNodeId());
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.