Re: splitting serail port
- From: nishu <nishu@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 2 Apr 2007 23:50:00 -0700
Hi,
Thanks for teh reply .
No actually i wanted some info on virtual serial port drivers.
As per you suggestion "You will be writing a serial
driver that replaces the PDD with code that accesses another serial port"you mean to say wrting a simple stream interface driver and at lower level
comminicating to the actual com port driver,but how one driver will be
communicating to other,it will be just like one application talking to a
driver or it is something different way for communication between drivers.
Thanks a lot for your great help.
"Bruce Eitman [eMVP]" wrote:
Where can you find info on writing code to meet your unique requirements?.
What you will easily find is info on serial drivers, that is covered in
Plarform Builder (both in Help and in Code.) You will be writing a serial
driver that replaces the PDD with code that accesses another serial port.
It is up to you to figure out how to mux the data.
--
Bruce Eitman (eMVP)
Senior Engineer
beitman AT applieddata DOT net
Applied Data Systems
www.applieddata.net
An ISO 9001:2000 Registered Company
Microsoft WEP Gold-level Member
"nishu" <nishu@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:617DBB80-7A72-4060-A6D1-C9E47E1068FC@xxxxxxxxxxxxxxxx
Hello,
I have one more query...
Actually i dont want to change actual serial driver code but want to
create
an other driver that can split the actual com port and create virtual com
ports?How can i do it?Can somebody tell me where i can get info on it?
Thanks a lot.
"nishu" wrote:
Hi,
thanks.
Actually there are a lot of samle codes can you please let meknow which
code
exactly you are talking about.
One more thing,you told initially about writing a virtual serial
driver,can
you give me some idea how to write it and can we acheive the same
objective
by it?
waiting for reply.
thanks a llot.
"<ctacke/>" wrote:
That's all handled by the driver. The sample serial driver from
Microsoft
(in Platform Builder) does this.
--
Chris Tacke - Embedded MVP
OpenNETCF Consulting
Managed Code in the Embedded World
www.opennetcf.com
--
"nishu" <nishu@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:47C0995E-A612-420E-B2D6-412FE5D35290@xxxxxxxxxxxxxxxx
Hi Bruce,
Thanks for your reply but i dont want all three applications to open
a
single COM port but let them open three different ports COM1,COM2 and
COM3
but actually these all will be going through a single uart interface
physically.So you mean to say that i need to build the driver againg
after
changing its open and init functions?
My other question is that how to tell the OS that actually three COM
ports
are available not one,is it making three registry entries ?
Can there be some other way of doing where i do not need to touch the
actual
COM driver?
Thanks a lot.
"Bruce Eitman [eMVP]" wrote:
As you are setting the requirements and developing the driver, you
can
have
it do anything you need it to do.
In your case you need it to allow three applications to open it, and
send/receive to one physical port.
--
Bruce Eitman (eMVP)
Senior Engineer
beitman AT applieddata DOT net
Applied Data Systems
www.applieddata.net
An ISO 9001:2000 Registered Company
Microsoft WEP Gold-level Member
"nishu" <nishu@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:B8241C0C-388D-4618-9080-0FA3DA78895F@xxxxxxxxxxxxxxxx
hi thanks for your reply.
Can you give me some more details about writing virtual serial
port
drivers?
One more thing i have read that these virtual ports are for
applications
talking to each other but i have to take the data from the actual
COM(physical connection) port and give it to three applications
simultaneously which thinks that they are talking to independent
COM
ports
and reply back simultaneously.
Please give me some more idea.
thanks .
"<ctacke/>" wrote:
Write a virtual com port driver that muxes the in/outputs.
--
Chris Tacke - Embedded MVP
OpenNETCF Consulting
Managed Code in the Embedded World
www.opennetcf.com
--
"nishu" <nishu@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:7F0663BE-4456-4D48-B547-40D8FB18383B@xxxxxxxxxxxxxxxx
Hello all,
I am wokring on wince 5.00 and i have to splitt the single com
port
into
three different com ports for three application using these com
ports
simultaneosly.
Can somebody give me some idea what should i do for this?
Thanks in advance.
Waiting for your reply eagerly.
- Follow-Ups:
- Re: splitting serail port
- From: Bruce Eitman [eMVP]
- Re: splitting serail port
- References:
- Re: splitting serail port
- From: nishu
- Re: splitting serail port
- From: nishu
- Re: splitting serail port
- From: Bruce Eitman [eMVP]
- Re: splitting serail port
- Prev by Date: Re: Installation Applications
- Next by Date: (EVC 4) How can I compile C files with embbed ARM assembly instructions?
- Previous by thread: Re: splitting serail port
- Next by thread: Re: splitting serail port
- Index(es):
Relevant Pages
|