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
Hi Benjamin,
You can use ctypes for direct access to serial ports via windows apis
(openfile, readfile, writefile...)
Note that manufacturers can have specific implementations, even they
must agree to PPC implementation, but you can found small differences.
http://www.codeproject.com/system/si
I've got ctypes installed. However, I have not been able to find any
examples of how I might use ctypes for serial port access. Any
suggestions would be appreciated.
Thanks,
Ben
On 6/20/06, Gonzalo Monzón <[EMAIL PROTECTED]> wrote:
> Hi Benjamin,
>
> You can use ctypes for direct access to ser
Have you read the ctypes docs?
http://starship.python.net/crew/theller/ctypes/tutorial.html
You have to read the Microsoft docs too, search what dynamic libraries
to use and what functions to call. Study the example I posted, you have
to call these functions using ctypes:
(openfile, readfile,
Thanks Gonzalo for your help. I have read both the ctypes and
microsoft documentation. My understanding is that I need to use the
CreateFile API function from the coredll to get a handle to the comm
port. When I use ctypes:
>>> windll.coredll.CreateFile
I get an AttributeError saying the Creat