[PythonCE] How do you develop on the PocketPC?
Luke Dunstan
coder_infidel at hotmail.com
Mon Jan 9 17:00:16 CET 2006
----- Original Message -----
From: "Thomas Heller" <theller at python.net>
To: <pythonce at python.org>
Sent: Monday, January 09, 2006 10:42 PM
Subject: Re: [PythonCE] How do you develop on the PocketPC?
> "Luke Dunstan" <coder_infidel at hotmail.com> writes:
>
>> I'm sorry to say that I've seen the NULL bug before but have been too
>> distracted by the task at hand to fix it, but here is a patch that
>> fixes it.
>>
>> By the way, I've recently tried running the remote part of "winpdb"
>> (http://www.digitalpeers.com/pythondebugger/) on Windows CE and
>> connecting to it over TCP/IP from the GUI running on the PC, and after
>> a trivial change (to handle a lack of PATH environment variable) it
>> worked fine. Personally I would rather have the ability to communicate
>> to the remote debugger using ActiveSync rather than only TCP/IP
>> because it is more convenient especially since I only have Bluetooth
>> not WiFi, so I have been investigating using the Remote API (RAPI).
>
> In case you are talking about the scripts I posted: Although the client
> and server connect via TCP/IP, the only connection between the pockect
> PC and the desktop computer I have is the cradle with an USB cable, plus
> activesync (3.8, IIRC) running. It seems activesync emulates internet
> connection on the pocket pc.
>
> Thomas
I have noticed that IE works on the PDA when cradled, but I know that
ActiveSync is not providing a real network adapter on the PC side because an
extra IP does not appear in the output of 'ipconfig'. This prevents running
TCP listen servers on the PDA but it is true that your method works nicely
in this case. As a demonstration of how we could make it even more
convenient, I have modified it slightly so that the server starts the client
script on the PDA remotely, using RAPI via ctypes. I have put the
experimental RAPI interfacing code in a separate module "wincerapi".
We should probably consider putting all these scripts in CVS somewhere.
Luke
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: pyceserver.py
Url: http://mail.python.org/pipermail/pythonce/attachments/20060110/157f8c1f/attachment-0001.asc
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: wincerapi.py
Url: http://mail.python.org/pipermail/pythonce/attachments/20060110/157f8c1f/attachment-0001.pot
More information about the PythonCE
mailing list