Examples of processOutgoingWakeupMessage()


Examples of org.openhab.binding.zwave.internal.protocol.commandclass.ZWaveWakeUpCommandClass.processOutgoingWakeupMessage()

      if (!node.isListening() && !node.isFrequentlyListening() && serialMessage.getPriority() != SerialMessagePriority.Low) {
      ZWaveWakeUpCommandClass wakeUpCommandClass = (ZWaveWakeUpCommandClass)node.getCommandClass(CommandClass.WAKE_UP);

      // If it's a battery operated device, check if it's awake or place in wake-up queue.
      if (wakeUpCommandClass != null && !wakeUpCommandClass.processOutgoingWakeupMessage(serialMessage)) {
        return;
      }
    }
     
      serialMessage.setTransmitOptions(TRANSMIT_OPTION_ACK | TRANSMIT_OPTION_AUTO_ROUTE | TRANSMIT_OPTION_EXPLORE);
View Full Code Here

Examples of org.openhab.binding.zwave.internal.protocol.commandclass.ZWaveWakeUpCommandClass.processOutgoingWakeupMessage()

           
            if (node != null && !node.isListening() && !node.isFrequentlyListening() && lastSentMessage.getPriority() != SerialMessagePriority.Low) {
              ZWaveWakeUpCommandClass wakeUpCommandClass = (ZWaveWakeUpCommandClass)node.getCommandClass(CommandClass.WAKE_UP);
 
              // If it's a battery operated device, check if it's awake or place in wake-up queue.
              if (wakeUpCommandClass != null && !wakeUpCommandClass.processOutgoingWakeupMessage(lastSentMessage)) {
                continue;
              }
            }
          }
         
View Full Code Here

Examples of org.openhab.binding.zwave.internal.protocol.commandclass.ZWaveWakeUpCommandClass.processOutgoingWakeupMessage()

          .getCommandClass(CommandClass.WAKE_UP);

      if (wakeUpCommandClass != null) {
        // It's a battery operated device, place in wake-up queue.
        wakeUpCommandClass.setAwake(false);
        wakeUpCommandClass.processOutgoingWakeupMessage(originalMessage);
        return false;
      }
    } else if (!node.isListening() && !node.isFrequentlyListening()
        && originalMessage.getPriority() == SerialMessagePriority.Low)
      return false;
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.