Added serial data transmission rate constant to the Java code.