@config private IoTSet<IoTDeviceAddress> lb_addresses;
/**
- * Used for testing only
+ * TODO: Used for testing only
*/
/*public LifxLightBulb(IoTUDP udp, byte[] macAddress) {
communicationSockect = udp;
public LifxLightBulb(String macAddress) {
communicationSockect = null;
-
- // Set the Mac Address to a default value
- // Probably not needed for anything
- /*bulbMacAdd[0] = (byte)0x00;
- bulbMacAdd[1] = (byte)0x00;
- bulbMacAdd[2] = (byte)0x00;
- bulbMacAdd[3] = (byte)0x00;
- bulbMacAdd[4] = (byte)0x00;
- bulbMacAdd[5] = (byte)0x00;
- bulbMacAdd[6] = (byte)0x00;
- bulbMacAdd[7] = (byte)0x00;*/
-
bulbMacAddress = DatatypeConverter.parseHexBinary(macAddress);
}