switch the serial port speed low -- > high and vice versa . concode_field_sep Logger logger concode_elem_sep byte[] buffer concode_elem_sep PortState portState concode_elem_sep P1TelegramParser p1Parser concode_elem_sep Object portLock concode_elem_sep PortSpeed portSpeed concode_elem_sep int readTimeoutMSec concode_elem_sep int autoDetectTimeoutMSec concode_elem_sep SerialPort serialPort concode_elem_sep String portName concode_elem_sep BufferedInputStream bis concode_elem_sep long autoDetectTS concode_field_sep void handlePortState concode_elem_sep boolean isOpen concode_elem_sep List<OBISMessage> read concode_elem_sep void close concode_elem_sep boolean open
void function ( ) { switch ( portSpeed ) { case HIGH_SPEED : portSpeed = PortSpeed . LOW_SPEED ; break ; case LOW_SPEED : portSpeed = PortSpeed . HIGH_SPEED ; break ; } }