Ben,<br><br>Thanks for the code. Here's some not very formatted stdout that I get when I run my test for your code. I'm not sure what to make of the strange characters that I get from the buffer output. Do you think it's binary? I tried to meld your code into the
pygarmin.py code with some success. The pygarmin code has some recognition code that writes to the port which I think makes the program hang (not to mention that my replacement of the former methods with your methods is kind of similar to doing surgery with an axe). Today I also found
NMEA.py, which decodes the standard GPS output (when it's ASCII, anyway). So now, if I'm lucky, maybe the odd buffer output can be simply translated into ASCII and NMEA.py used from there. If anyone has knowledge about finding and using GPS output I'd greatly appreciate getting a few lessons.
<br><br>Thanks again,<br>Matt<br><br><blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">COM2: COM2:<br>not open!<br><br>handle: 1734659954 <br>
<br>timeouts, <ceserial.COMMTIMEOUTS object at 0x001215D0><br>self._timeout is not None or 0<br>1734659954<br>buffer data: †~˜<br></blockquote><br><div><span class="gmail_quote">On 9/22/06, <b class="gmail_sendername">
Benjamin McBride</b> <<a href="mailto:benjamin.mcbride@gmail.com">benjamin.mcbride@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I did get things mostly working. I've attached what I have done. I<br>had problems with losing data at higher baud rates, so I buffered data<br>in read(). If this is not the desired behavior it is easy to change<br>(just look in the source).
<br>You also need ctypes installed.<br><br>Good Luck,<br><br>Ben<br><br><br>_______________________________________________<br>PythonCE mailing list<br><a href="mailto:PythonCE@python.org">PythonCE@python.org</a><br><a href="http://mail.python.org/mailman/listinfo/pythonce">
http://mail.python.org/mailman/listinfo/pythonce</a><br><br><br><br></blockquote></div><br>