open serialport before setBaudRate