/** * Copyright (c) 2014-2017 by the respective copyright holders. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html */ package org.eclipse.smarthome.binding.lifx.internal.protocol; import java.nio.ByteBuffer; /** * @author Wouter Born - Support LIFX 2016 product line-up and infrared functionality */ public class GetLightInfraredRequest extends Packet { public static final int TYPE = 0x78; public GetLightInfraredRequest() { setTagged(false); setAddressable(true); setResponseRequired(true); } @Override public int packetType() { return TYPE; } @Override protected int packetLength() { return 0; } @Override protected void parsePacket(ByteBuffer bytes) { // do nothing } @Override protected ByteBuffer packetBytes() { return ByteBuffer.allocate(0); } @Override public int[] expectedResponses() { return new int[] { StateLightInfraredResponse.TYPE }; } }