Send command to serial port and receive a answer