Article View: borland.public.cppbuilder.nativeapi
Article #12244Baud Rate Detection
From: Stu
Date: Wed, 17 Dec 2003 09:38
Date: Wed, 17 Dec 2003 09:38
12 lines
1146 bytes
1146 bytes
Hi All, Is there any way to detect the baud rate of a device connected to the serial port? I can't use direct hardware access in assembler because the program has to run on NT. I am trying to automatically detect and setup a barcode printer. I can detect devices using GetCommModemStatus and looking for the CTS flag. Thanks Stu
Technical Details
Message-ID:
<7df958ac.0312170138.1fdb3879@posting.google.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!postnews1.google.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,e21008a52e5272c9,start X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-12-17 01:38:39 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!postnews1.google.com!not-for-mail From: stuart@dkelly1.demon.co.uk (Stu) Newsgroups: borland.public.cppbuilder.nativeapi Subject: Baud Rate Detection Date: 17 Dec 2003 01:38:39 -0800 Organization: http://groups.google.com Lines: 12 Message-ID: <7df958ac.0312170138.1fdb3879@posting.google.com> NNTP-Posting-Host: 217.45.200.81 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1071653919 7959 127.0.0.1 (17 Dec 2003 09:38:39 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 17 Dec 2003 09:38:39 +0000 (UTC)