Examples of PairPingMsg


Examples of org.openhab.binding.maxcul.internal.messages.PairPingMsg

    logger.debug("Sequence State: " + state);
    switch (state) {
    case INITIAL_PING:
      /* get device type */
      PairPingMsg ppMsg = new PairPingMsg(msg.rawMsg);
      this.deviceType = MaxCulDevice.getDeviceTypeFromInt(ppMsg.type);
      /* Send PONG - assumes PING is checked */
      logger.debug("Sending PONG");
      this.devAddr = msg.srcAddrStr;
      messageHandler.sendPairPong(devAddr, this);
View Full Code Here

Examples of org.openhab.binding.maxcul.internal.messages.PairPingMsg

      break;
    case ACK:
      new AckMsg(data).printMessage();
      break;
    case PAIR_PING:
      new PairPingMsg(data).printMessage();
      break;
    case PAIR_PONG:
      new PairPongMsg(data).printMessage();
      break;
    case THERMOSTAT_STATE:
View Full Code Here

Examples of org.openhab.binding.maxcul.internal.messages.PairPingMsg

    if (((pairMode && isBroadcast) || !isBroadcast)
        && msgType == MaxCulMsgType.PAIR_PING) {
      logger.debug("Got PAIR_PING message");
      MaxCulBindingConfig configWithTempsConfig = null;
      /* process packet */
      PairPingMsg pkt = new PairPingMsg(data);

      /* Match serial number to binding configuration */
      Collection<MaxCulBindingConfig> bindingConfigs = getBindingsBySerial(pkt.serial);

      /*
 
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.