def _hm_send_msg(self, message):
try:<EOL><INDENT>serial_message = message<EOL>self.conn.write(serial_message)   <EOL><DEDENT>except serial.SerialTimeoutException:<EOL><INDENT>serror = "<STR_LIT>"<EOL>sys.stderr.write(serror)<EOL><DEDENT>byteread = self.conn.read(<NUM_LIT>)<EOL>datal = list(byteread)<EOL>return datal<EOL>
This is the only interface to the serial connection.