[PythonCE] serial port access

2006-06-20 Thread Benjamin McBride
Hi All, I need to access the serial port for my PPC application. I have been unable to locate information on this. I'm using Python 2.4.3 and PPC 2003. Previously I've used pyserial, but it appears that pyserial does not work on Windows CE. Thanks for any suggesti

Re: [PythonCE] serial port access

2006-06-20 Thread Benjamin McBride
eserialcomm.asp > > Regards, > Gonzalo > > > Benjamin McBride escribió: > > > Hi All, > > > > I need to access the serial port for my PPC application. I have been > > unable to locate information on this. I'm using Python 2.4.3 and PPC > >

Re: [PythonCE] serial port access

2006-06-20 Thread Benjamin McBride
gt; library wich should use windows api's for windows platform. > > I have to code serial access too in the next weeks, but don't have the > time now to get my hands in it. If you are not in hurry I could post an > example when done. > > Gonzalo. > > > Benjamin

Re: [PythonCE] serial port access

2006-06-23 Thread Benjamin McBride
AIL PROTECTED]> wrote: > > You need to use the wide-character variants of Windows APIs, i.e. > CreateFileW > > Luke > > - Original Message - > From: "Benjamin McBride" <[EMAIL PROTECTED]> > To: > Sent: Wednesday, June 21, 2006 4:54 AM > Subject:

Re: [PythonCE] serial port access

2006-09-22 Thread Benjamin McBride
I did get things mostly working. I've attached what I have done. I had problems with losing data at higher baud rates, so I buffered data in read(). If this is not the desired behavior it is easy to change (just look in the source). You also need ctypes installed. Good Luck, Ben #some minor m