Re: Using serial ports

David McNab <[email protected]> Mon, 01 Jun 2009 09:27:34 +1200
Newsgroups gmane.comp.python.windows-ce
Message-ID <1243805254.4198.12.camel@rebirth>
On Sun, 2009-05-31 at 23:08 +1200, David McNab wrote:
> Also, I tried the 'ceserial.py' module which has popped up on some
> discussions, but it crashes in its Serial.open() method with a most
> unhelpful exception string '50'.

More info on that:

Seems that Serial.open() gets a bad return code when it calls
windll.coredll.SetupComm() to set the buffer sizes. If I comment out the
exception, then self._configurePort crashes with the same exception.

I'm trying to open COM1: on an h4350.

Can anyone please shed some light.

Thanks
David