🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #2291

Re: Slow Read From Serial Port

#2291
From: Phil
Date: Wed, 21 Mar 2007 13:28
14 lines
1686 bytes
Stephan,
> assuming you can bash bits on your embedded controller,
> one way to insure that your problem only exists with latency
> is to have the controller simply immediately return whatever
> it receives, essentially turning it into a loopback connection.
> send out a character, measure the round trip time, done.
>
I can connect directly from my PC to the controller using a serial cable, 
and a command/response takes about 10ms at 19200.  Using a modem it takes 
about 125ms.  The code is the same in both cases, which points to an issue 
with my modem connection.  I just don't know if the issue is in the phone 
system or in my  modem setup.

Phil 
Technical Details
Message-ID: <460132f4@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!wns13feed!worldnet.att.net!64.192.187.27!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <46002b03$1@newsgroups.borland.com> <4600f62f$1@newsgroups.borland.com> <4601263e$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,d1cd2b38aa5bb326
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Phil" <phil@camusinc.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <46002b03$1@newsgroups.borland.com> <4600f62f$1@newsgroups.borland.com> <4601263e$1@newsgroups.borland.com>
Subject: Re: Slow Read From Serial Port
Date: Wed, 21 Mar 2007 09:28:13 -0400
Lines: 16
Organization: Camus
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3028
X-RFC2646: Format=Flowed; Response
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028
NNTP-Posting-Host: 216.54.107.58
Message-ID: <460132f4@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1174483700 216.54.107.58 (21 Mar 2007 06:28:20 -0800)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!wns13feed!worldnet.att.net!64.192.187.27!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail