🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Serial Port general reading/writing questions

#6995
From: Bob Gonder
Date: Tue, 22 Mar 2005 00:24
12 lines
1379 bytes
Bob Gonder wrote:

>>3) When writing data (WriteFile) to COM port, how the device
>>knows that is has received the whole package of data (one item
>>'AT command' from stringlist), and what is the second, etc?
>>Maybe the '\0' is the terminator?
>
>All AT commands are terminated with a carrage return ( '\n' ).
>	"ATs0=1\n"

Of course, I meant to say '\r'
	"ATs0=1\r"
Technical Details
Message-ID: <r8pu311a1jsb74t9srl18j0uvqrigu4ac5@4ax.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <423ed88d@newsgroups.borland.com> <47fu31dkadum3itjg5a89fanbcukk1v3os@4ax.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,b842bafb98039a75
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: Bob Gonder <notbg@notmindspring.invalid>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: Serial Port general reading/writing questions 
Date: Mon, 21 Mar 2005 16:24:55 -0800
Organization: MindSpring Enterprises, Inc.
Reply-To: notbg@notmindspring.invalid
Message-ID: <r8pu311a1jsb74t9srl18j0uvqrigu4ac5@4ax.com>
References: <423ed88d@newsgroups.borland.com> <47fu31dkadum3itjg5a89fanbcukk1v3os@4ax.com>
X-Newsreader: Forte Agent 1.93/32.576 English (American)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 67.77.147.145
X-Trace: newsgroups.borland.com 1111451090 67.77.147.145 (21 Mar 2005 16:24:50 -0800)
Lines: 14
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail