Tracker: Feature Requests

5 access to serial port - ID: 1280917
Last Update: Comment added ( infidel )

It would be interesting to add a serial port interface
capability to the release. The oportunities for
embedded systems are huge, once python is running in a
platform that weights scarcely hundred grams

Supose you have just built an electronic gadget an want
to control or extract data form it. Instead of
painfully selecting and programming a microprocessor,
just place your pocket pc inside and program everything
with python.


Angel Perea Martinez ( angelpeream ) - 2005-09-02 12:06:13 PDT

5

Open

None

Nobody/Anonymous

Interface Improvements (example)

None

Public


Comments ( 6 )




Date: 2007-10-03 06:40:33 PDT
Sender: infidelSourceForge.net SubscriberProject Admin


Like I said, use ctypes and the Windows serial port APIs. Try searching the
pythonce mailing list archives; I think there may be some examples.



Date: 2007-10-02 13:23:29 PDT
Sender: nobody

Logged In: NO

How does one access the serial port with python on windows ce? This would
be extremely useful and a dealbreaker in a device my company is
manufacturing.


Date: 2007-10-02 13:23:27 PDT
Sender: nobody

Logged In: NO

How does one access the serial port with python on windows ce? This would
be extremely useful and a dealbreaker in a device my company is
manufacturing.


Date: 2007-10-02 13:23:16 PDT
Sender: nobody

Logged In: NO

How does one access the serial port with python on windows ce? This would
be extremely useful and a dealbreaker in a device my company is
manufacturing.


Date: 2006-04-08 09:35:21 PDT
Sender: infidelSourceForge.net SubscriberProject Admin

Logged In: YES
user_id=30442

Instead of porting those modules I would recommend using
ctypes to access the Windows serial APIs directly. The
same should be possible for Bluetooth and other protocols.



Date: 2006-01-06 03:48:02 PST
Sender: orionrobots

Logged In: YES
user_id=748225

Access to the IR port, or the Bluetooth stack would be just
as desirable. For example linking a PDA with the RCX or the NXT.

Porting PySerial and PyParallel modules would help - but I
am not sure about IR (IrDA or Consumer IR for PDAs that can
manage it), or BlueTooth.


Log in to comment.




Attached File

No Files Currently Attached

Change

No changes have been made to this artifact.