How to create a virtual serial port?

Banibrata Dutta banibrata.dutta at gmail.com
Sat Apr 11 05:04:02 CEST 2009


On Sat, Apr 11, 2009 at 3:17 AM, Stuart Davenport <
stuart.davenport at gmail.com> wrote:

> I'm on a OS X, python 2.5. Basically I will have a remote application
> pushing data (GPS) over the network to a python application I have
> running on my Mac, I want this python application to again push the
> data on to a "virtual serial port". Then the GPS program I have
> running on my MAC, RouteBuddy, can read the data from that serial port
> as standard.


Python app reads data "off" the network (s.a. TCP/IP maybe), and then pushes
the data onto a serial-port ? And since you don't have the real device
(using the serial-port), you want to create a virtual serial-port ? Is that
the intent ? Or, is it something like this that you are trying to do --
http://www.anzio.com/products/virtport.htm ? Or something like this --
http://www.softizer.com/show_product/software_development/components_libraries/virtual_serial_ports_driver_xp/


> The only part I am concerned about here though, is if I can create a
> serial port virtually and push data out of it?
>

I'd guess this capability to require creating a "kext" (kernel extension /
driver) on OS/X, and feel that this is not possible in user-land, and thus
not a Python domain problem.

-- 
regards,
Banibrata
http://www.linkedin.com/in/bdutta
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20090411/916ab690/attachment.html>


More information about the Python-list mailing list