package org.bubblecloud.zigbee;

import org.bubblecloud.zigbee.network.port.SerialPortImpl;

/**
 * Created by Chris on 25/02/15.
 */
public final class ZigBeeSerialNetworkTest extends ZigBeeNetworkTest {
	public static final String SerialPortIdentifier = "/dev/ttyACM0";
	public static final int    BaudRate             = 115200;

    /**
     * Constructor for defining the serial port implementation.
     */
	public ZigBeeSerialNetworkTest() {
		super(new SerialPortImpl(SerialPortIdentifier, BaudRate));
	}
}

@@ -202,76 +202,173 @@
 t %7B%0A
-%09public static final String SerialPortIdentifier = %22/dev/ttyACM0%22;%0A%09
+    /**%0A     * The serial port identifier.%0A     */%0A    public static final String SERIAL_PORT_IDENTIFIER = %22/dev/ttyACM0%22;%0A    /**%0A     * The baud rate.%0A     */%0A    
 publ
@@ -391,31 +391,17 @@
 int 
-   BaudRate            
+BAUD_RATE
  = 1
@@ -488,17 +488,20 @@
      */%0A
-%09
+    
 public Z
@@ -531,10 +531,16 @@
 ) %7B%0A
-%09%09
+        
 supe
@@ -565,42 +565,48 @@
 pl(S
-erialPortIdentifier, BaudRate));%0A%09
+ERIAL_PORT_IDENTIFIER, BAUD_RATE));%0A    
 %7D%0A%7D%0A

Clean up of serial port implementation.