Re: Problem communication with Serial Port
- From: "David Liao \(MS\)" <davli@xxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 18 Jan 2006 12:17:39 -0800
Did this application use SetupComm.
It used to be return TRUE even the serial driver does not change the Input
Buffer Size at all. In Windows CE 5.0, it will return false to make this API
compatible with Desktop Win32 API.
David Liao
"Bryan Gan" <BryanGan@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:5DEFA4FF-0532-49B1-A266-89EBEAE3D381@xxxxxxxxxxxxxxxx
> Hi all,I am running the OpenNETCF.Serial.IO library under WinCE 5.0
> device. I
> am able to connect to my embedded modem (COM4) successfully via
> Hyperterminal
> and successfully issue AT command in hyperterminal.
> However, when I try to run on the sample app built by me , which is using
> the mentioned library, whenever I try to issue an AT command, I will
> receive
> Framing error. Anybody can help me solve this?
> Here is the port settings:
>
> Port Name: COM4:
> BaudRate: 115200
> Byte Size: 8
> Parity: None
> StopBits: One
>
> The application works fine in another WinCE device(WinCE 4.2) which have
> the
> following configuration:
>
> Port Name: COM3:
> BaudRate: 9600
> Byte Size: 8
> Parity: None
> StopBits: One
>
> I also downloaded the sample app from
> http://msdn.microsoft.com/mobility/default.aspx?pull=/library/en-us/dnnetcomp/html/PISAPICF.asp
> and try to run it on Win5.0 device, also fail (but pass on WinCE 4.2
> device).Any Clue?
.
- Prev by Date: Re: ISR input buffering - Anyone done it?
- Next by Date: Re: ISR input buffering - Anyone done it?
- Previous by thread: Re: master key protection in LASS, LAPs
- Next by thread: Re: Problem communication with Serial Port
- Index(es):
Relevant Pages
|