BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

PLEASE EXPLAIN ACK/ENQ PROTOCOL

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Language C++)
View previous topic :: View next topic  
Author Message
Remy Lebeau (TeamB)
Guest





PostPosted: Mon Jun 06, 2005 8:07 pm    Post subject: Re: PLEASE EXPLAIN ACK/ENQ PROTOCOL Reply with quote




"N. Karademir" <n.karademir (AT) smart-software (DOT) org> wrote


Quote:
can someone give me some info about ack/enq protocol?

This is not a language issue. This group is for discussions related to
Borland's implementation of the C++ language itself. Please direct your
question to a more uitable group, such as the .nativeapi group which is for
Win32 API discussions.


Gambit



Back to top
Bob Gonder
Guest





PostPosted: Mon Jun 06, 2005 8:27 pm    Post subject: Re: PLEASE EXPLAIN ACK/ENQ PROTOCOL Reply with quote



N. Karademir wrote:

Quote:
can someone give me some info about ack/enq protocol?

This is the wrong group as RS232 has nothing to do with C or C++.
Perhaps cppbuilder.internet, or more likely, the .nativeapi group
would be better suited.
Maybe even de.comm.protocols.misc or one of the
comp.protocols.whatever

Quote:
i f i am right, the rs232 device sends me ENQ, then i send ACK back, then it
sends data, finally i'll sent ACK.?

I think that is backwards (been 20 years since I learned or use that)
My recall is that the receiver (Mainframe) is asking the sender
(Terminal) if it has any data (Enquire or ENQ), and the sender is
responding ACK (yes) or NAK (no). This is used in a polling
environment where the server has to keep tabs on many terminals, and
can only talk to one of them at a time.

Quote:
How do i send ACK?
is this just the letters "ACK" ?
or is it a dec / hex value i have to send?

Same as ENQ, it is a single char
According to an old SDA II manual:
ENQ 0x05
ACK 0x06
NAK 0x15

I seem to recall seeing a frame structure around them too, but don't
recall any specifics.

Your best bet would be to find out the official name for your
protocol, and search for that.



Back to top
N. Karademir
Guest





PostPosted: Mon Jun 06, 2005 9:34 pm    Post subject: PLEASE EXPLAIN ACK/ENQ PROTOCOL Reply with quote



Hello,

can someone give me some info about ack/enq protocol?

i f i am right, the rs232 device sends me ENQ, then i send ACK back, then it
sends data, finally i'll sent ACK.?

How do i send ACK?

is this just the letters "ACK" ?
or is it a dec / hex value i have to send?



thanks


N. Karademir



Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Language C++) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.