Re: re-direct a com port

From: Yannick Chamming's [eMVP] (ychammings_nospam_at_adeset.com)
Date: 10/07/04


Date: Thu, 7 Oct 2004 08:11:27 +0200

you can create a stream driver which will be using the "COM" prefix, and
have the read, write, and Iocontrol functions implemented to redirect
streams to files.
You should look at the mdd of the serial driver (included in source code in
PB) to check that you are implementing all the entry points (standard stream
interfaces + all custom Iocontrol) of a serial driver, if you want to be
sure that all serial API calls are correctly handled by your virtual driver.

--
----------------------------------------------------------------
Yannick Chamming's (eMVP)
ADESET
Windows Embedded Manager
ychammings AT adeset DOT com>
http://www.adeset.com
Tél  : +33 (0)4.72.18.57.77
Fax : +33 (0)4.72.18.57.78
----------------------------------------------------------------
"Miky" <mvaccaro@viasatonline.it> wrote in message
news:#LEHp1rqEHA.1988@TK2MSFTNGP09.phx.gbl...
> I want to re-direct a com port to a file for reading data.
> I don't have the source code of the program that read the serial port,
then
> I should create a virtual serial port.
>
> Is it possible under windows ce 3.0????
>
> Thank......
>
> Miky
>
>


Relevant Pages

  • [PATCH] zs: Move to the serial subsystem
    ... This is a reimplementation of the zs driver for the serial subsystem. ... to use a console on a serial port, say Y. Otherwise, say N. ... * This is the Z85C30 driver's generic interrupt routine. ...
    (Linux-Kernel)
  • Re: Accessing peripherals from a managed application
    ... There's a driver for, ... I did find that System.IO.Port has the functionalities of a serial port ... Paul G. Tobey wrote: ... Call on the imported functions to access the hardware. ...
    (microsoft.public.windowsce.app.development)
  • RE: Device driver load/unload notifications
    ... notification for every StreamDevice driver which is in the system. ... you'll get only the notification for your special device. ... if you use your own guid or the DEVCLASS_STREAM_GUID. ... When stream driver A is being loaded and unloaded, ...
    (microsoft.public.windowsce.platbuilder)
  • RE: Device driver load/unload notifications
    ... notification for every StreamDevice driver which is in the system. ... you'll get only the notification for your special device. ... if you use your own guid or the DEVCLASS_STREAM_GUID. ... When stream driver A is being loaded and unloaded, ...
    (microsoft.public.windowsce.platbuilder)
  • Re: OutputDebugString on Release build?
    ... I now see plenty of debug on the serial port ... is being used and then disables the serial driver. ... It sounds like serial debug on Release builds should work. ...
    (microsoft.public.windowsce.platbuilder)